Repository navigation
mmc: bcm2835-mmc: Warn once when the inhibit bits stay set - #7813
Open
igorpecovnik wants to merge 1 commit into
Open
igorpecovnik wants to merge 1 commit into
igorpecovnik wants to merge 1 commit into
Conversation
At boot, the first command on the Wi-Fi SDIO controller of a Pi 400 can find the inhibit bits still set. The core retries the command, and the SDIO card is found about 85 ms later. Wi-Fi works. pr_err() puts this message on the console of every boot. Warn once at warning level instead. A later failure still shows once in the log. Assisted-by: Claude Opus 5.5 Signed-off-by: Igor Pecovnik <igor@armbian.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
At boot, the first command on the Wi-Fi SDIO controller (
fe300000.mmcnr) of a Pi 400 can find the inhibit bits still set.bcm2835_mmc_send_command()then prints "Controller never released inhibit bit(s)" withpr_err()on the console of every boot. The core retries the command, and the SDIO card is found about 85 ms later. Wi-Fi works.This change prints the message once with
dev_warn_once(). A later failure still shows once in the log. The command still fails with-EIO, and the register dump stays at debug level.Tested on a Pi 400 with rpi-6.18.y (6.18.65): after boot the message shows once in
dmesg -l warnand not indmesg -l err. The SDIO card andwlan0come up.Carried in Armbian as armbian/build#11609.