On Tue, 29 Nov 2022 at 04:44, Wolfram Sang <wsa@xxxxxxxxxx> wrote: > > 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. > > All the best, > > Wolfram > > > [1] https://patchwork.kernel.org/project/linux-mmc/patch/1605005330-7178-1-git-send-email-yoshihiro.shimoda.uh@xxxxxxxxxxx/ > Kind regards Uffe [2] commit edb25572fc70 ("mmc: core: Use kref in place of struct mmc_blk_data::usage")