Message ID | 20250320140040.162416-1-ulf.hansson@linaro.org (mailing list archive) |
---|---|
Headers | show |
Series | mmc: core: Add support for graceful host removal for eMMC/SD | expand |
On Thu, Mar 20, 2025 at 03:00:31PM +0100, Ulf Hansson wrote: > As pointed out by Wolfram Sang and already discussed at LKML [1] - an mmc host > driver may allow to unbind from its corresponding host device. If there is and > eMMC/SD card attached to the host, the mmc core will just try to cut the power > for it, without trying to make a graceful power-off, thus potentially we could > damage the card. > > This series intends to fix this problem for eMMC/SD cards. > > Please help to test and review! Awesome! Thank you. Will surely check it out. Not before next week I am afraid. But already looking forward to testing it!
> Awesome! Thank you. Will surely check it out. Not before next week I am > afraid. But already looking forward to testing it! So, I tested this with a Renesas Spider board (R-Car S4). The three cases (shutdown, suspend, unbind) all lead to proper flagging if notify can't be used or not. Only the question from patch 2 is left open. But thank you, this has come a long way :)