Linux MultiMedia Card development
 help / color / mirror / Atom feed
From: Binbin Zhou <zhoubinbin@loongson.cn>
To: Binbin Zhou <zhoubb.aaron@gmail.com>,
	Huacai Chen <chenhuacai@loongson.cn>,
	Ulf Hansson <ulf.hansson@linaro.org>
Cc: Huacai Chen <chenhuacai@kernel.org>,
	linux-mmc@vger.kernel.org, Binbin Zhou <zhoubinbin@loongson.cn>
Subject: [PATCH v2 00/36] mmc: Cleanup mmc_alloc_host() usage
Date: Thu, 22 May 2025 14:59:16 +0800	[thread overview]
Message-ID: <cover.1747877175.git.zhoubinbin@loongson.cn> (raw)

Hi all:

First of all, I'm very sorry for the compilation failure issue due to my
cheap mistake in v1 patchset.

The patch series was tested by using lkp and cross compiling with different
architectures (arm/mips/x86_64 etc architectures) and enabling COMPILE_TEST=y
to ensure that each driver was compiled and tested.

Since the devm_mmc_alloc_host() helper was already available, I tried to
start cleaning up the use of mmc_alloc_host().

To make it easier to review the patchset, I decided to split it into two parts.
As the first part, this patchset contains cleanup for drivers other than sdhci.

Of course, the sdhci part I have ready in my repository.

Thanks.

-----
V2:
- Collect Reviewed-by and Acked-by tags.
Patch-24
  - Correct subject title: ish_mmicf -> sh_mmicf.
Patch-34
  - Fix cheap build error.

Link to V1:
https://lore.kernel.org/all/cover.1747739323.git.zhoubinbin@loongson.cn/

