]> 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)
commit8e2b70d51efcba9586f45210ef33ff83be34fa7c
tree3333cebc80097095c1e07bf5935f85d0b5695d3c
parent52b8b06eb66356f2cdbb9d65170d0fd38f8d3800
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