diff options
author | Keith Busch <kbusch@kernel.org> | 2024-06-24 08:56:17 -0700 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2024-06-26 07:02:22 -0700 |
commit | 210b1f6576e8b367907e7ff51ef425062e1468e4 (patch) | |
tree | 50b17feca8ed01d697121a0a89fb552635a10786 /lib/base64.c | |
parent | bf86e7d97b448eadf7959f025ce9e39c42eef92d (diff) |
nvme-pci: do not directly handle subsys reset fallout
Scheduling reset_work after a nvme subsystem reset is expected to fail
on pcie, but this also prevents potential handling the platform's pcie
services may provide that might successfully recovering the link without
re-enumeration. Such examples include AER, DPC, and power's EEH.
Provide a pci specific operation that safely initiates a subsystem
reset, and instead of scheduling reset work, read back the status
register to trigger a pcie read error.
Since this only affects pci, the other fabrics drivers subscribe to a
generic nvmf subsystem reset that is exactly the same as before. The
loop fabric doesn't use it because nvmet doesn't support setting that
property anyway.
And since we're using the magic NSSR value in two places now, provide a
symbolic define for it.
Reported-by: Nilay Shroff <nilay@linux.ibm.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'lib/base64.c')
0 files changed, 0 insertions, 0 deletions