]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/eeh: Device bars restore based on PE
authorGavin Shan <shangw@linux.vnet.ibm.com>
Fri, 7 Sep 2012 22:44:15 +0000 (22:44 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 9 Sep 2012 23:35:41 +0000 (09:35 +1000)
commitd0e3273a98ff2b4f7878b32fb0f2f42e3e4bed1b
tree3333cebc80097095c1e07bf5935f85d0b5695d3c
parent0211bbe52595507e6725ae8be9934e7722821aed
powerpc/eeh: Device bars restore based on PE

The patch introduces the function to traverse the devices of the
specified PE and its child PEs. Also, the restore on device bars
is implemented based on the traverse function.

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/eeh.h
arch/powerpc/include/asm/ppc-pci.h
arch/powerpc/platforms/pseries/eeh.c
arch/powerpc/platforms/pseries/eeh_pe.c