* [RFC PATCH 02/10] ath10k: sdio: update to new MMC API for resetting cards
2022-03-21 11:50 [RFC PATCH 00/10] mmc: improve API to make clear {h|s}w_reset is for cards Wolfram Sang
@ 2022-03-21 11:50 ` Wolfram Sang
2022-03-21 11:50 ` [RFC PATCH 03/10] brcmfmac: " Wolfram Sang
` (4 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: Wolfram Sang @ 2022-03-21 11:50 UTC (permalink / raw)
To: linux-mmc
Cc: linux-renesas-soc, linux-kernel, Wolfram Sang, Kalle Valo,
David S. Miller, Jakub Kicinski, ath10k, linux-wireless, netdev
No functional change, only the name and the argument type change to
avoid confusion between resetting a card and a host controller.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
RFC, please do not apply yet.
drivers/net/wireless/ath/ath10k/sdio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath10k/sdio.c b/drivers/net/wireless/ath/ath10k/sdio.c
index 63e1c2d783c5..b6c9eb0ab9c8 100644
--- a/drivers/net/wireless/ath/ath10k/sdio.c
+++ b/drivers/net/wireless/ath/ath10k/sdio.c
@@ -1633,7 +1633,7 @@ static void ath10k_sdio_hif_power_down(struct ath10k *ar)
return;
}
- ret = mmc_hw_reset(ar_sdio->func->card->host);
+ ret = mmc_card_hw_reset(ar_sdio->func->card);
if (ret)
ath10k_warn(ar, "unable to reset sdio: %d\n", ret);
--
2.30.2
^ permalink raw reply related [flat|nested] 8+ messages in thread* [RFC PATCH 03/10] brcmfmac: sdio: update to new MMC API for resetting cards
2022-03-21 11:50 [RFC PATCH 00/10] mmc: improve API to make clear {h|s}w_reset is for cards Wolfram Sang
2022-03-21 11:50 ` [RFC PATCH 02/10] ath10k: sdio: update to new MMC API for resetting cards Wolfram Sang
@ 2022-03-21 11:50 ` Wolfram Sang
2022-03-21 11:57 ` Arend van Spriel
2022-03-21 11:50 ` [RFC PATCH 04/10] mwifiex: " Wolfram Sang
` (3 subsequent siblings)
5 siblings, 1 reply; 8+ messages in thread
From: Wolfram Sang @ 2022-03-21 11:50 UTC (permalink / raw)
To: linux-mmc
Cc: linux-renesas-soc, linux-kernel, Wolfram Sang, Arend van Spriel,
Franky Lin, Hante Meuleman, Chi-hsien Lin, Wright Feng,
Chung-hsien Hsu, Kalle Valo, David S. Miller, Jakub Kicinski,
linux-wireless, brcm80211-dev-list.pdl, SHA-cyfmac-dev-list,
netdev
No functional change, only the name and the argument type change to
avoid confusion between resetting a card and a host controller.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
RFC, please do not apply yet.
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
index 8effeb7a7269..df5b36217a0d 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
@@ -4165,7 +4165,7 @@ static int brcmf_sdio_bus_reset(struct device *dev)
/* reset the adapter */
sdio_claim_host(sdiodev->func1);
- mmc_hw_reset(sdiodev->func1->card->host);
+ mmc_card_hw_reset(sdiodev->func1->card);
sdio_release_host(sdiodev->func1);
brcmf_bus_change_state(sdiodev->bus_if, BRCMF_BUS_DOWN);
--
2.30.2
^ permalink raw reply related [flat|nested] 8+ messages in thread* Re: [RFC PATCH 03/10] brcmfmac: sdio: update to new MMC API for resetting cards
2022-03-21 11:50 ` [RFC PATCH 03/10] brcmfmac: " Wolfram Sang
@ 2022-03-21 11:57 ` Arend van Spriel
0 siblings, 0 replies; 8+ messages in thread
From: Arend van Spriel @ 2022-03-21 11:57 UTC (permalink / raw)
To: Wolfram Sang, linux-mmc
Cc: linux-renesas-soc, linux-kernel, Arend van Spriel, Franky Lin,
Hante Meuleman, Chi-hsien Lin, Wright Feng, Chung-hsien Hsu,
Kalle Valo, David S. Miller, Jakub Kicinski, linux-wireless,
brcm80211-dev-list.pdl, SHA-cyfmac-dev-list, netdev
[-- Attachment #1: Type: text/plain, Size: 520 bytes --]
On 3/21/2022 12:50 PM, Wolfram Sang wrote:
> No functional change, only the name and the argument type change to
> avoid confusion between resetting a card and a host controller.
No comments for the driver side change presented here.
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> ---
>
> RFC, please do not apply yet.
>
> drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4219 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* [RFC PATCH 04/10] mwifiex: sdio: update to new MMC API for resetting cards
2022-03-21 11:50 [RFC PATCH 00/10] mmc: improve API to make clear {h|s}w_reset is for cards Wolfram Sang
2022-03-21 11:50 ` [RFC PATCH 02/10] ath10k: sdio: update to new MMC API for resetting cards Wolfram Sang
2022-03-21 11:50 ` [RFC PATCH 03/10] brcmfmac: " Wolfram Sang
@ 2022-03-21 11:50 ` Wolfram Sang
2022-03-21 11:50 ` [RFC PATCH 05/10] wlcore: " Wolfram Sang
` (2 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: Wolfram Sang @ 2022-03-21 11:50 UTC (permalink / raw)
To: linux-mmc
Cc: linux-renesas-soc, linux-kernel, Wolfram Sang, Amitkumar Karwar,
Ganapathi Bhat, Sharvari Harisangam, Xinming Hu, Kalle Valo,
David S. Miller, Jakub Kicinski, linux-wireless, netdev
No functional change, only the name and the argument type change to
avoid confusion between resetting a card and a host controller.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
RFC, please do not apply yet.
drivers/net/wireless/marvell/mwifiex/sdio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/marvell/mwifiex/sdio.c b/drivers/net/wireless/marvell/mwifiex/sdio.c
index bde9e4bbfffe..8c3730c7d93e 100644
--- a/drivers/net/wireless/marvell/mwifiex/sdio.c
+++ b/drivers/net/wireless/marvell/mwifiex/sdio.c
@@ -2639,7 +2639,7 @@ static void mwifiex_sdio_card_reset_work(struct mwifiex_adapter *adapter)
/* Run a HW reset of the SDIO interface. */
sdio_claim_host(func);
- ret = mmc_hw_reset(func->card->host);
+ ret = mmc_card_hw_reset(func->card);
sdio_release_host(func);
switch (ret) {
--
2.30.2
^ permalink raw reply related [flat|nested] 8+ messages in thread* [RFC PATCH 05/10] wlcore: sdio: update to new MMC API for resetting cards
2022-03-21 11:50 [RFC PATCH 00/10] mmc: improve API to make clear {h|s}w_reset is for cards Wolfram Sang
` (2 preceding siblings ...)
2022-03-21 11:50 ` [RFC PATCH 04/10] mwifiex: " Wolfram Sang
@ 2022-03-21 11:50 ` Wolfram Sang
2022-03-22 6:43 ` [RFC PATCH 00/10] mmc: improve API to make clear {h|s}w_reset is for cards Wolfram Sang
2022-04-01 16:25 ` Wolfram Sang
5 siblings, 0 replies; 8+ messages in thread
From: Wolfram Sang @ 2022-03-21 11:50 UTC (permalink / raw)
To: linux-mmc
Cc: linux-renesas-soc, linux-kernel, Wolfram Sang, Kalle Valo,
David S. Miller, Jakub Kicinski, linux-wireless, netdev
No functional change, only the name and the argument type change to
avoid confusion between resetting a card and a host controller.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
RFC, please do not apply yet.
drivers/net/wireless/ti/wlcore/sdio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ti/wlcore/sdio.c b/drivers/net/wireless/ti/wlcore/sdio.c
index 72fc41ac83c0..62246a98bbc9 100644
--- a/drivers/net/wireless/ti/wlcore/sdio.c
+++ b/drivers/net/wireless/ti/wlcore/sdio.c
@@ -146,7 +146,7 @@ static int wl12xx_sdio_power_on(struct wl12xx_sdio_glue *glue)
* To guarantee that the SDIO card is power cycled, as required to make
* the FW programming to succeed, let's do a brute force HW reset.
*/
- mmc_hw_reset(card->host);
+ mmc_card_hw_reset(card);
sdio_enable_func(func);
sdio_release_host(func);
--
2.30.2
^ permalink raw reply related [flat|nested] 8+ messages in thread* Re: [RFC PATCH 00/10] mmc: improve API to make clear {h|s}w_reset is for cards
2022-03-21 11:50 [RFC PATCH 00/10] mmc: improve API to make clear {h|s}w_reset is for cards Wolfram Sang
` (3 preceding siblings ...)
2022-03-21 11:50 ` [RFC PATCH 05/10] wlcore: " Wolfram Sang
@ 2022-03-22 6:43 ` Wolfram Sang
2022-04-01 16:25 ` Wolfram Sang
5 siblings, 0 replies; 8+ messages in thread
From: Wolfram Sang @ 2022-03-22 6:43 UTC (permalink / raw)
To: linux-mmc
Cc: linux-renesas-soc, linux-kernel, ath10k, bcm-kernel-feedback-list,
brcm80211-dev-list.pdl, linux-amlogic, linux-arm-kernel,
linux-mediatek, linux-rpi-kernel, linux-sunxi, linux-wireless,
netdev, SHA-cyfmac-dev-list
[-- Attachment #1: Type: text/plain, Size: 143 bytes --]
> I tested it with my Renesas boards, so far no regressions. Buildbots are
> currently checking the series.
Update: buildbots are happy \o/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [RFC PATCH 00/10] mmc: improve API to make clear {h|s}w_reset is for cards
2022-03-21 11:50 [RFC PATCH 00/10] mmc: improve API to make clear {h|s}w_reset is for cards Wolfram Sang
` (4 preceding siblings ...)
2022-03-22 6:43 ` [RFC PATCH 00/10] mmc: improve API to make clear {h|s}w_reset is for cards Wolfram Sang
@ 2022-04-01 16:25 ` Wolfram Sang
5 siblings, 0 replies; 8+ messages in thread
From: Wolfram Sang @ 2022-04-01 16:25 UTC (permalink / raw)
To: linux-mmc
Cc: linux-renesas-soc, linux-kernel, ath10k, bcm-kernel-feedback-list,
brcm80211-dev-list.pdl, linux-amlogic, linux-arm-kernel,
linux-mediatek, linux-rpi-kernel, linux-sunxi, linux-wireless,
netdev, SHA-cyfmac-dev-list
[-- Attachment #1: Type: text/plain, Size: 263 bytes --]
> I tested it with my Renesas boards, so far no regressions. Buildbots are
Wishful thinking, the patches crash now when booting. Still checking
what is the difference to when I send the patches out.
Still, looking forward to comments on the general approach.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread