]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/eeh: Block PCI config access during reset
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Tue, 30 Sep 2014 02:39:03 +0000 (12:39 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 30 Sep 2014 07:15:15 +0000 (17:15 +1000)
commit172e5b79231a2e332c4d00fc3eecd4dd695c7ddd
treeae428c9ea26c34632978b1378117a8420d0110f1
parentb3f325945e3edd6f4769ab13854cebec5f7dab7f
powerpc/eeh: Block PCI config access during reset

Function pcibios_set_pcie_reset_state() can be used to do PCI
reset. PCI config access during the reset usually causes EEH
errors unexpectedly. In order to avoid the EEH error, the patch
blocks PCI config access during reset with the help of flag
EEH_PE_RESET, which is similar to what we did in EEH PE reset
path.

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/eeh.c