1. 16 9月, 2008 1 次提交
    • N
      powerpc: Check rc of notifier chain for memory remove · 525c411d
      Nathan Fontenot 提交于
      The return code from invocation of the notifier for
      pSeries_reconfig_chain during update of the device tree is not
      checked.  This causes writes to /proc/ppc64/ofdt to update memory
      properties (i.e. ibm,dyamic-reconfiguration-memory) to always
      return success, instead of the result of the notifier chain.
      
      This happens specifically when we remove/add memory from the
      device tree on machines using memory specified in the
      ibm,dynamic-reconfiguration-memory property of the device tree.
      Signed-off-by: NNathan Fontenot <nfont@austin.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      525c411d
  2. 26 8月, 2008 1 次提交
  3. 20 8月, 2008 2 次提交
  4. 18 8月, 2008 2 次提交
  5. 28 7月, 2008 1 次提交
  6. 25 7月, 2008 4 次提交
  7. 22 7月, 2008 2 次提交
  8. 17 7月, 2008 1 次提交
    • J
      powerpc: pci config cleanup · b500563b
      John Rigby 提交于
      Choosing PCI or not at config time is allowed on some
      platforms via an if expression in arch/powerpc/Kconfig.
      To add a new platform with PCI support selectable at
      config time, you must change the if expression.  This
      patch makes this easier by changing:
          bool "PCI support" if <long expression>
      to
          bool "PCI support" if PPC_PCI_CHOICE
      and adding select PPC_PCI_CHOICE to all the config nodes that
      were previously in the PCI if expression.
      
      Platforms with unconditional PCI support continue to
      just select PCI in their config nodes.
      Signed-off-by: NJohn Rigby <jrigby@freescale.com>
      Acked-by: NGrant Likely <grant.likely@secretlab.ca>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      b500563b
  9. 15 7月, 2008 1 次提交
  10. 09 7月, 2008 2 次提交
  11. 03 7月, 2008 3 次提交
    • N
      powerpc/pseries: Update the device tree correctly for drconf memory add/remove · 3c3f67ea
      Nathan Fontenot 提交于
      This updates the device tree manipulation routines so that memory
      add/remove of lmbs represented under the
      ibm,dynamic-reconfiguration-memory node of the device tree invokes the
      hotplug notifier chain.
      
      This change is needed because of the change in the way memory is
      represented under the ibm,dynamic-reconfiguration-memory node.  All lmbs
      are described in the ibm,dynamic-memory property instead of having a
      separate node for each lmb as in previous device tree layouts.  This
      requires the update_node() routine to check for updates to the
      ibm,dynamic-memory property and invoke the hotplug notifier chain.
      
      This also updates the pseries hotplug notifier to be able to gather information
      for lmbs represented under the ibm,dynamic-reconfiguration-memory node and
      have the lmbs added/removed.
      Signed-off-by: NNathan Fontenot <nfont@austin.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      3c3f67ea
    • N
      powerpc/pseries: Use base address to derive starting page frame number · 92ecd179
      Nathan Fontenot 提交于
      Use the base address of the lmb to derive the starting page frame number
      instead of trying to extract it from the drc index of the lmb.  The drc
      index should not be used for this as it will, and did, break.
      
      Until this point, systems that have had memory represented in the device
      tree with a node for each lmb the drc index would (luckily) closely
      track the base address of the lmb.  For example a lmb with a drc index
      of 8000000a would have a base address of a0000000.  This correlation
      allowed the current code to derive the starting page frame number from
      the drc inddex
      
      Device tree layouts where lmbs are represented under the
      ibm,dynamic-reconfiguration-memory node in the ibm,dynamic-memory
      property do not have this correlation between the drc index and base
      address of the lmb.
      Signed-off-by: NNathan Fontenot <nfont@austin.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      92ecd179
    • N
      powerpc/pseries: Allow phandle to be specified in formats other than decimal · 4b6e805e
      Nathan Fontenot 提交于
      Allow the phandle passed to the /proc/ppc64/ofdt file to be specified
      in formats other than decimal.  This allows us to easily specify phandle
      values in hex that would otherwise appear as negative integers.
      
      This is an issue on systems where the value of
      /proc/device-tree/ibm,dynamic-reconfiguration-memory.ibm,phandle is
      fffffff9.  Having to pass this to the ofdt file as a string results in
      a large negative number, and simple_strtoul() does not handle negative
      numbers.
      Signed-off-by: NNathan Fontenot <nfont@austin.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      4b6e805e
  12. 30 6月, 2008 1 次提交
  13. 26 6月, 2008 1 次提交
  14. 16 6月, 2008 2 次提交
  15. 14 5月, 2008 2 次提交
  16. 05 5月, 2008 1 次提交
  17. 29 4月, 2008 3 次提交
  18. 24 4月, 2008 3 次提交
  19. 21 4月, 2008 1 次提交
  20. 18 4月, 2008 4 次提交
  21. 17 4月, 2008 2 次提交