1. 17 12月, 2008 1 次提交
  2. 11 12月, 2008 1 次提交
  3. 03 12月, 2008 1 次提交
  4. 20 11月, 2008 2 次提交
  5. 09 11月, 2008 1 次提交
  6. 31 10月, 2008 4 次提交
  7. 22 10月, 2008 1 次提交
  8. 21 10月, 2008 10 次提交
  9. 18 10月, 2008 1 次提交
  10. 17 10月, 2008 2 次提交
  11. 16 10月, 2008 1 次提交
  12. 14 10月, 2008 8 次提交
  13. 10 10月, 2008 1 次提交
    • P
      powerpc: Sync RPA note in zImage with kernel's RPA note · 91a00302
      Paul Mackerras 提交于
      Commit 9b09c6d9 ("powerpc: Change the
      default link address for pSeries zImage kernels") changed the
      real-base value in the CHRP note added by the addnote program from
      12MB to 32MB to give more space for Open Firmware to load the zImage.
      (The real-base value says where we want OF to position itself in
      memory.)  However, this change was ineffective on most pSeries
      machines, because the RPA note added by addnote has the "ignore me"
      flag set to 1.  This was intended to tell OF to ignore just the RPA
      note, but has the side effect of also making OF ignore the CHRP note
      (at least on most pSeries machines).
      
      To solve this we have to set the "ignore me" flag to 0 in the RPA
      note.  (We can't just omit the RPA note because that is equivalent to
      having an RPA note with default values, and the default values are not
      what we want.)  However, then we have to make sure the values in the
      zImage's RPA note match up with the values that the kernel supplies
      later in prom_init.c with either the ibm,client-architecture-support
      call or the process-elf-header call in prom_send_capabilities().
      
      So this sets the "ignore me" flag in the RPA note in addnote to 0, and
      adjusts the RPA note values in addnote.c and in prom_init.c to be
      consistent with each other and with the values in ibm_architecture_vec.
      
      However, since the wrapper is independent of the kernel, this doesn't
      ensure that the notes will stay consistent.  To ensure that, this adds
      code to addnote.c so that it can extract the kernel's RPA note from
      the kernel binary and put that in the zImage.  To that end, we put the
      kernel's fake ELF header (which contains the kernel's RPA note) into
      its own section, and arrange for wrapper to pull out that section with
      objcopy and pass it to addnote, which then extracts the RPA note from
      it and transfers it to the zImage.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      91a00302
  14. 03 10月, 2008 1 次提交
  15. 30 9月, 2008 1 次提交
    • D
      powerpc: Fix PCI in Holly device tree · ad611045
      David Gibson 提交于
      The PCI bridge on the Holly board is incorrectly represented in the
      device tree.  The current device tree node for the PCI bridge sits
      under the tsi-bridge node.  That's not obviously wrong, but the PCI
      bridge translates some PCI spaces into CPU address ranges which were
      not translated by the "ranges" property in tsi-bridge node.
      
      We used to get away with this problem because the PCI bridge discovery
      code was also buggy, assuming incorrectly that PCI host bridge nodes
      were always directly under the root bus and treating the translated
      addresses as raw CPU addresses, rather than parent bus addresses.
      This has since been fixed, thus breaking Holly.
      
      This could be fixed by adding extra translations to the tsi-bridge
      node, but this patch instead moves the Holly PCI bridge out of the
      tsi-bridge node to the root bus.  This makes the tsi-bridge node
      represent only the built-in IO devices in the bridge, with a
      more-or-less contiguous address range.  This is the same convention
      used on Freescale SoC chips, where the "soc" node represents only the
      IMMR region, and the PCI and other bus bridges are separate nodes
      under the root bus.
      Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
      Acked-by: NJosh Boyer <jwboyer@linux.vnet.ibm.com>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      ad611045
  16. 24 9月, 2008 1 次提交
  17. 18 9月, 2008 2 次提交
  18. 17 9月, 2008 1 次提交