]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
clk: qcom: dispcc-x1e80100: Fix (possibly) dumping regmap
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Tue, 5 May 2026 15:29:09 +0000 (17:29 +0200)
committerBjorn Andersson <andersson@kernel.org>
Sun, 10 May 2026 02:33:52 +0000 (21:33 -0500)
commitc41f66ea9dae235cc1a5c3108a4420483d730328
treeb72ab2aff706d3e851b85e119d17689029fd6588
parent3df6b9dbd24e1610854c17a8ec4ac146481b8e42
clk: qcom: dispcc-x1e80100: Fix (possibly) dumping regmap

Reading few registers at the end of the block (e.g. 0x10000, 0x10004)
might result in synchronous external abort, so limit the regmap to the
last readable register which allows dumping the regs for debugging.

Reported-by: Daniel J Blueman <daniel@quora.org>
Closes: https://lore.kernel.org/r/CAMVG2su+V5fcZ9LOC0Qm3bpfnhpbmQdJackc7-RvfztDL_dajw@mail.gmail.com/
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Tested-by: Daniel J Blueman <daniel@quora.org>
Link: https://lore.kernel.org/r/20260505152908.302097-2-krzysztof.kozlowski@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/dispcc-x1e80100.c