1. 09 1月, 2006 1 次提交
  2. 14 11月, 2005 1 次提交
  3. 10 11月, 2005 4 次提交
  4. 08 11月, 2005 1 次提交
  5. 07 11月, 2005 1 次提交
    • B
      [PATCH] ppc64: support 64k pages · 3c726f8d
      Benjamin Herrenschmidt 提交于
      Adds a new CONFIG_PPC_64K_PAGES which, when enabled, changes the kernel
      base page size to 64K.  The resulting kernel still boots on any
      hardware.  On current machines with 4K pages support only, the kernel
      will maintain 16 "subpages" for each 64K page transparently.
      
      Note that while real 64K capable HW has been tested, the current patch
      will not enable it yet as such hardware is not released yet, and I'm
      still verifying with the firmware architects the proper to get the
      information from the newer hypervisors.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      3c726f8d
  6. 03 11月, 2005 1 次提交
  7. 31 10月, 2005 1 次提交
  8. 27 10月, 2005 1 次提交
  9. 26 10月, 2005 3 次提交
    • P
      powerpc: Fix interrupt-tree parsing · 6d0124fc
      Paul Mackerras 提交于
      The interrupt-tree parsing code wasn't offsetting interrupt numbers
      by 16 on 32-bit platforms with an i8259 interrupt controller, and
      it was confused about the encoding of interrupt sense and level
      (which is different for i8259 and openpic interrupt controllers,
      just to make things interesting).
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      6d0124fc
    • P
      powerpc: Merge rtas.c into arch/powerpc/kernel · 033ef338
      Paul Mackerras 提交于
      This splits arch/ppc64/kernel/rtas.c into arch/powerpc/kernel/rtas.c,
      which contains generic RTAS functions useful on any CHRP platform,
      and arch/powerpc/platforms/pseries/rtas-fw.[ch], which contain
      some pSeries-specific firmware flashing bits.  The parts of rtas.c
      that are to do with pSeries-specific error logging are protected
      by a new CONFIG_RTAS_ERROR_LOGGING symbol.  The inclusion of rtas.o
      is controlled by the CONFIG_PPC_RTAS symbol, and the relevant
      platforms select that.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      033ef338
    • K
      [PATCH] powerpc: some prom.c cleanups · 60dda256
      Kumar Gala 提交于
      On !CONFIG_PPC_MULTIPLATFORM _machine is defined as 0.  This is ok, but
      we can't assign a value to _machine then.
      
      We may not have CONFIG_PCI available, so only build in support for
      find_parent_pci_resource(), request_OF_resource(), release_OF_resource()
      if PCI is enabled.  This is probably not the long term fix but works out
      for now.
      
      Make reg_property64 contain 64-bit elements on a 32-bit machine.
      
      Mark the deprecated prom.c functions as __deprecated.
      Signed-off-by: NKumar K. Gala <kumar.gala@freescale.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      60dda256
  10. 23 10月, 2005 1 次提交
    • P
      powerpc: Run on old powermacs. · a575b807
      Paul Mackerras 提交于
      Old powermacs have a number of differences from current machines:
      - there is no interrupt tree in the device tree, just interrupt
        or AAPL,interrupt properties
      - the chosen node in the device tree is called /chosen@0
      - the OF claim method doesn't map the memory, so we have to do
        an explicit map call as well
      - there is no /chosen/cpu property on SMP machines
      - the NVRAM isn't structured as a set of partitions.
      
      This adapts the merged powermac support code to cope with these
      issues.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      a575b807
  11. 12 10月, 2005 1 次提交
  12. 10 10月, 2005 1 次提交
  13. 06 10月, 2005 1 次提交
    • P
      powerpc: Merge in the ppc64 version of the prom code. · 9b6b563c
      Paul Mackerras 提交于
      This brings in the ppc64 version of prom_init.c, prom.c and btext.c
      and makes them work for ppc32.  This also brings in the new calling
      convention, where the first entry to the kernel (with r5 != 0) goes
      to the prom_init code, which then restarts from the beginning (with
      r5 == 0) after it has done its stuff.
      
      For now this also brings in the ppc32 version of setup.c.  It also
      merges lmb.h.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      9b6b563c
  14. 09 9月, 2005 1 次提交
    • P
      [PATCH] Separate pci bits out of struct device_node · 1635317f
      Paul Mackerras 提交于
      This patch pulls the PCI-related junk out of struct device_node and
      puts it in a separate structure, struct pci_dn.  The device_node now
      just has a void * pointer in it, which points to a struct pci_dn for
      nodes that represent PCI devices.  It could potentially be used in
      future for device-specific data for other sorts of devices, such as
      virtual I/O devices.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      1635317f
  15. 06 9月, 2005 1 次提交
  16. 29 8月, 2005 3 次提交
  17. 02 8月, 2005 1 次提交
  18. 22 6月, 2005 1 次提交
  19. 06 5月, 2005 1 次提交
    • P
      [PATCH] ppc64: fix prom.c compile warning · 3892c5fa
      Paul Mackerras 提交于
      The code in unflatten_device_tree knows that get_property is written to
      only return with lenp equal to 1 when also returning a valid pointer.
      The gcc 3.3.3 compiler is not able to prove this to itself, so it warns
      about a possible uninitialized pointer dereference:
      
       .../arch/ppc64/kernel/prom.c: In function `unflatten_device_tree':
       .../arch/ppc64/kernel/prom.c:828:
       warning: `p' might be used uninitialized in this function
      
      Unless it is desired to rework the interaction between the two
      functions, this will keep the existing behavior but quiet the compiler.
      Signed-off-by: NAmos Waterland <apw@us.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      3892c5fa
  20. 01 5月, 2005 1 次提交
    • P
      [PATCH] ppc64: Fix irq parsing on powermac · dc3ec750
      Paul Mackerras 提交于
      When I tried Ben's patches to the powermac sound driver on my G5, I found
      that it was taking enormous numbers of sound DMA transmit interrupts.  This
      turned out to be because it was incorrectly configured as level-sensitive
      instead of edge-sensitive, which in turn was because the code that parses
      the interrupt tree that Open Firmware gives us was incorrectly assigning
      another device the same irq number as the sound DMA transmit interrupt
      (i.e.  1).
      
      This patch fixes the problem, in a somewhat quick and dirty way for now,
      but one which will work for all the machines we currently run on.
      Ultimately Ben and I want to do something more general and robust, but this
      should go in for 2.6.12.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      dc3ec750
  21. 17 4月, 2005 3 次提交