Linux MultiMedia Card development
 help / color / mirror / Atom feed
From: Kamal Dasu <kamal.dasu@broadcom.com>
To: ulf.hansson@linaro.org, linux-kernel@vger.kernel.org,
	linux-mmc@vger.kernel.org, ludovic.barre@st.com
Cc: f.fainelli@gmail.com, bcm-kernel-feedback-list@broadcom.com,
	Kamal Dasu <kamal.dasu@broadcom.com>
Subject: [PATCH v2 0/1]  mmc: sdhci-brcmstb: check R1_STATUS for erase/trim/discard
Date: Mon,  3 Jun 2024 18:08:33 -0400	[thread overview]
Message-ID: <20240603220834.21989-1-kamal.dasu@broadcom.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 747 bytes --]

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


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4203 bytes --]

             reply	other threads:[~2024-06-03 22:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-03 22:08 Kamal Dasu [this message]
2024-06-03 22:08 ` [PATCH v2 1/1] mmc: sdhci-brcmstb: check R1_STATUS for erase/trim/discard Kamal Dasu
2024-06-04 11:13   ` Ulf Hansson
2024-06-04 15:42     ` Kamal Dasu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240603220834.21989-1-kamal.dasu@broadcom.com \
    --to=kamal.dasu@broadcom.com \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=f.fainelli@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=ludovic.barre@st.com \
    --cc=ulf.hansson@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox