1. 17 4月, 2008 1 次提交
  2. 01 4月, 2008 1 次提交
  3. 28 1月, 2008 3 次提交
  4. 14 12月, 2007 2 次提交
  5. 05 10月, 2007 1 次提交
    • S
      [POWERPC] cpm: Describe multi-user ram in its own device node. · 15f8c604
      Scott Wood 提交于
      The way the current CPM binding describes available multi-user (a.k.a.
      dual-ported) RAM doesn't work well when there are multiple free regions,
      and it doesn't work at all if the region doesn't begin at the start of
      the muram area (as the hardware needs to be programmed with offsets into
      this area).  The latter situation can happen with SMC UARTs on CPM2, as its
      parameter RAM is relocatable, u-boot puts it at zero, and the kernel doesn't
      support moving it.
      
      It is now described with a muram node, similar to QE.  The current CPM
      binding is sufficiently recent (i.e. never appeared in an official release)
      that compatibility with existing device trees is not an issue.
      
      The code supporting the new binding is shared between cpm1 and cpm2, rather
      than remain separated.  QE should be able to use this code as well, once
      minor fixes are made to its device trees.
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      15f8c604
  6. 04 10月, 2007 2 次提交
    • S
      [POWERPC] 8xx: Add pin and clock setting functions. · 663edbd2
      Scott Wood 提交于
      These let board code set up pins and clocks without having to
      put magic numbers directly into the registers.
      
      The clock function is mostly duplicated from the cpm2 version;
      hopefully this stuff can be merged at some point.
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      663edbd2
    • S
      [POWERPC] 8xx: Infrastructure code cleanup. · fb533d0c
      Scott Wood 提交于
      1. Keep a global mpc8xx_immr mapping, rather than constantly
      creating temporary mappings.
      2. Look for new fsl,cpm1 and fsl,cpm1-pic names.
      3. Always reset the CPM when not using the udbg console;
      this is required in case the firmware initialized a device
      that is incompatible with one that the kernel is about to
      use.
      4. Remove some superfluous casts and header includes.
      5. Change a usage of IMAP_ADDR to get_immrbase().
      6. Use phys_addr_t, not uint, for dpram_pbase.
      7. Various sparse-related fixes, such as __iomem annotations.
      8. Remove mpc8xx_show_cpuinfo, which doesn't provide anything
      useful beyond the generic cpuinfo handler.
      9. Move prototypes for 8xx support functions from board files
      to sysdev/commproc.h.
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      fb533d0c
  7. 28 9月, 2007 1 次提交
    • J
      [POWERPC] Fix copy'n'paste typo in commproc.c · 83af919e
      Jochen Friedrich 提交于
      The powerpc version of commproc.c exports cpm_dpram_addr twice
      and cpm_dpram_phys not at all due to a typo. This patch fixes this
      problem.
      
      CC      arch/powerpc/sysdev/commproc.o
      arch/powerpc/sysdev/commproc.c:398: error: redefinition of '__kcrctab_cpm_dpram_addr'
      arch/powerpc/sysdev/commproc.c:392: error: previous definition of '__kcrctab_cpm_dpram_addr' was here
      arch/powerpc/sysdev/commproc.c:398: error: redefinition of '__kstrtab_cpm_dpram_addr'
      arch/powerpc/sysdev/commproc.c:392: error: previous definition of '__kstrtab_cpm_dpram_addr' was here
      arch/powerpc/sysdev/commproc.c:398: error: redefinition of '__ksymtab_cpm_dpram_addr'
      arch/powerpc/sysdev/commproc.c:392: error: previous definition of '__ksymtab_cpm_dpram_addr' was here
      make[1]: *** [arch/powerpc/sysdev/commproc.o] Error 1
      make: *** [arch/powerpc/sysdev] Error 2
      Signed-off-by: NJochen Friedrich <jochen@scram.de>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      83af919e
  8. 26 9月, 2007 1 次提交
    • J
      [POWERPC] Fix copy'n'paste typo in commproc.c · c5552ca4
      Jochen Friedrich 提交于
      The powerpc version of commproc.c exports cpm_dpram_addr twice
      and cpm_dpram_phys not at all due to a typo. This patch fixes this
      problem.
      
      CC      arch/powerpc/sysdev/commproc.o
      arch/powerpc/sysdev/commproc.c:398: error: redefinition of '__kcrctab_cpm_dpram_addr'
      arch/powerpc/sysdev/commproc.c:392: error: previous definition of '__kcrctab_cpm_dpram_addr' was here
      arch/powerpc/sysdev/commproc.c:398: error: redefinition of '__kstrtab_cpm_dpram_addr'
      arch/powerpc/sysdev/commproc.c:392: error: previous definition of '__kstrtab_cpm_dpram_addr' was here
      arch/powerpc/sysdev/commproc.c:398: error: redefinition of '__ksymtab_cpm_dpram_addr'
      arch/powerpc/sysdev/commproc.c:392: error: previous definition of '__ksymtab_cpm_dpram_addr' was here
      make[1]: *** [arch/powerpc/sysdev/commproc.o] Error 1
      make: *** [arch/powerpc/sysdev] Error 2
      Signed-off-by: NJochen Friedrich <jochen@scram.de>
      c5552ca4
  9. 13 9月, 2007 2 次提交
  10. 22 8月, 2007 1 次提交
  11. 10 5月, 2007 1 次提交
    • T
      [POWERPC] Change rheap functions to use ulongs instead of pointers · 4c35630c
      Timur Tabi 提交于
      The rheap allocation functions return a pointer, but the actual value is based
      on how the heap was initialized, and so it can be anything, e.g. an offset
      into a buffer.  A ulong is a better representation of the value returned by
      the allocation functions.
      
      This patch changes all of the relevant rheap functions to use a unsigned long
      integers instead of a pointer.  In case of an error, the value returned is
      a negative error code that has been cast to an unsigned long.  The caller can
      use the IS_ERR_VALUE() macro to check for this.
      
      All code which calls the rheap functions is updated accordingly.  Macros
      IS_MURAM_ERR() and IS_DPERR(), have been deleted in favor of IS_ERR_VALUE().
      
      Also added error checking to rh_attach_region().
      Signed-off-by: NTimur Tabi <timur@freescale.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      4c35630c
  12. 07 2月, 2007 1 次提交
  13. 10 10月, 2006 1 次提交
  14. 30 6月, 2006 1 次提交
    • I
      [PATCH] genirq: rename desc->handler to desc->chip · d1bef4ed
      Ingo Molnar 提交于
      This patch-queue improves the generic IRQ layer to be truly generic, by adding
      various abstractions and features to it, without impacting existing
      functionality.
      
      While the queue can be best described as "fix and improve everything in the
      generic IRQ layer that we could think of", and thus it consists of many
      smaller features and lots of cleanups, the one feature that stands out most is
      the new 'irq chip' abstraction.
      
      The irq-chip abstraction is about describing and coding and IRQ controller
      driver by mapping its raw hardware capabilities [and quirks, if needed] in a
      straightforward way, without having to think about "IRQ flow"
      (level/edge/etc.) type of details.
      
      This stands in contrast with the current 'irq-type' model of genirq
      architectures, which 'mixes' raw hardware capabilities with 'flow' details.
      The patchset supports both types of irq controller designs at once, and
      converts i386 and x86_64 to the new irq-chip design.
      
      As a bonus side-effect of the irq-chip approach, chained interrupt controllers
      (master/slave PIC constructs, etc.) are now supported by design as well.
      
      The end result of this patchset intends to be simpler architecture-level code
      and more consolidation between architectures.
      
      We reused many bits of code and many concepts from Russell King's ARM IRQ
      layer, the merging of which was one of the motivations for this patchset.
      
      This patch:
      
      rename desc->handler to desc->chip.
      
      Originally i did not want to do this, because it's a big patch.  But having
      both "desc->handler", "desc->handle_irq" and "action->handler" caused a
      large degree of confusion and made the code appear alot less clean than it
      truly is.
      
      I have also attempted a dual approach as well by introducing a
      desc->chip alias - but that just wasnt robust enough and broke
      frequently.
      
      So lets get over with this quickly.  The conversion was done automatically
      via scripts and converts all the code in the kernel.
      
      This renaming patch is the first one amongst the patches, so that the
      remaining patches can stay flexible and can be merged and split up
      without having some big monolithic patch act as a merge barrier.
      
      [akpm@osdl.org: build fix]
      [akpm@osdl.org: another build fix]
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      d1bef4ed
  15. 20 1月, 2006 1 次提交
  16. 03 11月, 2005 1 次提交
  17. 29 10月, 2005 1 次提交
  18. 08 8月, 2005 2 次提交
  19. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4