1. 20 7月, 2007 5 次提交
  2. 10 7月, 2007 2 次提交
  3. 25 6月, 2007 1 次提交
  4. 02 5月, 2007 2 次提交
  5. 24 4月, 2007 6 次提交
  6. 13 4月, 2007 5 次提交
  7. 16 3月, 2007 1 次提交
    • D
      [POWERPC] Update documentation for flat device tree format v17 · 0e0293c8
      David Gibson 提交于
      This patch updates booting-without-of.txt to describe version 17 of
      the flattened device tree format.  Version 17 is a small, backwards
      compatible change from version 16, adding an extra field giving the
      size of the device tree's structure block.  At this time, the kernel
      has no use for the extra information, however its presence can make
      life easier for bootloaders or other software manipulating the tree.
      
      In addition this patch adds information on the size_dt_strings field
      of the device tree header, present since version 3 of the flattened
      tree format, but omitted from the documentation.  It also makes
      changes to consistently refer to versions 16 and 17 as versions 16 and
      17 in decimal, rather than version 0x10 which was occasionally used
      for version 16 previously.
      
      Finally, we also add the new field to the definition of the device
      tree header structure in prom.h
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Acked-by: NJon Loeliger <jdl@freescale.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      0e0293c8
  8. 08 3月, 2007 1 次提交
    • A
      [POWERPC] Fix compile error in prom.h · 99ddef9b
      Andrew Morton 提交于
      In file included from include/asm/pci.h:20,
                       from include/linux/pci.h:751,
                       from arch/powerpc/sysdev/dart_iommu.c:36:
      include/asm/prom.h: In function `of_irq_to_resource':
      include/asm/prom.h:341: warning: implicit declaration of function `irq_of_parse_and_map'
      include/asm/prom.h:345: error: `NO_IRQ' undeclared (first use in this function)
      include/asm/prom.h:345: error: (Each undeclared identifier is reported only once
      include/asm/prom.h:345: error: for each function it appears in.)
      
      Seems that prom.h has always wanted irq.h.
      
      Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      99ddef9b
  9. 17 2月, 2007 1 次提交
  10. 13 11月, 2006 2 次提交
  11. 25 10月, 2006 1 次提交
  12. 20 9月, 2006 1 次提交
    • P
      [POWERPC] Define of_read_ulong helper · a4dc7ff0
      Paul Mackerras 提交于
      There are various places where we want to extract an unsigned long
      value from a device-tree property that can be 1 or 2 cells in length.
      This replaces some open-coded calculations, and one place where we
      assumed without checking that properties were the length we wanted,
      with a little of_read_ulong() helper.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      a4dc7ff0
  13. 30 8月, 2006 1 次提交
  14. 08 8月, 2006 1 次提交
  15. 31 7月, 2006 2 次提交
  16. 07 7月, 2006 1 次提交
  17. 03 7月, 2006 3 次提交
    • B
      [POWERPC] Add new interrupt mapping core and change platforms to use it · 0ebfff14
      Benjamin Herrenschmidt 提交于
      This adds the new irq remapper core and removes the old one.  Because
      there are some fundamental conflicts with the old code, like the value
      of NO_IRQ which I'm now setting to 0 (as per discussions with Linus),
      etc..., this commit also changes the relevant platform and driver code
      over to use the new remapper (so as not to cause difficulties later
      in bisecting).
      
      This patch removes the old pre-parsing of the open firmware interrupt
      tree along with all the bogus assumptions it made to try to renumber
      interrupts according to the platform. This is all to be handled by the
      new code now.
      
      For the pSeries XICS interrupt controller, a single remapper host is
      created for the whole machine regardless of how many interrupt
      presentation and source controllers are found, and it's set to match
      any device node that isn't a 8259.  That works fine on pSeries and
      avoids having to deal with some of the complexities of split source
      controllers vs. presentation controllers in the pSeries device trees.
      
      The powerpc i8259 PIC driver now always requests the legacy interrupt
      range. It also has the feature of being able to match any device node
      (including NULL) if passed no device node as an input. That will help
      porting over platforms with broken device-trees like Pegasos who don't
      have a proper interrupt tree.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      0ebfff14
    • B
      [POWERPC] New device-tree interrupt parsing code · cc9fd71c
      Benjamin Herrenschmidt 提交于
      Adds new routines to prom_parse to walk the device-tree for interrupt
      information. This includes both direct mapping of interrupts and low
      level parsing functions for use with partial trees.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      cc9fd71c
    • J
      [POWERPC] change get_property to return void * · a1af5b2f
      Jeremy Kerr 提交于
      Change the get_property() function to return a void *. This allows us
      to later remove the cast done in the majority of callers.
      
      Built for pseries, iseries, pmac32, cell, cbesim, g5, systemsim, maple,
      and mpc* defconfigs
      Signed-off-by: NJeremy Kerr <jk@ozlabs.org>
      Acked-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      a1af5b2f
  18. 21 6月, 2006 1 次提交
    • B
      [POWERPC] cell: add RAS support · acf7d768
      Benjamin Herrenschmidt 提交于
      This is a first version of support for the Cell BE "Reliability,
      Availability and Serviceability" features.
      
      It doesn't yet handle some of the RAS interrupts (the ones described in
      iic_is/iic_irr), I'm still working on a proper way to expose these. They
      are essentially a cascaded controller by themselves (sic !) though I may
      just handle them locally to the iic driver. I need also to sync with
      David Erb on the way he hooked in the performance monitor interrupt.
      
      So that's all for 2.6.17 and I'll do more work on that with my rework of
      the powerpc interrupt layer that I'm hacking on at the moment.
      Signed-off-by: NArnd Bergmann <arnd.bergmann@de.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      acf7d768
  19. 19 5月, 2006 1 次提交
  20. 26 4月, 2006 1 次提交
  21. 28 3月, 2006 1 次提交