Patch "nvme-pci: avoid the deepest sleep state on ZHITAI TiPro7000 SSDs" 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: avoid the deepest sleep state on ZHITAI TiPro7000 SSDs

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-avoid-the-deepest-sleep-state-on-zhitai-tip.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 d72fba6960ae02614dec6784576ff6d0846dfe45
Author: Ning Wang <ningwang35@xxxxxxxxxxx>
Date:   Sun Jun 5 20:36:48 2022 +0000

    nvme-pci: avoid the deepest sleep state on ZHITAI TiPro7000 SSDs
    
    [ Upstream commit 6b961bce50e489186232cef51036ddb8d672bc3b ]
    
    When ZHITAI TiPro7000 SSDs entered deepest power state(ps4)
    it has the same APST sleep problem as Kingston A2000.
    by chance the system crashes and displays the same dmesg info:
    
    https://bugzilla.kernel.org/show_bug.cgi?id=195039#c65
    
    As the Archlinux wiki suggest (enlat + exlat) < 25000 is fine
    and my testing shows no system crashes ever since.
    Therefore disabling the deepest power state will fix the APST sleep issue.
    
    https://wiki.archlinux.org/title/Solid_state_drive/NVMe
    
    This is the APST data from 'nvme id-ctrl /dev/nvme1'
    
    NVME Identify Controller:
    vid       : 0x1e49
    ssvid     : 0x1e49
    sn        : [...]
    mn        : ZHITAI TiPro7000 1TB
    fr        : ZTA32F3Y
    [...]
    ps    0 : mp:3.50W operational enlat:5 exlat:5 rrt:0 rrl:0
              rwt:0 rwl:0 idle_power:- active_power:-
    ps    1 : mp:3.30W operational enlat:50 exlat:100 rrt:1 rrl:1
              rwt:1 rwl:1 idle_power:- active_power:-
    ps    2 : mp:2.80W operational enlat:50 exlat:200 rrt:2 rrl:2
              rwt:2 rwl:2 idle_power:- active_power:-
    ps    3 : mp:0.1500W non-operational enlat:500 exlat:5000 rrt:3 rrl:3
              rwt:3 rwl:3 idle_power:- active_power:-
    ps    4 : mp:0.0200W non-operational enlat:2000 exlat:60000 rrt:4 rrl:4
              rwt:4 rwl:4 idle_power:- active_power:-
    
    Signed-off-by: Ning Wang <ningwang35@xxxxxxxxxxx>
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Stable-dep-of: 74391b3e6985 ("nvme-pci: add NVME_QUIRK_BOGUS_NID for T-FORCE Z330 SSD")
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
index e0f0c9aa9391a..7b0331848664d 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -3390,6 +3390,8 @@ static const struct pci_device_id nvme_id_table[] = {
 		.driver_data = NVME_QUIRK_BOGUS_NID, },
 	{ PCI_DEVICE(0x1cc1, 0x5350),   /* ADATA XPG GAMMIX S50 */
 		.driver_data = NVME_QUIRK_BOGUS_NID, },
+	{ PCI_DEVICE(0x1e49, 0x0041),   /* ZHITAI TiPro7000 NVMe SSD */
+		.driver_data = NVME_QUIRK_NO_DEEPEST_PS, },
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMAZON, 0x0061),
 		.driver_data = NVME_QUIRK_DMA_ADDRESS_BITS_48, },
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMAZON, 0x0065),



[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