1. 09 1月, 2006 3 次提交
  2. 30 11月, 2005 1 次提交
  3. 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
  4. 08 11月, 2005 3 次提交
  5. 01 11月, 2005 1 次提交
  6. 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
  7. 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
  8. 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
  9. 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
  10. 17 10月, 2005 2 次提交
  11. 10 10月, 2005 3 次提交
  12. 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
  13. 22 9月, 2005 1 次提交
  14. 06 9月, 2005 1 次提交
  15. 30 8月, 2005 1 次提交
  16. 29 8月, 2005 1 次提交
  17. 11 8月, 2005 1 次提交
  18. 23 6月, 2005 1 次提交
  19. 04 6月, 2005 1 次提交
  20. 02 6月, 2005 1 次提交
  21. 01 6月, 2005 1 次提交
    • B
      [PATCH] ppc64: Fix a device-tree bug on Apple's · 44e4665c
      Benjamin Herrenschmidt 提交于
      Apple's Open Firmware has a funny bug when creating the /cpus nodes
      where it leaves a dangling '\0' character in the CPU name which ends up
      appearing in the full path of the node. This is bogus and
      confuses /proc/device-tree badly.
      
      This patch strips those bogus zero's from the node full path when
      reading the device-tree from Open Firmware. The "name" property is not
      modified and still contains the spurrious 0 (it basically contains 0
      tailing 0 instead of one) but that shouldn't be a problem.
      
      An equivalent patch for ppc32 will follow shortly
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      44e4665c
  22. 31 5月, 2005 1 次提交
  23. 23 5月, 2005 1 次提交
    • B
      [PATCH] ppc64: Fix booting on latest G5 models · 1263cc67
      Benjamin Herrenschmidt 提交于
      The latest speedbumped Apple G5 models have a "bug" in the Open Firmware
      device tree that lacks the proper interrupt routing information for the
      northbridge i2c controller.  Apple's driver silently falls back into a
      sub-optimal "polled" mode (heh, maybe they didn't even notice the bug
      because of that :), our driver didn't properly check and crashes :(
      
      This patch fixes our driver to not crash, and adds code to the
      prom_init() OF trampoline code that detects the "bug" and adds the
      missing information back for this chipset revision.  This fixes booting
      and thermal control on these models.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      1263cc67
  24. 01 5月, 2005 2 次提交
  25. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4