]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
nvme-pci: qdepth 1 quirk
authorKeith Busch <kbusch@kernel.org>
Wed, 11 Sep 2024 17:39:59 +0000 (10:39 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2024 13:11:25 +0000 (15:11 +0200)
commita37a6976e475e81a845f8e623c53fcee81bd659c
treec11db942cd630e3fa90b354f5eb26eb97e84cd35
parentf4ef9bef023d5c543cb0f3194ecacfd47ef590ec
nvme-pci: qdepth 1 quirk

[ Upstream commit 83bdfcbdbe5d901c5fa432decf12e1725a840a56 ]

Another device has been reported to be unreliable if we have more than
one outstanding command. In this new case, data corruption may occur.
Since we have two devices now needing this quirky behavior, make a
generic quirk flag.

The same Apple quirk is clearly not "temporary", so update the comment
while moving it.

Link: https://lore.kernel.org/linux-nvme/191d810a4e3.fcc6066c765804.973611676137075390@collabora.com/
Reported-by: Robert Beckett <bob.beckett@collabora.com>
Reviewed-by: Christoph Hellwig hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/nvme/host/nvme.h
drivers/nvme/host/pci.c