1. 30 Sep, 2008 2 commits
    • Johannes Berg's avatar
      powerpc: Fix failure to shutdown with CPU hotplug · 61e9916e
      Johannes Berg authored
      I tracked down the shutdown regression to CPUs not dying
      when being shut down during power-off. This turns out to
      be due to the system_state being SYSTEM_POWER_OFF, which
      this code doesn't take as a valid state for shutting off
      CPUs in.
      
      This has never made sense to me, but when I added hotplug
      code to implement hibernate I only "made it work" and did
      not question the need to check the system_state. Thomas
      Gleixner helped me dig, but the only thing we found is
      that it was added with the original commit that added CPU
      hotplug support.
      Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
      Acked-by: default avatarJoel Schopp <jschopp@austin.ibm.com>
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      61e9916e
    • David Gibson's avatar
      powerpc: Fix PCI in Holly device tree · ad611045
      David Gibson authored
      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: default avatarDavid Gibson <david@gibson.dropbear.id.au>
      Acked-by: default avatarJosh Boyer <jwboyer@linux.vnet.ibm.com>
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      ad611045
  2. 21 Sep, 2008 11 commits
  3. 20 Sep, 2008 10 commits
  4. 19 Sep, 2008 17 commits