Patch "nvme-pci: Fix the instructions for disabling power management" has been added to the 6.10-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: Fix the instructions for disabling power management

to the 6.10-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-fix-the-instructions-for-disabling-power-ma.patch
and it can be found in the queue-6.10 subdirectory.

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



commit 2217a0618ec7135d3b22bc975470f7e009547629
Author: Bart Van Assche <bvanassche@xxxxxxx>
Date:   Thu Jul 11 15:59:52 2024 -0700

    nvme-pci: Fix the instructions for disabling power management
    
    [ Upstream commit 92fc2c469eb26060384e9b2cd4cb0cc228aba582 ]
    
    pcie_aspm=off tells the kernel not to modify the ASPM configuration. This
    setting does not guarantee that ASPM (Active State Power Management) is
    disabled. Hence add pcie_port_pm=off. This disables power management for
    all PCIe ports.
    
    This patch has been tested on a workstation with a Samsung SSD 970 EVO Plus
    NVMe SSD.
    
    Fixes: 4641a8e6e145 ("nvme-pci: add trouble shooting steps for timeouts")
    Cc: Keith Busch <kbusch@xxxxxxxxxx>
    Cc: Christoph Hellwig <hch@xxxxxx>
    Cc: Chaitanya Kulkarni <kch@xxxxxxxxxx>
    Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx>
    Signed-off-by: Keith Busch <kbusch@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
index 102a9fb0c65ff..9e9b05e79c474 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -1274,7 +1274,7 @@ static void nvme_warn_reset(struct nvme_dev *dev, u32 csts)
 	dev_warn(dev->ctrl.device,
 		 "Does your device have a faulty power saving mode enabled?\n");
 	dev_warn(dev->ctrl.device,
-		 "Try \"nvme_core.default_ps_max_latency_us=0 pcie_aspm=off\" and report a bug\n");
+		 "Try \"nvme_core.default_ps_max_latency_us=0 pcie_aspm=off pcie_port_pm=off\" and report a bug\n");
 }
 
 static enum blk_eh_timer_return nvme_timeout(struct request *req)




[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