]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mmc: core: Read performance enhancements registers for SD cards
authorUlf Hansson <ulf.hansson@linaro.org>
Tue, 4 May 2021 16:12:21 +0000 (18:12 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 May 2021 13:12:29 +0000 (15:12 +0200)
commit98ac8c53e1a7ad3194bf08d38cad9adbbaf87166
treee674aa385619f65449fa5973771b61b347acc7ef
parentcae548d9c8141c38e84a91a4d67ca289a30d7d7e
mmc: core: Read performance enhancements registers for SD cards

In SD spec v6.x the SD function extension registers for performance
enhancements were introduced. These registers let the SD card announce
supports for various performance related features, like "self-maintenance",
"cache" and "command queuing".

Let's extend the parsing of SD function extension registers and store the
information in the struct mmc_card. This prepares for subsequent changes to
implement the complete support for new the performance enhancement
features.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Avri Altman <avri.altman@wdc.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Link: https://lore.kernel.org/r/20210504161222.101536-11-ulf.hansson@linaro.org
drivers/mmc/core/sd.c
include/linux/mmc/card.h