1. 09 6月, 2006 2 次提交
  2. 26 5月, 2006 1 次提交
  3. 19 5月, 2006 3 次提交
  4. 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
  5. 29 4月, 2006 1 次提交
  6. 28 4月, 2006 1 次提交
  7. 14 4月, 2006 1 次提交
  8. 28 3月, 2006 1 次提交
  9. 27 3月, 2006 1 次提交
  10. 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
  11. 24 2月, 2006 1 次提交
  12. 07 2月, 2006 1 次提交
  13. 15 1月, 2006 1 次提交
  14. 12 1月, 2006 1 次提交
  15. 09 1月, 2006 4 次提交
  16. 30 11月, 2005 1 次提交
  17. 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
  18. 08 11月, 2005 3 次提交
  19. 01 11月, 2005 1 次提交
  20. 27 10月, 2005 1 次提交
    • D
      [PATCH] powerpc: Purge bootinfo.h · e37bc5df
      David Gibson 提交于
      With ARCH=powerpc we assume the presence of a device tree, so we don't
      require any support for the old bi_recs method of passing boot
      parameters.  Likewise, we've never needed it for ppc64, but we still
      had an include/asm-ppc64/bootinfo.h from which nothing was used.  This
      patch removes that file, and all references to it in arch/ppc64 and
      arch/powerpc.  A related, unused variable 'boot_mem_size' is also
      removed from setup_32.c.  The bootinfo stuff remains in ARCH=ppc for
      the time being.
      
      Built and booted on Power5 (ARCH=ppc64 and ARCH=powerpc), built for
      32-bit powermac (ARCH=powerpc and ARCH=ppc).
      Signed-off-by: NDavid Gibson <dwg@au1.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      e37bc5df
  21. 26 10月, 2005 2 次提交
    • P
      powerpc: Fixes to get the Longtrail CHRP a bit further · c4988820
      Paul Mackerras 提交于
      Talk about buggy firmware...  the OF on the Longtrail returns 0
      from the claim client service rather than -1 when the claim fails.
      It also has no device_type on the /memory node and blows up if
      the output buffer for package-to-path is too big.
      
      This also fixes a bug with calling alloc_up with align == 0, where
      we did _ALIGN_UP(alloc_bottom, 0) which will end up as 0.
      
      Lastly, we now check the return value (in r3) from calling the
      prom, and return -1 from call_prom if we get a negative value back.
      That is supposed to indicate that the requested client service
      doesn't exist.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      c4988820
    • P
      powerpc: Merge 32-bit CHRP support. · bbd0abda
      Paul Mackerras 提交于
      SMP still needs more work but UP gets as far as starting userspace
      at least.  This uses the 64-bit-style code for spinning up the cpus.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      bbd0abda
  22. 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
  23. 22 10月, 2005 1 次提交
    • P
      powerpc: Merge in 64-bit powermac support. · 35499c01
      Paul Mackerras 提交于
      This brings in a lot of changes from arch/ppc64/kernel/pmac_*.c to
      arch/powerpc/platforms/powermac/*.c and makes various minor tweaks
      elsewhere.  On the powermac we now initialize ppc_md by copying
      the whole pmac_md structure into it, which required some changes in
      the ordering of initializations of individual fields of it.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      35499c01
  24. 17 10月, 2005 2 次提交
  25. 10 10月, 2005 3 次提交
  26. 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
  27. 22 9月, 2005 1 次提交