Binbin Zhou (36):
  mmc: alcor: Use devm_mmc_alloc_host() helper
  mmc: atmel: Use devm_mmc_alloc_host() helper
  mmc: au1xmmc: Use devm_mmc_alloc_host() helper
  mmc: bcm2835: Use devm_mmc_alloc_host() helper
  mmc: cavium: Use devm_mmc_alloc_host() helper
  mmc: cb710: Use devm_mmc_alloc_host() helper
  mmc: davinci_mmc: Use devm_mmc_alloc_host() helper
  mmc: dw_mmc: Use devm_mmc_alloc_host() helper
  mmc: jz4740: Use devm_mmc_alloc_host() helper
  mmc: litex_mmc: Use devm_mmc_alloc_host() helper
  mmc: meson-mx-sdhc: Use devm_mmc_alloc_host() helper
  mmc: mmci: Use devm_mmc_alloc_host() helper
  mmc: moxart-mmc: Use devm_mmc_alloc_host() helper
  mmc: mvsdio: Use devm_mmc_alloc_host() helper
  mmc: mxcmmc: Use devm_mmc_alloc_host() helper
  mmc: mxs-mmc: Use devm_mmc_alloc_host() helper
  mmc: omap: Use devm_mmc_alloc_host() helper
  mmc: omap_hsmmc: Use devm_mmc_alloc_host() helper
  mmc: owl-mmc: Use devm_mmc_alloc_host() helper
  mmc: pxamci: Use devm_mmc_alloc_host() helper
  mmc: rtsx_pci: Use devm_mmc_alloc_host() helper
  mmc: rtsx_usb_sdmmc: Use devm_mmc_alloc_host() helper
  mmc: sdricoh_cs: Use devm_mmc_alloc_host() helper
  mmc: sh_mmicf: Use devm_mmc_alloc_host() helper
  mmc: tifm_sd: Use devm_mmc_alloc_host() helper
  mmc: toshsd: Use devm_mmc_alloc_host() helper
  mmc: usdhi6ro10: Use devm_mmc_alloc_host() helper
  mmc: ushc: Use devm_mmc_alloc_host() helper
  mmc: via-sdmmc: Use devm_mmc_alloc_host() helper
  mmc: vub300: Use devm_mmc_alloc_host() helper
  mmc: wbsd: Use devm_mmc_alloc_host() helper
  mmc: wmt-sdmmc: Use devm_mmc_alloc_host() helper
  mmc: tmio: Use devm_mmc_alloc_host() helper
  mmc: sunxi: Use devm_mmc_alloc_host() helper
  mmc: mmc_spi: Use devm_mmc_alloc_host() helper
  mmc: meson-mx-sdio: Use devm_mmc_alloc_host() helper

 drivers/mmc/host/alcor.c             | 20 ++++---------
 drivers/mmc/host/atmel-mci.c         |  7 ++---
 drivers/mmc/host/au1xmmc.c           | 14 +++-------
 drivers/mmc/host/bcm2835.c           |  5 +---
 drivers/mmc/host/cavium.c            | 10 ++-----
 drivers/mmc/host/cb710-mmc.c         |  5 +---
 drivers/mmc/host/davinci_mmc.c       | 22 +++++----------
 drivers/mmc/host/dw_mmc.c            | 15 ++++------
 drivers/mmc/host/jz4740_mmc.c        | 40 +++++++++-----------------
 drivers/mmc/host/litex_mmc.c         | 12 +-------
 drivers/mmc/host/meson-mx-sdhc-mmc.c | 13 +--------
 drivers/mmc/host/meson-mx-sdio.c     | 20 ++++++-------
 drivers/mmc/host/mmc_spi.c           |  4 +--
 drivers/mmc/host/mmci.c              | 31 ++++++++------------
 drivers/mmc/host/moxart-mmc.c        | 40 ++++++++++----------------
 drivers/mmc/host/mvsdio.c            | 24 +++++-----------
 drivers/mmc/host/mxcmmc.c            | 31 +++++++-------------
 drivers/mmc/host/mxs-mmc.c           | 31 ++++++++------------
 drivers/mmc/host/omap.c              | 25 ++++++-----------
 drivers/mmc/host/omap_hsmmc.c        | 18 ++++--------
 drivers/mmc/host/owl-mmc.c           | 37 +++++++++---------------
 drivers/mmc/host/pxamci.c            | 42 ++++++++++------------------
 drivers/mmc/host/renesas_sdhi_core.c |  6 +---
 drivers/mmc/host/rtsx_pci_sdmmc.c    |  5 +---
 drivers/mmc/host/rtsx_usb_sdmmc.c    |  4 +--
 drivers/mmc/host/sdricoh_cs.c        | 10 ++-----
 drivers/mmc/host/sh_mmcif.c          | 17 ++++-------
 drivers/mmc/host/sunxi-mmc.c         | 22 ++++++---------
 drivers/mmc/host/tifm_sd.c           |  7 +----
 drivers/mmc/host/tmio_mmc.h          |  1 -
 drivers/mmc/host/tmio_mmc_core.c     | 18 ++----------
 drivers/mmc/host/toshsd.c            |  4 +--
 drivers/mmc/host/uniphier-sd.c       |  8 ++----
 drivers/mmc/host/usdhi6rol0.c        | 30 +++++++-------------
 drivers/mmc/host/ushc.c              |  4 +--
 drivers/mmc/host/via-sdmmc.c         |  7 ++---
 drivers/mmc/host/vub300.c            | 16 ++++-------
 drivers/mmc/host/wbsd.c              |  4 +--
 drivers/mmc/host/wmt-sdmmc.c         |  8 ++----
 39 files changed, 195 insertions(+), 442 deletions(-)


