On Tue, Mar 16, 2021 at 09:13:56PM +0000, James Puthukattukaran wrote: > Keith - > I understand that the RP did not detect the error and so nothing to > clear in its AER register. My question is - where is the fatal error > register cleared in the device's (the device that was the cause of the > fata error) AER register? It does not seem to be done in > pci_do_recovery walking the hierarchy (unless I'm missing it).... Gotcha. All pci drivers that implement error handling should be calling pci_restore_state() somewhere from its .error_resume() callback, which invokes pci_aer_clear_status() to clear the device's AER status.