[Skiboot] [PATCH 3/3] hw/phb3: Disable ECRC on HGST NVMe adapter behind PMC switch

Gavin Shan gwshan at linux.vnet.ibm.com
Wed Mar 22 14:04:01 AEDT 2017


This fixes same issue as the one fixed by commit 60ce59ccd0e9 ("
hw/phb3: Disable ECRC on Broadcom adapter behind PMC switch"). The
NVMe adapter is connected to system by:

   PHB3 root port
   PLX switch 8748 (10b5:8748)
   PLX swich 9733 (10b5:9733)
   PMC 8546 swtich (11f8:8546)
   NVMe adapter (1c58:0023)

Reported-by: Mark E Schreiter <markes at us.ibm.com>
Signed-off-by: Gavin Shan <gwshan at linux.vnet.ibm.com>
---
 hw/phb3.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/hw/phb3.c b/hw/phb3.c
index 6040891..fee9dc3 100644
--- a/hw/phb3.c
+++ b/hw/phb3.c
@@ -539,9 +539,11 @@ static inline bool phb3_endpoint_report_ecrc(struct pci_device *pd)
 	 * the frozen PE error is cleared.
 	 *
 	 * 0x168a14e4   Broadcom bnx2x CHIP_NUM_57800
+	 * 0x00231c58   HGST NVMe adapter
 	 */
 	if (pd->parent->vdid == 0x854611f8 &&
-	    pd->vdid == 0x168a14e4)
+	    (pd->vdid == 0x168a14e4 ||
+	     pd->vdid == 0x00231c58))
 		return false;
 
 	return true;
-- 
2.7.4



More information about the Skiboot mailing list