1. 08 11月, 2007 1 次提交
  2. 13 9月, 2007 1 次提交
  3. 22 8月, 2007 1 次提交
    • O
      [POWERPC] Advertise correct IDE mode on Pegasos2 · 556ecf9b
      Olaf Hering 提交于
      The built-in IDE controller is configured in legacy mode, but the PCI
      registers advertise native mode.  Force the PCI class into legacy
      mode. This allows pata_via to access two drives.
      
      The Pegasos specific irq enforcement in the via82cxxx driver must stay
      because there is apparently no generic way to setup irq per channel.
      
      Tested on Pegasos2 with firmware version 20040810, and two IDE disks.
      Signed-off-by: NOlaf Hering <olaf@aepfle.de>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      556ecf9b
  4. 14 6月, 2007 1 次提交
    • J
      [POWERPC] Donate idle CPU cycles on dedicated partitions · d8c391a5
      Jake Moilanen 提交于
      A Power6 can give up CPU cycles on a dedicated CPU (as opposed to a
      shared CPU) to other shared processors if the administrator asks for it
      (via the HMC).
      
      This enables that to work properly on P6.
      
      This just involves setting a bit in the CAS structure as well as the
      VPA.  To donate cycles, a CPU has to have all SMT threads idle and
      have the donate bit set in the VPA.  Then call H_CEDE.
      
      The reason why shared processors just aren't used is because dedicated
      CPUs are guaranteed an actual processor, yet the system is still able to
      increase the capacity of the shared CPU pool.
      
      Also rename the VPA's cpuctls_task_attrs field to a more accurate name.
      Signed-off-by: NJake Moilanen <moilanen@austin.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      d8c391a5
  5. 08 5月, 2007 2 次提交
  6. 07 5月, 2007 1 次提交
  7. 13 4月, 2007 1 次提交
  8. 13 2月, 2007 1 次提交
  9. 11 12月, 2006 1 次提交
    • P
      [POWERPC] Support ibm,dynamic-reconfiguration-memory nodes · 0204568a
      Paul Mackerras 提交于
      For PAPR partitions with large amounts of memory, the firmware has an
      alternative, more compact representation for the information about the
      memory in the partition and its NUMA associativity information.  This
      adds the code to the kernel to parse this alternative representation.
      
      The other part of this patch is telling the firmware that we can
      handle the alternative representation.  There is however a subtlety
      here, because the firmware will invoke a reboot if the memory
      representation we request is different from the representation that
      firmware is currently using.  This is because firmware can't change
      the representation on the fly.  Further, some firmware versions used
      on POWER5+ machines have a bug where this reboot leaves the machine
      with an altered value of load-base, which will prevent any kernel
      booting until it is reset to the normal value (0x4000).  Because of
      this bug, we do NOT set fake_elf.rpanote.new_mem_def = 1, and thus we
      do not request the new representation on POWER5+ and earlier machines.
      We do request the new representation on POWER6, which uses the
      ibm,client-architecture-support call.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      0204568a
  10. 04 12月, 2006 3 次提交
    • P
      [POWERPC] Tell firmware we can handle POWER6 compatible mode · 0efbc18a
      Paul Mackerras 提交于
      This adds the "logical" PVR value used by POWER6 in "compatible" mode
      to the list of PVR values that the kernel tells firmware it is able to
      handle.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      0efbc18a
    • P
      [POWERPC] Distinguish POWER6 partition modes and tell userspace · 974a76f5
      Paul Mackerras 提交于
      This adds code to look at the properties firmware puts in the device
      tree to determine what compatibility mode the partition is in on
      POWER6 machines, and set the ELF aux vector AT_HWCAP and AT_PLATFORM
      entries appropriately.
      
      Specifically, we look at the cpu-version property in the cpu node(s).
      If that contains a "logical" PVR value (of the form 0x0f00000x), we
      call identify_cpu again with this PVR value.  A value of 0x0f000001
      indicates the partition is in POWER5+ compatibility mode, and a value
      of 0x0f000002 indicates "POWER6 architected" mode, with various
      extensions disabled.  We also look for various other properties:
      ibm,dfp, ibm,purr and ibm,spurr.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      974a76f5
    • J
      [POWERPC] Cell iommu support · 165785e5
      Jeremy Kerr 提交于
      This patch adds full cell iommu support (and iommu disabled mode).
      
      It implements mapping/unmapping of iommu pages on demand using the
      standard powerpc iommu framework.  It also supports running with
      iommu disabled for machines with less than 2GB of memory.  (The
      default is off in that case, though it can be forced on with the
      kernel command line option iommu=force).
      Signed-off-by: NJeremy Kerr <jk@ozlabs.org>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      165785e5
  11. 30 8月, 2006 1 次提交
  12. 25 7月, 2006 2 次提交
  13. 07 7月, 2006 3 次提交
  14. 03 7月, 2006 1 次提交
  15. 01 7月, 2006 2 次提交
  16. 15 6月, 2006 1 次提交
  17. 09 6月, 2006 2 次提交
  18. 26 5月, 2006 1 次提交
  19. 19 5月, 2006 3 次提交
  20. 16 5月, 2006 1 次提交
    • B
      [PATCH] Fix pSeries identification in prom_init.c · cb6b2eb9
      Benjamin Herrenschmidt 提交于
      The OF trampoline code prom_init.c still needs to identify IBM pSeries
      (PAPR) machines in order to run some platform specific code on them like
      instanciating the TCE tables. The code doing that detection was changed
      recently in 2.6.17 early stages but was done slightly incorrectly. It
      should be testing for an exact match of "chrp" and it currently tests
      for anything that begins with "chrp". That means it will incorrectly
      match with platforms using Maple-like device-trees and have open
      firmware. This fixes it by using strcmp instead of strncmp to match what
      the actual platform detection code does.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      cb6b2eb9
  21. 29 4月, 2006 1 次提交
  22. 28 4月, 2006 1 次提交
  23. 14 4月, 2006 1 次提交
  24. 28 3月, 2006 1 次提交
  25. 27 3月, 2006 1 次提交
  26. 03 3月, 2006 1 次提交
    • B
      [PATCH] powerpc: incorrect rmo_top handling in prom_init · ab1b55e2
      Benjamin Herrenschmidt 提交于
      On Thu, 2006-03-02 at 19:55 +0100, Olaf Hering wrote:
      
      > My iBook1 has 2 memory regions in reg. Depending on how I boot it
      > (vmlinux+initrd) or zImage.initrd, it will not boot with current Linus
      > tree.
      > rmo_top should be 160MB instead of 32MB.
      
      On logically-partitioned machines the first element of the reg
      property in the memory node is defined to be the "RMO" region,
      i.e. the memory that the processor can access in real mode.  On other
      machines the first element has no special meaning, so only take it to
      be the RMO region on LPAR machines.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      ab1b55e2
  27. 24 2月, 2006 1 次提交
  28. 07 2月, 2006 1 次提交
  29. 15 1月, 2006 1 次提交
  30. 12 1月, 2006 1 次提交