aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/tc-testing/plugin-lib/valgrindPlugin.py
diff options
context:
space:
mode:
authorAvri Altman <[email protected]>2023-09-27 07:15:00 +0000
committerUlf Hansson <[email protected]>2023-09-27 10:17:04 +0000
commit84ee19bffc9306128cd0f1c650e89767079efeff (patch)
tree6b68a64bb4afa8b01b9f505ec55c4751d8c66a68 /tools/testing/selftests/tc-testing/plugin-lib/valgrindPlugin.py
parentmmc: mtk-sd: Use readl_poll_timeout_atomic in msdc_reset_hw (diff)
downloadkernel-84ee19bffc9306128cd0f1c650e89767079efeff.tar.gz
kernel-84ee19bffc9306128cd0f1c650e89767079efeff.zip
mmc: core: Capture correct oemid-bits for eMMC cards
The OEMID is an 8-bit binary number rather than 16-bit as the current code parses for. The OEMID occupies bits [111:104] in the CID register, see the eMMC spec JESD84-B51 paragraph 7.2.3. It seems that the 16-bit comes from the legacy MMC specs (v3.31 and before). Let's fix the parsing by simply move to use 8-bit instead of 16-bit. This means we ignore the impact on some of those old MMC cards that may be out there, but on the other hand this shouldn't be a problem as the OEMID seems not be an important feature for these cards. Signed-off-by: Avri Altman <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/testing/selftests/tc-testing/plugin-lib/valgrindPlugin.py')
0 files changed, 0 insertions, 0 deletions