1. 19 5月, 2011 1 次提交
    • N
      powerpc: Fix kexec with dynamic dma windows · 76730334
      Nishanth Aravamudan 提交于
      When we kexec we look for a particular property added by the first
      kernel, "linux,direct64-ddr-window-info", per-device where we already
      have set up dynamic dma windows. The current code, though, wasn't
      initializing the size of this property and thus when we kexec'd, we
      would find the property but read uninitialized memory resulting in
      garbage ddw values for the kexec'd kernel and panics. Fix this by
      setting the size at enable_ddw() time and ensuring that the size of the
      found property is valid at dupe_ddw_if_kexec() time.
      Signed-off-by: NNishanth Aravamudan <nacc@us.ibm.com>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      76730334
  2. 06 5月, 2011 2 次提交
    • R
      powerpc/eeh: Display eeh error location for bus and device · 82578e19
      Richard A Lary 提交于
        For adapters which have devices under a PCIe switch/bridge it is informative
        to display information for both the PCIe switch/bridge and the device on
        which the bus error was detected.
      
        rebased to powerpc-next
      Signed-off-by: NRichard A Lary <rlary@linux.vnet.ibm.com>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      82578e19
    • T
      powerpc/pseries: Add support for IO event interrupts · 77eafe10
      Tseng-Hui (Frank) Lin 提交于
      This patch adds support for handling IO Event interrupts which come
      through at the /event-sources/ibm,io-events device tree node.
      
      The interrupts come through ibm,io-events device tree node are generated
      by the firmware to report IO events. The firmware uses the same interrupt
      to report multiple types of events for multiple devices. Each device may
      have its own event handler. This patch implements a plateform interrupt
      handler that is triggered by the IO event interrupts come through
      ibm,io-events device tree node, pull in the IO events from RTAS and call
      device event handlers registered in the notifier list.
      
      Device event handlers are expected to use atomic_notifier_chain_register()
      and atomic_notifier_chain_unregister() to register/unregister their
      event handler in pseries_ioei_notifier_list list with IO event interrupt.
      Device event handlers are responsible to identify if the event belongs
      to the device event handler. The device event handle should return NOTIFY_OK
      after the event is handled if the event belongs to the device event handler,
      or NOTIFY_DONE otherwise.
      Signed-off-by: NTseng-Hui (Frank) Lin <thlin@us.ibm.com>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      77eafe10
  3. 04 5月, 2011 5 次提交
  4. 27 4月, 2011 2 次提交
  5. 20 4月, 2011 2 次提交
  6. 18 4月, 2011 1 次提交
    • N
      powerpc/pseries: Use a kmem cache for DTL buffers · 127493d5
      Nishanth Aravamudan 提交于
      PAPR specifies that DTL buffers can not cross AMS environments (aka CMO
      in the PAPR) and can not cross a memory entitlement granule boundary
      (4k). This is found in section 14.11.3.2 H_REGISTER_VPA of the PAPR.
      kmalloc does not guarantee an alignment of the allocation, though,
      beyond 8 bytes (at least in my understanding). Create a special kmem
      cache for DTL buffers with the alignment requirement.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      127493d5
  7. 05 4月, 2011 2 次提交
  8. 01 4月, 2011 1 次提交
    • B
      powerpc/smp: soft-replugged CPUs must go back to start_secondary · fa3f82c8
      Benjamin Herrenschmidt 提交于
      Various thing are torn down when a CPU is hot-unplugged. That CPU
      is expected to go back to start_secondary when re-plugged to re
      initialize everything, such as clock sources, maps, ...
      
      Some implementations just return from cpu_die() callback
      in the idle loop when the CPU is "re-plugged". This is not enough.
      
      We fix it using a little asm trampoline which resets the stack
      and calls back into start_secondary as if we were all fresh from
      boot. The trampoline already existed on ppc64, but we add it for
      ppc32
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      fa3f82c8
  9. 31 3月, 2011 1 次提交
  10. 30 3月, 2011 4 次提交
  11. 29 3月, 2011 2 次提交
  12. 11 3月, 2011 1 次提交
  13. 10 3月, 2011 1 次提交
  14. 04 3月, 2011 3 次提交
  15. 02 3月, 2011 2 次提交
  16. 07 2月, 2011 1 次提交
  17. 05 2月, 2011 1 次提交
    • G
      powerpc/pci: Make both ppc32 and ppc64 use sysdata for pci_controller · b5d937de
      Grant Likely 提交于
      Currently, ppc32 uses sysdata for the pci_controller pointer, and
      ppc64 uses it to hold the device_node pointer.  This patch moves the
      of_node pointer into (struct pci_bus*)->dev.of_node and
      (struct pci_dev*)->dev.of_node so that sysdata can be converted to always
      use the pci_controller pointer instead.  It also fixes up the
      allocating of pci devices so that the of_node pointer gets assigned
      consistently and increments the ref count.
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      b5d937de
  18. 04 2月, 2011 1 次提交
  19. 21 1月, 2011 6 次提交
  20. 11 1月, 2011 1 次提交