@@ -5315,6 +5315,15 @@ static void phb4_probe_stack(struct dt_node *stk_node, uint32_t pec_index,
return;
}
+ /* Clear errors in PFIR and NFIR */
+ xscom_read(gcid, pci_stack + XPEC_PCI_STK_PCI_FIR, &val);
+ prlog_once(PR_DEBUG, "PFIR: %llx\n", val);
+ xscom_read(gcid, pci_stack + XPEC_PCI_STK_PCI_FIR, 0);
+
+ xscom_read(gcid, nest_stack + XPEC_NEST_STK_PCI_NFIR, &val);
+ prlog_once(PR_DEBUG, "NFIR: %llx\n", val);
+ xscom_read(gcid, nest_stack + XPEC_NEST_STK_PCI_NFIR, 0);
+
/* Check ETU reset */
xscom_read(gcid, pci_stack + XPEC_PCI_STK_ETU_RESET, &val);
prlog_once(PR_DEBUG, "ETU reset: %llx\n", val);