lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <635cb04f-eda3-49ec-b8bc-62f4e8c7926f@interia.pl>
Date: Sun, 14 Dec 2025 16:26:55 +0100
From: Bernard Drozd <bernid@...eria.pl>
To: linux-ide@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: damien.lemoal@...nsource.wdc.com
Subject: [REGRESSION] libata: SATA LPM forcibly disabled on Intel Jasper Lake
 since Linux 6.13

Hello,

I am reporting a power-management regression in libata affecting Intel 
Jasper Lake platforms, introduced after Linux 6.12.

Hardware:
- CPU / SoC: Intel Jasper Lake (Elkhart Lake class)
- SATA controller: Intel Jasper Lake SATA AHCI Controller (PCI ID 8086:4d03)
- Drives tested: SATA SSD + SATA HDD (multiple vendors)
- Distribution: Debian 13 (Trixie)
- Kernel versions tested:
   - 6.12.x  → OK
   - 6.17.x  → REGRESSION

Problem description:
Since kernel >= 6.13, SATA Link Power Management (LPM) is forcibly disabled.
The sysfs interface still exists but only reports:

   /sys/class/scsi_host/host*/link_power_management_policy = max_performance

Attempts to change it fail silently or are ignored:

echo 'med_power_with_dipm' > 
'/sys/class/scsi_host/host0/link_power_management_policy'
echo 'med_power_with_dipm' > 
'/sys/class/scsi_host/host1/link_power_management_policy'

This worked correctly on kernel 6.12.x and earlier.

Observed effects:
- SATA devices never enter partial/slumber
- CPU package C-states are limited (system mostly stuck in PC2 (before 
the change i had C10))
- Idle power consumption increases by ~5 W
- powertop shows SATA LPM tunables as permanently "Bad"

Relevant dmesg output (6.17.x):
   ata1: SATA link power management disabled due to platform quirk
   ata2: SATA link power management disabled due to platform quirk

This appears to be caused by the libata change disabling LPM on Intel 
platforms
without a per-platform whitelist. Jasper Lake does not exhibit 
instability with
LPM enabled and worked reliably on previous kernels.

Expectation:
- Either re-enable LPM for Intel Jasper Lake
- Or provide a kernel parameter to override the forced LPM disable
   (e.g. libata.allow_lpm=1)

This regression significantly impacts low-power systems and fanless mini-PCs
based on Jasper Lake.

Please let me know if additional logs or testing are needed.

Best regards,
bern


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