[PATCH i-g-t] lib/igt_pm: Skip LPM policy control on unsupported SATA hosts

Damien Le Moal dlemoal at kernel.org
Thu Jul 31 09:21:41 UTC 2025


On 7/31/25 4:41 PM, Chaitanya Kumar Borah wrote:
> With [1], LPM policy control is now disabled for external SATA ports.
> This led to a regression in our CI runs [2]. Discussions on the regression
> resulted in patch [3] which introduces a new sysfs entry, querying
> which we can determine if LPM policy control is allowed on a host or not.
> 
> Store/Re-store LPM policy only when it is allowed. If the sysfs entry is
> not present assume LPM policy control is allowed. This  maintains backward
> compatibility.
> 
> [1] https://lore.kernel.org/linux-ide/20250701125321.69496-8-dlemoal@kernel.org/
> [2] https://lore.kernel.org/linux-ide/07563042-6576-41cd-9a95-de83cfc95de1@intel.com/
> [3] https://lore.kernel.org/linux-ide/20250730001947.332661-1-dlemoal@kernel.org/

By the way, I queued up this patch and pushed it to libata for-next branch. So
you will see it in linux-next tomorrow I expect.
I will send this (plus other fixes) next week to Linus to have everything in
6.17-rc1.

-- 
Damien Le Moal
Western Digital Research


More information about the igt-dev mailing list