misc: pci_endpoint_test: Add AER error handlers

The Endpoint test driver doesn't need to do anything fancy in its error
handlers; just restore the config space that was saved during probe and
report the correct result. This helps in making sure that the AER recovery
succeeds.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20260729-pci-port-reset-v9-5-53570b92064d@oss.qualcomm.com
This commit is contained in:
Manivannan Sadhasivam 2026-07-29 10:22:31 +05:30 • committed by Bjorn Helgaas
commit 29e179cb7f