1. 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
  2. 30 8月, 2006 1 次提交
  3. 25 7月, 2006 2 次提交
  4. 07 7月, 2006 3 次提交
  5. 03 7月, 2006 1 次提交
  6. 01 7月, 2006 2 次提交
  7. 15 6月, 2006 1 次提交
  8. 09 6月, 2006 2 次提交
  9. 26 5月, 2006 1 次提交
  10. 19 5月, 2006 3 次提交
  11. 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
  12. 29 4月, 2006 1 次提交
  13. 28 4月, 2006 1 次提交
  14. 14 4月, 2006 1 次提交
  15. 28 3月, 2006 1 次提交
  16. 27 3月, 2006 1 次提交
  17. 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
  18. 24 2月, 2006 1 次提交
  19. 07 2月, 2006 1 次提交
  20. 15 1月, 2006 1 次提交
  21. 12 1月, 2006 1 次提交
  22. 09 1月, 2006 4 次提交
  23. 30 11月, 2005 1 次提交
  24. 10 11月, 2005 2 次提交
    • P
      [PATCH] powerpc: merge code values for identifying platforms · 799d6046
      Paul Mackerras 提交于
      This patch merges platform codes.  systemcfg->platform is no longer used,
      systemcfg use in general is deprecated as much as possible (and renamed
      _systemcfg before it gets completely moved elsewhere in a future patch),
      _machine is now used on ppc64 along as ppc32.  Platform codes aren't gone
      yet but we are getting a step closer. A bunch of asm code in head[_64].S
      is also turned into C code.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      799d6046
    • P
      ppc/powerpc: workarounds for old Open Firmware versions · a23414be
      Paul Mackerras 提交于
      This adds code to work around some problems with old versions of
      Open Firmware, such as on the early powermacs (7500 etc.) and the
      "Longtrail" CHRP machine.  On these machines we have to claim
      the physical and virtual address ranges explicitly when claiming
      memory and then set up a V->P mapping.
      
      The Longtrail has more problems: setprop doesn't work, and we have
      to set an "allow-reclaim" variable to 0 in order to get claim on
      physical memory ranges to fail if the memory is already claimed.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      a23414be
  25. 08 11月, 2005 3 次提交