[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAPDyKFoRRtJQgFJeMbuwkKRN4LbHpEpK38q2U8TXje7m6buRfA@mail.gmail.com>
Date: Fri, 22 Aug 2025 12:15:54 +0200
From: Ulf Hansson <ulf.hansson@...aro.org>
To: Jisheng Zhang <jszhang@...nel.org>
Cc: Aubin Constans <aubin.constans@...rochip.com>,
Nicolas Ferre <nicolas.ferre@...rochip.com>,
Alexandre Belloni <alexandre.belloni@...tlin.com>, Claudiu Beznea <claudiu.beznea@...on.dev>,
Manuel Lauss <manuel.lauss@...il.com>, Michał Mirosław <mirq-linux@...e.qmqm.pl>,
Jaehoon Chung <jh80.chung@...sung.com>, Krzysztof Kozlowski <krzk@...nel.org>,
Alim Akhtar <alim.akhtar@...sung.com>, Heiko Stuebner <heiko@...ech.de>,
Russell King <linux@...linux.org.uk>, Chaotian Jing <chaotian.jing@...iatek.com>,
Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>, Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>, Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>, Adrian Hunter <adrian.hunter@...el.com>,
Kamal Dasu <kamal.dasu@...adcom.com>, Al Cooper <alcooperx@...il.com>,
Broadcom internal kernel review list <bcm-kernel-feedback-list@...adcom.com>,
Florian Fainelli <florian.fainelli@...adcom.com>, Haibo Chen <haibo.chen@....com>,
Michal Simek <michal.simek@....com>, Eugen Hristev <eugen.hristev@...aro.org>,
Vignesh Raghavendra <vigneshr@...com>, Ben Dooks <ben-linux@...ff.org>, Viresh Kumar <vireshk@...nel.org>,
Orson Zhai <orsonzhai@...il.com>, Baolin Wang <baolin.wang@...ux.alibaba.com>,
Chunyan Zhang <zhang.lyra@...il.com>, Patrice Chotard <patrice.chotard@...s.st.com>,
Thierry Reding <thierry.reding@...il.com>, Jonathan Hunter <jonathanh@...dia.com>,
Chen-Yu Tsai <wens@...e.org>, Jernej Skrabec <jernej.skrabec@...il.com>,
Samuel Holland <samuel@...lland.org>, Alexey Charkov <alchark@...il.com>, linux-mmc@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 00/38] mmc: host: use modern PM macros
On Fri, 15 Aug 2025 at 03:51, Jisheng Zhang <jszhang@...nel.org> wrote:
>
> Use the modern PM macros for the suspend and resume functions to be
> automatically dropped by the compiler when CONFIG_PM or
> CONFIG_PM_SLEEP are disabled, without having to use #ifdef guards or
> __maybe_unused.
>
> This has the advantage of always compiling these functions in,
> independently of any Kconfig option. Thanks to that, bugs and other
> regressions are subsequently easier to catch.
>
> Previously, I only cleaned up the host drivers which I used, e.g
> sdhci-of-dwcmshc, sdhci-pxav3 and sdhci-xenon, these are both compile
> tested and functionality tested. But then I also cleaned up other
> host drivers, but they are compile-tested only.
>
> Jisheng Zhang (38):
> sdhci: add some simple inline functions for !CONFIG_PM
> mmc: sdhci-of-dwcmshc: use modern PM macros
> mmc: sdhci-xenon: use modern PM macros
> mmc: sdhci-pxav3: use modern PM macros
> mmc: sunxi: use modern PM macros
> mmc: alcor: use modern PM macros
> mmc: atmel: use modern PM macros
> mmc: au1xmmc: use modern PM macros
> mmc: cb710-mmc: use modern PM macros
> mmc: davinci_mmc: use modern PM macros
> mmc: mmci: use modern PM macros
> mmc: mxs-mmc: use modern PM macros
> mmc: omap_hsmmc: use modern PM macros
> mmc: rtsx_usb_sdmmc: use modern PM macros
> mmc: sdhci-acpi: use modern PM macros
> mmc: sdhci_am654: use modern PM macros
> mmc: sdhci-brcmstb: use modern PM macros
> mmc: sdhci-esdhc-imx: use modern PM macros
> mmc: sdhci-of-arasan: use modern PM macros
> mmc: sdhci-of-at91: use modern PM macros
> mmc: sdhci-of-esdhc: use modern PM macros
> mmc: sdhci-omap: use modern PM macros
> mmc: sdhci-cadence: use modern PM macros
> mmc: sdhci-s3c: use modern PM macros
> mmc: sdhci-spear: use modern PM macros
> mmc: sdhci-sprd: use modern PM macros
> mmc: sdhci-st: use modern PM macros
> mmc: sdhci-tegra: use modern PM macros
> mmc: sh_mmicf: use modern PM macros
> mmc: toshsd: use modern PM macros
> mmc: wmt-sdmmc: use modern PM macros
> mmc: mtk-sd: use modern PM macros
> mmc: sdhci-msm: use modern PM macros
> mmc: via-sdmmc: use modern PM macros
> mmc: dw_mmc: exynos: use modern PM macros
> mmc: dw_mmc-k3: use modern PM macros
> mmc: dw_mmc-pci: use modern PM macros
> mmc: dw_mmc-rockchip: use modern PM macros
>
> drivers/mmc/host/alcor.c | 8 +++-----
> drivers/mmc/host/atmel-mci.c | 9 +++------
> drivers/mmc/host/au1xmmc.c | 18 +++++++-----------
> drivers/mmc/host/cb710-mmc.c | 19 +++++++++----------
> drivers/mmc/host/davinci_mmc.c | 14 +++-----------
> drivers/mmc/host/dw_mmc-exynos.c | 13 +++----------
> drivers/mmc/host/dw_mmc-k3.c | 9 +++------
> drivers/mmc/host/dw_mmc-pci.c | 9 +++------
> drivers/mmc/host/dw_mmc-rockchip.c | 9 +++------
> drivers/mmc/host/dw_mmc.h | 3 +++
> drivers/mmc/host/mmci.c | 9 +++------
> drivers/mmc/host/mtk-sd.c | 14 +++++++-------
> drivers/mmc/host/mxs-mmc.c | 6 ++----
> drivers/mmc/host/omap_hsmmc.c | 13 ++++---------
> drivers/mmc/host/rtsx_usb_sdmmc.c | 7 ++-----
> drivers/mmc/host/sdhci-acpi.c | 18 ++++--------------
> drivers/mmc/host/sdhci-brcmstb.c | 8 ++------
> drivers/mmc/host/sdhci-cadence.c | 8 ++------
> drivers/mmc/host/sdhci-esdhc-imx.c | 13 +++----------
> drivers/mmc/host/sdhci-msm.c | 21 +++++++++------------
> drivers/mmc/host/sdhci-of-arasan.c | 8 +++-----
> drivers/mmc/host/sdhci-of-at91.c | 12 +++---------
> drivers/mmc/host/sdhci-of-dwcmshc.c | 13 +++----------
> drivers/mmc/host/sdhci-of-esdhc.c | 8 ++------
> drivers/mmc/host/sdhci-omap.c | 18 +++++++-----------
> drivers/mmc/host/sdhci-pxav3.c | 11 +++--------
> drivers/mmc/host/sdhci-s3c.c | 11 +++--------
> drivers/mmc/host/sdhci-spear.c | 6 ++----
> drivers/mmc/host/sdhci-sprd.c | 10 +++-------
> drivers/mmc/host/sdhci-st.c | 6 ++----
> drivers/mmc/host/sdhci-tegra.c | 13 +++++--------
> drivers/mmc/host/sdhci-xenon.c | 13 +++----------
> drivers/mmc/host/sdhci.h | 7 +++++++
> drivers/mmc/host/sdhci_am654.c | 10 +++-------
> drivers/mmc/host/sh_mmcif.c | 8 ++------
> drivers/mmc/host/sunxi-mmc.c | 11 +++--------
> drivers/mmc/host/toshsd.c | 8 ++------
> drivers/mmc/host/via-sdmmc.c | 10 +++++-----
> drivers/mmc/host/wmt-sdmmc.c | 16 ++--------------
> 39 files changed, 141 insertions(+), 286 deletions(-)
>
> --
> 2.50.0
>
The series applied for next, thanks!
Kind regards
Uffe
Powered by blists - more mailing lists