linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 00/10] Improve link power management
@ 2025-07-01 12:53 Damien Le Moal
  2025-07-01 12:53 ` [PATCH v3 01/10] ata: libata-core: Introduce ata_dev_config_lpm() Damien Le Moal
                   ` (10 more replies)
  0 siblings, 11 replies; 13+ messages in thread
From: Damien Le Moal @ 2025-07-01 12:53 UTC (permalink / raw)
  To: linux-ide, Niklas Cassel

This patch series improves ATA link power management, mainly for the
AHCI driver. Follow-up patches will address libsas and AHCI platform
adapters.

These patches are a mix of code cleanup and LPM management improvements
around the application of an appropriate initial link power management
policy and preventing users or system daemons from changing a port link
power management policy through sysfs when the port or the device does
not support LPM policies or the port is an external port (and using LPM
would break the port hotplug capability).

Changes from v2:
 - Improved comments in ata_dev_config_lpm() and the commit message of
   patch 1
 - Improved commit message of patch 7
 - Added review tags

Changes from v1:
 - Improved commit message of patch 1 as suggested by Niklas.
 - Removed warning message in patch 7.
 - Changed warning message in patch 8 to be a debug message. Also fixed
   a typo in the commit message.
 - Changed message to be a single line in patch 10.

Damien Le Moal (10):
  ata: libata-core: Introduce ata_dev_config_lpm()
  ata: libata-core: Move device LPM quirk settings to ata_dev_config_lpm()
  ata: libata-core: Advertize device support for DIPM and HIPM features
  ata: libata-eh: Avoid unnecessary resets when revalidating devices
  ata: libata-sata: Disallow changing LPM state if not supported
  ata: ahci: Disable DIPM if host lacks support
  ata: ahci: Disallow LPM policy control for external ports
  ata: ahci: Disallow LPM policy control if not supported
  ata: libata-core: Reduce the number of messages signaling broken LPM
  ata: libata_eh: Add debug messages to ata_eh_link_set_lpm()

 drivers/ata/ahci.c        | 15 ++++++--
 drivers/ata/libata-core.c | 73 +++++++++++++++++++++++++++++----------
 drivers/ata/libata-eh.c   | 31 ++++++++++++++++-
 drivers/ata/libata-sata.c |  5 +++
 4 files changed, 103 insertions(+), 21 deletions(-)

-- 
2.50.0


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

end of thread, other threads:[~2025-07-02 10:06 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-01 12:53 [PATCH v3 00/10] Improve link power management Damien Le Moal
2025-07-01 12:53 ` [PATCH v3 01/10] ata: libata-core: Introduce ata_dev_config_lpm() Damien Le Moal
2025-07-01 14:10   ` Hannes Reinecke
2025-07-01 12:53 ` [PATCH v3 02/10] ata: libata-core: Move device LPM quirk settings to ata_dev_config_lpm() Damien Le Moal
2025-07-01 12:53 ` [PATCH v3 03/10] ata: libata-core: Advertize device support for DIPM and HIPM features Damien Le Moal
2025-07-01 12:53 ` [PATCH v3 04/10] ata: libata-eh: Avoid unnecessary resets when revalidating devices Damien Le Moal
2025-07-01 12:53 ` [PATCH v3 05/10] ata: libata-sata: Disallow changing LPM state if not supported Damien Le Moal
2025-07-01 12:53 ` [PATCH v3 06/10] ata: ahci: Disable DIPM if host lacks support Damien Le Moal
2025-07-01 12:53 ` [PATCH v3 07/10] ata: ahci: Disallow LPM policy control for external ports Damien Le Moal
2025-07-01 12:53 ` [PATCH v3 08/10] ata: ahci: Disallow LPM policy control if not supported Damien Le Moal
2025-07-01 12:53 ` [PATCH v3 09/10] ata: libata-core: Reduce the number of messages signaling broken LPM Damien Le Moal
2025-07-01 12:53 ` [PATCH v3 10/10] ata: libata_eh: Add debug messages to ata_eh_link_set_lpm() Damien Le Moal
2025-07-02 10:06 ` [PATCH v3 00/10] Improve link power management Niklas Cassel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).