* [PATCH v2] powerpc/powernv: Block PCI config access on BCM5718 during EEH recovery
@ 2017-04-19 4:46 Gavin Shan
2017-05-15 5:06 ` [v2] " Michael Ellerman
0 siblings, 1 reply; 2+ messages in thread
From: Gavin Shan @ 2017-04-19 4:46 UTC (permalink / raw)
To: linuxppc-dev; +Cc: mpe, Gavin Shan
Similar to what is done in commit b6541db13952 ("powerpc/eeh: Block
PCI config access upon frozen PE"), we need block PCI config access
for BCM5719 when recovering frozen error on them. Otherwise, an
unexpected recursive fenced PHB error is observed.
0001:06:00.0 Ethernet controller: Broadcom Corporation \
NetXtreme BCM5718 Gigabit Ethernet PCIe (rev 10)
0001:06:00.1 Ethernet controller: Broadcom Corporation \
NetXtreme BCM5718 Gigabit Ethernet PCIe (rev 10)
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
---
v2: s/BCM5719/BCM5718 in the subject
---
arch/powerpc/platforms/powernv/eeh-powernv.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/powerpc/platforms/powernv/eeh-powernv.c b/arch/powerpc/platforms/powernv/eeh-powernv.c
index 6fb5522..55a3c5f 100644
--- a/arch/powerpc/platforms/powernv/eeh-powernv.c
+++ b/arch/powerpc/platforms/powernv/eeh-powernv.c
@@ -412,11 +412,14 @@ static void *pnv_eeh_probe(struct pci_dn *pdn, void *data)
* been set for the PE, we will set EEH_PE_CFG_BLOCKED for
* that PE to block its config space.
*
+ * Broadcom BCM5718 2-ports NICs (14e4:1656)
* Broadcom Austin 4-ports NICs (14e4:1657)
* Broadcom Shiner 4-ports 1G NICs (14e4:168a)
* Broadcom Shiner 2-ports 10G NICs (14e4:168e)
*/
if ((pdn->vendor_id == PCI_VENDOR_ID_BROADCOM &&
+ pdn->device_id == 0x1656) ||
+ (pdn->vendor_id == PCI_VENDOR_ID_BROADCOM &&
pdn->device_id == 0x1657) ||
(pdn->vendor_id == PCI_VENDOR_ID_BROADCOM &&
pdn->device_id == 0x168a) ||
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [v2] powerpc/powernv: Block PCI config access on BCM5718 during EEH recovery
2017-04-19 4:46 [PATCH v2] powerpc/powernv: Block PCI config access on BCM5718 during EEH recovery Gavin Shan
@ 2017-05-15 5:06 ` Michael Ellerman
0 siblings, 0 replies; 2+ messages in thread
From: Michael Ellerman @ 2017-05-15 5:06 UTC (permalink / raw)
To: Gavin Shan, linuxppc-dev; +Cc: Gavin Shan
On Wed, 2017-04-19 at 04:46:24 UTC, Gavin Shan wrote:
> Similar to what is done in commit b6541db13952 ("powerpc/eeh: Block
> PCI config access upon frozen PE"), we need block PCI config access
> for BCM5719 when recovering frozen error on them. Otherwise, an
> unexpected recursive fenced PHB error is observed.
>
> 0001:06:00.0 Ethernet controller: Broadcom Corporation \
> NetXtreme BCM5718 Gigabit Ethernet PCIe (rev 10)
> 0001:06:00.1 Ethernet controller: Broadcom Corporation \
> NetXtreme BCM5718 Gigabit Ethernet PCIe (rev 10)
>
> Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/c374ed27c93698c794f99c5d41d9ad
cheers
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-05-15 5:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-19 4:46 [PATCH v2] powerpc/powernv: Block PCI config access on BCM5718 during EEH recovery Gavin Shan
2017-05-15 5:06 ` [v2] " Michael Ellerman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).