summaryrefslogtreecommitdiff
path: root/kernel/livepatch
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2015-07-29 23:26:51 (GMT)
committerMichael Ellerman <mpe@ellerman.id.au>2015-08-18 09:34:42 (GMT)
commit39bfd715b4837433a86c168c610880e9ae2185ae (patch)
treebbfcd2b4260f74dc74a3d62b7c644ae47158c3ab /kernel/livepatch
parentdd497154d359ba9d2d3e71075bed794b93b47b48 (diff)
downloadlinux-39bfd715b4837433a86c168c610880e9ae2185ae.tar.xz
powerpc/eeh: Disable automatically blocked PCI config
pcibios_set_pcie_reset_state() could be called to complete reset request when passing through PCI device, flag EEH_PE_ISOLATED is set before saving the PCI config sapce. On some Broadcom adapters, EEH_PE_CFG_BLOCKED is automatically set when the flag EEH_PE_ISOLATED is marked. It caused bogus data saved from the PCI config space, which will be restored to the PCI adapter after the reset. Eventually, the hardware can't work with corrupted data in PCI config space. The patch fixes the issue with eeh_pe_state_mark_no_cfg(), which doesn't set EEH_PE_CFG_BLOCKED when seeing EEH_PE_ISOLATED on the PE, in order to avoid the bogus data saved and restored to the PCI config space. Reported-by: Rajanikanth H. Adaveeshaiah <rajanikanth.ha@in.ibm.com> Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'kernel/livepatch')
0 files changed, 0 insertions, 0 deletions