Patch "nvme-pci: add NO APST quirk for Kioxia device" has been added to the 5.15-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    nvme-pci: add NO APST quirk for Kioxia device

to the 5.15-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     nvme-pci-add-no-apst-quirk-for-kioxia-device.patch
and it can be found in the queue-5.15 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 430ddfa7cafd83642f80d5cf9d0e9d32cdac50f2
Author: Enzo Matsumiya <ematsumiya@xxxxxxx>
Date:   Fri Nov 5 23:08:57 2021 -0300

    nvme-pci: add NO APST quirk for Kioxia device
    
    [ Upstream commit 5a6254d55e2a9f7919ead8580d7aa0c7a382b26a ]
    
    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@xxxxxxx>
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c
index 9bc9f6d225bd..3ef1f9112ee0 100644
--- a/drivers/nvme/host/core.c
+++ b/drivers/nvme/host/core.c
@@ -2475,6 +2475,20 @@ static const struct nvme_core_quirk_entry core_quirks[] = {
 		.vid = 0x14a4,
 		.fr = "22301111",
 		.quirks = NVME_QUIRK_SIMPLE_SUSPEND,
+	},
+	{
+		/*
+		 * This Kioxia CD6-V Series / HPE PE8030 device times out and
+		 * aborts I/O during any load, but more easily reproducible
+		 * with discards (fstrim).
+		 *
+		 * The device is left in a state where it is also not possible
+		 * to use "nvme set-feature" to disable APST, but booting with
+		 * nvme_core.default_ps_max_latency=0 works.
+		 */
+		.vid = 0x1e0f,
+		.mn = "KCD6XVUL6T40",
+		.quirks = NVME_QUIRK_NO_APST,
 	}
 };
 



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux