]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit9372dddb189a7a7689b674ad2dd31117a407bfd5
treeae428c9ea26c34632978b1378117a8420d0110f1
parentc9dd0143978e1c473c08dafe8156259b895db3e2
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