File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -292,18 +292,19 @@ static void __zpci_event_error(struct zpci_ccdf_err *ccdf)
292292 goto no_pdev ;
293293
294294 switch (ccdf -> pec ) {
295- case 0x003a : /* Service Action or Error Recovery Successful */
295+ case 0x002a : /* Error event concerns FMB */
296+ case 0x002b :
297+ case 0x002c :
298+ break ;
299+ case 0x0040 : /* Service Action or Error Recovery Failed */
300+ case 0x003b :
301+ zpci_event_io_failure (pdev , pci_channel_io_perm_failure );
302+ break ;
303+ default : /* PCI function left in the error state attempt to recover */
296304 ers_res = zpci_event_attempt_error_recovery (pdev );
297305 if (ers_res != PCI_ERS_RESULT_RECOVERED )
298306 zpci_event_io_failure (pdev , pci_channel_io_perm_failure );
299307 break ;
300- default :
301- /*
302- * Mark as frozen not permanently failed because the device
303- * could be subsequently recovered by the platform.
304- */
305- zpci_event_io_failure (pdev , pci_channel_io_frozen );
306- break ;
307308 }
308309 pci_dev_put (pdev );
309310no_pdev :
You can’t perform that action at this time.
0 commit comments