Bug 219747 - ATA_QUIRK_NOLPM breaks entering lower package states on kernel 6.14-rc1
Summary: ATA_QUIRK_NOLPM breaks entering lower package states on kernel 6.14-rc1
Status: NEW
Alias: None
Product: Linux
Classification: Unclassified
Component: Kernel (show other bugs)
Hardware: Intel Linux
: P3 high
Assignee: Virtual Assignee for IO Storage/Serial ATA
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-03 09:11 UTC by Dieter Mummenschanz
Modified: 2025-03-02 10:41 UTC (History)
2 users (show)

See Also:
Kernel Version: 6.14-rc1
Subsystem:
Regression: Yes
Bisected commit-id: cc77e2ce187d26cc66af3577bf896d7410eb25ab


Attachments
dmesg log (59.80 KB, text/plain)
2025-02-03 09:13 UTC, Dieter Mummenschanz
Details

Description Dieter Mummenschanz 2025-02-03 09:11:58 UTC
Hi, 

libata-core commit: "Add ATA_QUIRK_NOLPM for Samsung SSD 870 QVO drives" breaks LPM and therefore entering lower package states on my system with two Samsung SSD 870 QVO installed!

The kernel is configured with CONFIG_SATA_MOBILE_LPM_POLICTY=3

I have two 870 QVO drives connected to ata5.00 and ata6.00

[    1.350788] ata5.00: Model 'Samsung SSD 870 QVO 8TB', rev 'SVQ02B6Q', applying quirks: noncqtrim nolpm zeroaftertrim noncqonati
[    1.351014] ata5.00: ATA-11: Samsung SSD 870 QVO 8TB, SVQ02B6Q, max UDMA/133
[    1.377847] scsi 4:0:0:0: Direct-Access     ATA      Samsung SSD 870  2B6Q PQ: 0 ANSI: 5
[    1.761596] ata6.00: Model 'Samsung SSD 870 QVO 8TB', rev 'SVQ02B6Q', applying quirks: noncqtrim nolpm zeroaftertrim noncqonati
[    1.763281] ata6.00: ATA-11: Samsung SSD 870 QVO 8TB, SVQ02B6Q, max UDMA/133
[    1.791618] scsi 5:0:0:0: Direct-Access     ATA      Samsung SSD 870  2B6Q PQ: 0 ANSI: 5

/sys/class/scsi_host/host5/link_power_management_policy and
/sys/class/scsi_host/host6/link_power_management_policy is stuck at max_performance and cannot be changed and no packages states below pc2 are reached.
Comment 1 Dieter Mummenschanz 2025-02-03 09:13:13 UTC
Created attachment 307569 [details]
dmesg log
Comment 2 Paul Menzel 2025-03-02 10:41:46 UTC
Commit a2f925a2f622 [1] reverts the commit you mention, and should be in Linux 6.14-rc5.

[1]: https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a2f925a2f62254119cdaa360cfc9c0424bccd531

Note You need to log in before you can comment on or make changes to this bug.