public inbox for linux-ide@vger.kernel.org
 help / color / mirror / Atom feed
* [REGRESSION] libata: SATA LPM forcibly disabled on Intel Raptor Lake since Linux 6.14.
@ 2026-01-06 19:57 wolf
  2026-01-07 10:14 ` Niklas Cassel
  0 siblings, 1 reply; 6+ messages in thread
From: wolf @ 2026-01-06 19:57 UTC (permalink / raw)
  To: linux-ide; +Cc: damien.lemoal, tj

Hello,

I am reporting a power-management regression in libata affecting the 
Intel Raptor Lake SATA AHCI Controller, introduced after Linux 6.14.

Hardware:
- CPU: Intel Core i5-12500
- SATA controller: Intel Corporation Raptor Lake SATA AHCI Controller 
[8086:7a62]
- Motherboard: Gigabyte B760 GAMING X DDR4

Distributions tested:
- Proxmox / Debian 13 (Trixie)
- Chimera Linux Live USB (kernel 6.18)

Kernel versions tested:
- 6.14.x (Proxmox): OK
- 6.17.x (Proxmox): REGRESSION
- 6.18.x (Chimera): REGRESSION

Problem description:
On kernel versions newer than 6.14, SATA Link Power Management (LPM) is 
forcibly disabled on part of the controller.
Out of 8 SCSI hosts, 4 hosts are stuck with link_power_management_policy 
set to "max_performance" and cannot be changed:

max_performance
max_performance
max_performance
max_performance
med_power_with_dipm
med_power_with_dipm
med_power_with_dipm
med_power_with_dipm

The motherboard only has 4 physical SATA ports, so the presence of 8 
hosts and 4 apparent dummy ports might be unexpected?

Manually setting LPM on the affected hosts fails with:
echo med_power_with_dipm > 
/sys/class/scsi_host/host*/link_power_management_policy
-bash: echo: write error: Operation not supported

This worked correctly on 6.14.x and earlier.

Because LPM cannot be enabled on all ports, the system is unable to 
enter deeper package C-states.

Observed effects:
- CPU package C-states are stuck at C3 (normally reaches C8 or deeper)
- Idle power consumption increased by approximately 4 watts
- powertop reports 4 out of 8 SATA LPM tunables as permanently "Bad"

SATA LPM worked reliably on this hardware on previous kernels

dmesg logs:
Working (6.14):
https://www.dropbox.com/scl/fi/5ryfjrp9fgx1dkxmszm5l/6.14-proxmox.txt?rlkey=75y3hue5whdmxbfvxq1piyofg&raw=1

Not working:
6.17 (Proxmox):
https://www.dropbox.com/scl/fi/ja2w0qtfummkmh406rxc7/6.17-proxmox.txt?rlkey=qxqpi7w2rn0ecbhdf2t4ju9kh&raw=1

6.18 (Chimera):
https://www.dropbox.com/scl/fi/s7412dfcv3pjk63mqfrep/6.18-chimera.txt?rlkey=9dd5wylsxb45l1b9zxgxadaw7&raw=1

While reviewing the logs, I noticed:
The presence of 4 apparent dummy SATA ports
Exactly 4 out of 8 SATA LPM entries disabled in both sysfs and powertop
This suggests the issue may be related to SATA port enumeration or 
libata power-management handling in newer kernels.


Expected behavior:
The ability to enable SATA Link Power Management on all SATA hosts 
should be restored, allowing the system to enter deeper package C-states 
and return to previous idle power levels.


Best regards,
Wolf

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-01-07 15:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-06 19:57 [REGRESSION] libata: SATA LPM forcibly disabled on Intel Raptor Lake since Linux 6.14 wolf
2026-01-07 10:14 ` Niklas Cassel
2026-01-07 10:19   ` Damien Le Moal
     [not found]     ` <70a55b1ecd97f30795879994a07764bc@yoxt.cc>
2026-01-07 10:38       ` Damien Le Moal
2026-01-07 11:20     ` Niklas Cassel
2026-01-07 15:16       ` Damien Le Moal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox