Skip to content

mmc: sdhci-brcmstb: check R1_STATUS for erase/trim/discard

Kamal Dasu linux-mmc lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest1 patch 2 repliesIn review
  2. v11 patch 8 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1mmc: sdhci-brcmstb: check R1_STATUS for erase/trim/discarddrivers/mmc/host/sdhci-brcmstb.c+4 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

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(+)
Signature · 1 line
2.17.1