Skip to contentSkip to conversation

Q: mmc: core: Issue power off notification in mmc_remove()

DISCUSSION Wolfram Sang 2 participants 3 messages Nov 29, 2022 – Nov 30, 2022 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

Hi Ulf,

sorry for bringing up this 2 year old topic again, but we still carry this patch from Shimoda-san in our BSP:

"[v3] mmc: core: Issue power off notification in mmc_remove()" [1]

You said you wanted to try some alternative solutions. Did this happen? I was digging in the MMC core trying to find it but to no avail. But I simply might have missed it?

All the best,

Wolfram

[1] https://patchwork.kernel.org/project/linux-mmc/patch/1605005330-7178-1-git-send-email-yoshihiro.shimoda.uh@renesas.com/

#1 lore raw
Quoted 11 lines · Wolfram Sang

Hi Ulf,

sorry for bringing up this 2 year old topic again, but we still carry this patch from Shimoda-san in our BSP:

"[v3] mmc: core: Issue power off notification in mmc_remove()" [1]

You said you wanted to try some alternative solutions. Did this happen? I was digging in the MMC core trying to find it but to no avail. But I simply might have missed it?

It's been a while since that.

If I recall correctly, when I started looking into a solution I stumbled upon other generic card removal issues that triggered various splats. Some of those issues have been fixed [2], but beyond that point I simply haven't been able to look into this again, my apologies.

Quoted 8 lines

All the best,

Wolfram

[1] https://patchwork.kernel.org/project/linux-mmc/patch/1605005330-7178-1-git-send-email-yoshihiro.shimoda.uh@renesas.com/

Kind regards
Uffe

[2]
commit edb25572fc70 ("mmc: core: Use kref in place of struct mmc_blk_data::usage")

#2 lore raw

Hi Ulf,

thank you for the quick answer!

Quoted 5 lines

If I recall correctly, when I started looking into a solution I stumbled upon other generic card removal issues that triggered various splats. Some of those issues have been fixed [2], but beyond that point I simply haven't been able to look into this again, my apologies.

No worries! I just wanted to know if I can close our upporting issue or need to make an action item out of it. The latter it is. Let's see who of us first finds time to actually look at it again ;)

All the best,

Wolfram