[PATCH v2 0/1] mmc: sdhci-brcmstb: check R1_STATUS for erase/trim/discard

Kamal Dasu posted 1 patch 1 year, 8 months ago
drivers/mmc/host/sdhci-brcmstb.c | 4 ++++
1 file changed, 4 insertions(+)
[PATCH v2 0/1] mmc: sdhci-brcmstb: check R1_STATUS for erase/trim/discard
Posted by Kamal Dasu 1 year, 8 months ago
v1 change
Modified the core mmc_ops to not use card_busy signal checkin fixes the
issue observed on brcmstb mmc host controller when using BLKSECDISCARD ioctl
during erase operation. 

v2 change
The v1 changes [1] modified core mmc file to fix the issue however based on
testing it appears to be related to brcmstb hardware behavior with the card
busy signal not getting pulled up after secure discard erase operation. The
fix would be more appropriate in sdhci-brcmstb host controller driver to
inhibit using card_busy() signal.

[1] https://lore.kernel.org/linux-mmc/202404232

Kamal Dasu (1):
  mmc: sdhci-brcmstb: check R1_STATUS for erase/trim/discard

 drivers/mmc/host/sdhci-brcmstb.c | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.17.1