]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-pci: add NO APST quirk for Kioxia device
authorEnzo Matsumiya <ematsumiya@suse.de>
Sat, 6 Nov 2021 02:08:57 +0000 (23:08 -0300)
committerChristoph Hellwig <hch@lst.de>
Tue, 23 Nov 2021 16:22:41 +0000 (17:22 +0100)
commit2dff4c1c3d8f4d3fb8f898f15f6d7bf0cca6bbc3
treeef38f98b58cd6b32ece94c9abf05096aa6d9a6a8
parent5da11ae67771796d5ccd3a478a4d11d8fc539add
nvme-pci: add NO APST quirk for Kioxia device

This particular Kioxia device times out and aborts I/O during any load,
but it's more easily observable with discards (fstrim).

The device gets to a state that is also not possible to use
"nvme set-feature" to disable APST.
Booting with nvme_core.default_ps_max_latency=0 solves the issue.

We had a dozen or so of these devices behaving this same way in
customer environments.

Signed-off-by: Enzo Matsumiya <ematsumiya@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/core.c