Skip to content

RFC AHCI power management cleanup

Raphael Gallais-Pou imx linux-arm-kernel linux-ide linux-mediatek linux-renesas-soc linux-sunxi lkml llvm oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected] change-id 20250113-pm_ata-dbc07b3b0df3

Versions newest first

  1. v1 RFC Latest14 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14ahci: brcm: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()drivers/ata/ahci_brcm.c+3 -30 replies
2/14ahci: ceva: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()drivers/ata/ahci_ceva.c+4 -40 replies
3/14ahci: da850: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()drivers/ata/ahci_da850.c+4 -30 replies
4/14ahci: dm816: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()drivers/ata/ahci_dm816.c+4 -40 replies
5/14ahci: imx: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()drivers/ata/ahci_imx.c+2 -41 reply
6/14ahci: mtk: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()drivers/ata/ahci_mtk.c+4 -30 replies
7/14ahci: platform: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()drivers/ata/ahci_platform.c+4 -30 replies
8/14ahci: qoriq: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()drivers/ata/ahci_qoriq.c+4 -50 replies
9/14ahci: seattle: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()drivers/ata/ahci_seattle.c+4 -30 replies
10/14ahci: sunxi: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()drivers/ata/ahci_sunxi.c+4 -51 reply
11/14ahci: pata_arasan_cf: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()drivers/ata/pata_arasan_cf.c+2 -40 replies
12/14ahci: pata_imx: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()drivers/ata/pata_imx.c+2 -40 replies
13/14ahci: sata_highbank: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()drivers/ata/sata_highbank.c+4 -50 replies
14/14ahci: sata_rcar: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()drivers/ata/sata_rcar.c+1 -52 replies

Reviews trailers per patch

2 of 14 patches have a Reviewed-by or Acked-by.

PatchFrank LiJernej Skrabec
1/14
2/14
3/14
4/14
5/14R-b
6/14
7/14
8/14
9/14
10/14A-b
11/14
12/14
13/14
14/14

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC PATCH 00/14] AHCI power management cleanup

Several AHCI drivers expose suspend/resume functions in a way that can be simplified. Using pre-processor operation can lead to errors, while relying on automatic kernel configuration is safer. It also shrinks the kernel size when CONFIG_PM_SLEEP is not used[1].

This has been compile-tested on x86, arm and arm64.

[1] https://lore.kernel.org/lkml/[email protected]/

---
Raphael Gallais-Pou (14):
ahci: brcm: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()
ahci: ceva: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()
ahci: da850: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()
ahci: dm816: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()
ahci: imx: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()
ahci: mtk: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()
ahci: platform: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()
ahci: qoriq: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()
ahci: seattle: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()
ahci: sunxi: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()
ahci: pata_arasan_cf: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()
ahci: pata_imx: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()
ahci: sata_highbank: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()
ahci: sata_rcar: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()

 drivers/ata/ahci_brcm.c      | 6 +++---
 drivers/ata/ahci_ceva.c      | 8 ++++----
 drivers/ata/ahci_da850.c     | 7 ++++---
 drivers/ata/ahci_dm816.c     | 8 ++++----
 drivers/ata/ahci_imx.c       | 6 ++----
 drivers/ata/ahci_mtk.c       | 7 ++++---
 drivers/ata/ahci_platform.c  | 7 ++++---
 drivers/ata/ahci_qoriq.c     | 9 ++++-----
 drivers/ata/ahci_seattle.c   | 7 ++++---
 drivers/ata/ahci_sunxi.c     | 9 ++++-----
 drivers/ata/pata_arasan_cf.c | 6 ++----
 drivers/ata/pata_imx.c       | 6 ++----
 drivers/ata/sata_highbank.c  | 9 ++++-----
 drivers/ata/sata_rcar.c      | 6 +-----
 14 files changed, 46 insertions(+), 55 deletions(-)

---
base-commit: 5ffa57f6eecefababb8cbe327222ef171943b183
change-id: 20250113-pm_ata-dbc07b3b0df3

Best regards,

Signature · 1 line
Raphael Gallais-Pou <[email protected]>