powerpc/eeh: Disable automatically blocked PCI config

Michael Ellerman mpe at ellerman.id.au
Thu Aug 20 09:14:14 AEST 2015

On Wed, 2015-29-07 at 23:26:51 UTC, Gavin Shan wrote:
> 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 at in.ibm.com>
> Signed-off-by: Gavin Shan <gwshan at linux.vnet.ibm.com>

Applied to powerpc next, thanks.



More information about the Linuxppc-dev mailing list