summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorKeith Busch <kbusch@kernel.org>2020-02-13 01:41:05 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-05 16:43:41 +0100
commit36d7477fabedbe3c24ff737e6d54eaa1f5cedc25 (patch)
treedf644dc64ff63fe4d322aab1f5041f0b312b609c /kernel
parentb1fd0e551eebb5435ff8c9efc42de3116b2e9099 (diff)
nvme/pci: move cqe check after device shutdown
[ Upstream commit fa46c6fb5d61b1f17b06d7c6ef75478b576304c7 ] Many users have reported nvme triggered irq_startup() warnings during shutdown. The driver uses the nvme queue's irq to synchronize scanning for completions, and enabling an interrupt affined to only offline CPUs triggers the alarming warning. Move the final CQE check to after disabling the device and all registered interrupts have been torn down so that we do not have any IRQ to synchronize. Link: https://bugzilla.kernel.org/show_bug.cgi?id=206509 Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Keith Busch <kbusch@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions