Skip to content

Commit 179ea48

Browse files
Gavin Shanmpe
authored andcommitted
powerpc/eeh: Block CFG upon frozen Shiner adapter
The Broadcom Shiner 2-ports 10G ethernet adapter has same problem commit 6f20bda0 ("powerpc/eeh: Block PCI config access upon frozen PE") fixes. Put it to the black list as well. # lspci -s 0004:01:00.0 0004:01:00.0 Ethernet controller: Broadcom Corporation \ NetXtreme II BCM57810 10 Gigabit Ethernet (rev 10) # lspci -n -s 0004:01:00.0 0004:01:00.0 0200: 14e4:168e (rev 10) Reported-by: John Walthour <jwalthour@us.ibm.com> Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
1 parent c59004c commit 179ea48

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎arch/powerpc/platforms/powernv/eeh-powernv.c‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,10 @@ static int powernv_eeh_dev_probe(struct pci_dev *dev, void *flag)
182182
* that PE to block its config space.
183183
*
184184
* Broadcom Austin 4-ports NICs (14e4:1657)
185+
* Broadcom Shiner 2-ports 10G NICs (14e4:168e)
185186
*/
186-
if (dev->vendor == PCI_VENDOR_ID_BROADCOM &&
187-
dev->device == 0x1657)
187+
if ((dev->vendor == PCI_VENDOR_ID_BROADCOM && dev->device == 0x1657) ||
188+
(dev->vendor == PCI_VENDOR_ID_BROADCOM && dev->device == 0x168e))
188189
edev->pe->state |= EEH_PE_CFG_RESTRICTED;
189190

190191
/*

0 commit comments

Comments
 (0)