]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/eeh: Do reset based on PE
authorGavin Shan <shangw@linux.vnet.ibm.com>
Fri, 7 Sep 2012 22:44:17 +0000 (22:44 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 9 Sep 2012 23:35:42 +0000 (09:35 +1000)
commit7f253cefcb845733d8ec0ebc5cfe179556697641
tree1a1be911c6db25795a866ce60a9f43971ee68076
parent19faa2b08cbe92fcad6fde37947437a1ef7ca75a
powerpc/eeh: Do reset based on PE

The patch implements reset based on PE instead of eeh device. Also,
The functions used to retrieve the reset type, either hot or fundamental
reset, have been reworked for a little bit. More specificly, it's
implemented based the the eeh device 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/ppc-pci.h
arch/powerpc/platforms/pseries/eeh.c