]> www.infradead.org Git - users/jedix/linux-maple.git/commit
nvme-pci: acquire cq_poll_lock in nvme_poll_irqdisable
authorKeith Busch <kbusch@kernel.org>
Thu, 8 May 2025 14:57:06 +0000 (16:57 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 13 May 2025 05:57:11 +0000 (07:57 +0200)
commit3d8932133dcecbd9bef1559533c1089601006f45
tree27c94cb20d6b6e0c50dfb240505ba2973b6c1b8e
parent40696426b8c8c4f13cf6ac52f0470eed144be4b2
nvme-pci: acquire cq_poll_lock in nvme_poll_irqdisable

We need to lock this queue for that condition because the timeout work
executes per-namespace and can poll the poll CQ.

Reported-by: Hannes Reinecke <hare@kernel.org>
Closes: https://lore.kernel.org/all/20240902130728.1999-1-hare@kernel.org/
Fixes: a0fa9647a54e ("NVMe: add blk polling support")
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Daniel Wagner <wagi@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c