Commit f52de635 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by sanglipeng
Browse files

hwspinlock: qcom: correct MMIO max register for newer SoCs

stable inclusion
from stable-v5.10.155
commit 925bf1ba760482591218ace2c8fe135155da2710
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7M5F4

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=925bf1ba760482591218ace2c8fe135155da2710



--------------------------------

[ Upstream commit 90cb380f ]

Newer ARMv8 Qualcomm SoCs using 0x1000 register stride have maximum
register 0x20000 (32 mutexes * 0x1000).

Fixes: 7a1e6fb1 ("hwspinlock: qcom: Allow mmio usage in addition to syscon")
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220909092035.223915-4-krzysztof.kozlowski@linaro.org


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 0dfc3118
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment