mbox series

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

Message ID 20240603220834.21989-1-kamal.dasu@broadcom.com (mailing list archive)
Headers show
Series mmc: sdhci-brcmstb: check R1_STATUS for erase/trim/discard | expand

Message

Kamal Dasu June 3, 2024, 10:08 p.m. UTC
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(+)