base-commit: 61bd8e76021e779f7ba3c761919b533fb3f6f584
-- 
2.47.1


             reply	other threads:[~2025-05-22  6:59 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-22  6:59 Binbin Zhou [this message]
2025-05-22  6:59 ` [PATCH v2 01/36] mmc: alcor: Use devm_mmc_alloc_host() helper Binbin Zhou
2025-05-22  6:59 ` [PATCH v2 02/36] mmc: atmel: " Binbin Zhou
2025-05-22  6:59 ` [PATCH v2 03/36] mmc: au1xmmc: " Binbin Zhou
2025-05-22  6:59 ` [PATCH v2 04/36] mmc: bcm2835: " Binbin Zhou
2025-05-22  6:59 ` [PATCH v2 05/36] mmc: cavium: " Binbin Zhou
2025-05-22  6:59 ` [PATCH v2 06/36] mmc: cb710: " Binbin Zhou
2025-05-22  6:59 ` [PATCH v2 07/36] mmc: davinci_mmc: " Binbin Zhou
2025-05-22  6:59 ` [PATCH v2 08/36] mmc: dw_mmc: " Binbin Zhou
2025-05-22  6:59 ` [PATCH v2 09/36] mmc: jz4740: " Binbin Zhou
2025-05-22  6:59 ` [PATCH v2 10/36] mmc: litex_mmc: " Binbin Zhou
2025-05-31 17:29   ` Gabriel L. Somlo
2025-05-22  6:59 ` [PATCH v2 11/36] mmc: meson-mx-sdhc: " Binbin Zhou
2025-05-22  6:59 ` [PATCH v2 12/36] mmc: mmci: " Binbin Zhou
2025-05-22  6:59 ` [PATCH v2 13/36] mmc: moxart-mmc: " Binbin Zhou
2025-05-22  7:00 ` [PATCH v2 14/36] mmc: mvsdio: " Binbin Zhou
2025-05-22  7:00 ` [PATCH v2 15/36] mmc: mxcmmc: " Binbin Zhou
2025-05-22  7:00 ` [PATCH v2 16/36] mmc: mxs-mmc: " Binbin Zhou
2025-05-22  7:00 ` [PATCH v2 17/36] mmc: omap: " Binbin Zhou
2025-05-22  7:00 ` [PATCH v2 18/36] mmc: omap_hsmmc: " Binbin Zhou
2025-05-22  7:00 ` [PATCH v2 19/36] mmc: owl-mmc: " Binbin Zhou
2025-05-22  7:00 ` [PATCH v2 20/36] mmc: pxamci: " Binbin Zhou
2025-05-22  7:00 ` [PATCH v2 21/36] mmc: rtsx_pci: " Binbin Zhou
2025-05-22  7:00 ` [PATCH v2 22/36] mmc: rtsx_usb_sdmmc: " Binbin Zhou
2025-05-22  7:00 ` [PATCH v2 23/36] mmc: sdricoh_cs: " Binbin Zhou
2025-05-22  7:00 ` [PATCH v2 24/36] mmc: sh_mmicf: " Binbin Zhou
2025-05-22  7:00 ` [PATCH v2 25/36] mmc: tifm_sd: " Binbin Zhou
2025-05-22  7:00 ` [PATCH v2 26/36] mmc: toshsd: " Binbin Zhou
2025-05-22  7:00 ` [PATCH v2 27/36] mmc: usdhi6ro10: " Binbin Zhou
2025-05-22  7:00 ` [PATCH v2 28/36] mmc: ushc: " Binbin Zhou
2025-05-22  7:00 ` [PATCH v2 29/36] mmc: via-sdmmc: " Binbin Zhou
2025-05-22  7:01 ` [PATCH v2 30/36] mmc: vub300: " Binbin Zhou
2025-05-22  7:01 ` [PATCH v2 31/36] mmc: wbsd: " Binbin Zhou
2025-05-22  7:01 ` [PATCH v2 32/36] mmc: wmt-sdmmc: " Binbin Zhou
2025-05-22  7:01 ` [PATCH v2 33/36] mmc: tmio: " Binbin Zhou
2025-05-22  7:01 ` [PATCH v2 34/36] mmc: sunxi: " Binbin Zhou
2025-05-22  7:01 ` [PATCH v2 35/36] mmc: mmc_spi: " Binbin Zhou
2025-05-22  7:01 ` [PATCH v2 36/36] mmc: meson-mx-sdio: " Binbin Zhou
2025-05-22 21:50 ` [PATCH v2 00/36] mmc: Cleanup mmc_alloc_host() usage Ulf Hansson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1747877175.git.zhoubinbin@loongson.cn \
    --to=zhoubinbin@loongson.cn \
    --cc=chenhuacai@kernel.org \
    --cc=chenhuacai@loongson.cn \
    --cc=linux-mmc@vger.kernel.org \
    --cc=ulf.hansson@linaro.org \
    --cc=zhoubb.aaron@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox