SD command queue compatibility expansion#7265
Draft
P33M wants to merge 4 commits intoraspberrypi:rpi-6.12.yfrom
Draft
SD command queue compatibility expansion#7265P33M wants to merge 4 commits intoraspberrypi:rpi-6.12.yfrom
P33M wants to merge 4 commits intoraspberrypi:rpi-6.12.yfrom
Conversation
Several types of cards have a common bug where the vendor did not populate the General Information block, but extension registers are present at assumed function offsets, and the features are correctly implemented. Probe the offsets to see if valid data is returned. Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
Several card OEMs, mainly using Silicon Motion SM270x flash controllers, have a deficient CMD49 handler that throws away length/offset and applies the whole block to the addressed extension register page. Add a quirk to do a read-modify-write cycle for any extension register write. Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
These cards have the same broken CMD49 behaviour across 465T/460T/240I product lines. Add the Manufacturer ID and match on CID fields that remain consistent across these types. Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
The Biwin MS160 line of cards have a broken CMD49 handler and require this workaround. The CID match is somewhat broad, but the card name appears to be unique to these cards. Signed-off-by: Jonathan Bell <jonathan@raspberrypi.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.
Prerequisite changes to allow opt-in testing using the dtparam with these mildly broken cards.