[PATCH] nvme-pci: fix resume after AER recovery
Keith Busch
kbusch at kernel.org
Wed Feb 8 09:39:16 PST 2023
On Wed, Feb 08, 2023 at 05:26:42PM +0000, Grochowski, Maciej wrote:
> > `nvme-cli id-ctrl /dev/nvmeX` should do nicely :)
>
> Thanks I attach you output of id-ctrl for both PM1733 and PM9A3.
>
> Also I am not sure if you use DPC but in our setup we have NVMe in PCIe slots with DPC configured in the BIOS and also inside kernel we enable it via "pcie_ports=dpc-native" parameter.
> I potentially can check behavior without DPC but not sure how much value is with testing Error Recovery/HotPlug without DPC enabled.
Are you observing DPC events during the error injection recovery? I didn't see
any in the previous logs.
If you have DPC enabled, it really doesn't make sense to aer_inject on anything
downstream capable ports. Those types of errors would be contained by the DPC
hardware; the kernel will get a DPC event instead of an AER.
More information about the Linux-nvme
mailing list