mmc: block: Add single read for 4k sector cards
stable inclusion from stable-v5.10.137 commit 59fd7c0b41e0fd9290e52d6baa7eea0fdca3a003 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I60PLB Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=59fd7c0b41e0fd9290e52d6baa7eea0fdca3a003 -------------------------------- [ Upstream commit b3fa3e6d ] Cards with 4k native sector size may only be read 4k-aligned, accommodate for this in the single read recovery and use it. Fixes: 81196976 (mmc: block: Add blk-mq support) Signed-off-by: NChristian Loehle <cloehle@hyperstone.com> Acked-by: NAdrian Hunter <adrian.hunter@intel.com> Reviewed-by: NAvri Altman <avri.altman@wdc.com> Link: https://lore.kernel.org/r/cf4f316274c5474586d0d99b17db4a4c@hyperstone.comSigned-off-by: NUlf Hansson <ulf.hansson@linaro.org> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com> Reviewed-by: NWei Li <liwei391@huawei.com>
Showing
想要评论请 注册 或 登录