aboutsummaryrefslogtreecommitdiff
path: root/lib/Kconfig
diff options
context:
space:
mode:
authorKeith Busch <kbusch@kernel.org>2024-06-24 08:56:17 -0700
committerKeith Busch <kbusch@kernel.org>2024-06-26 07:02:22 -0700
commit210b1f6576e8b367907e7ff51ef425062e1468e4 (patch)
tree50b17feca8ed01d697121a0a89fb552635a10786 /lib/Kconfig
parentbf86e7d97b448eadf7959f025ce9e39c42eef92d (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/Kconfig')
0 files changed, 0 insertions, 0 deletions