Tags: steev/linux
Tags
Thinkpad X13s changes based on next-20230210
qcom: llcc/edac: Fix the base address used for accessing LLCC banks The Qualcomm LLCC/EDAC drivers were using a fixed register stride for accessing the (Control and Status Registers) CSRs of each LLCC bank. This stride only works for some SoCs like SDM845 for which driver support was initially added. But the later SoCs use different register stride that vary between the banks with holes in-between. So it is not possible to use a single register stride for accessing the CSRs of each bank. By doing so could result in a crash. For fixing this issue, let's obtain the base address of each LLCC bank from devicetree and get rid of the fixed stride. Cc: <[email protected]> # 4.20 Fixes: a3134fb ("drivers: soc: Add LLCC driver") Fixes: 2745065 ("drivers: edac: Add EDAC driver support for QCOM SoCs") Reported-by: Parikshit Pareek <[email protected]> Signed-off-by: Manivannan Sadhasivam <[email protected]>
PreviousNext