diff options
author | Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> | 2023-05-17 14:46:35 +0300 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-05-27 06:56:55 +0300 |
commit | cbd77119b6355872cd308a60e99f9ca678435d15 (patch) | |
tree | d81dd12a52e7592c81d400ea76e94deb2d8f537e /Documentation | |
parent | 3d49f7406b5d9822c1411c6658bac2ae55ba19a2 (diff) | |
download | linux-cbd77119b6355872cd308a60e99f9ca678435d15.tar.xz |
EDAC/qcom: Get rid of hardcoded register offsets
The LLCC EDAC register offsets varies between each SoC. Hardcoding the
register offsets won't work and will often result in crash due to
accessing the wrong locations.
Hence, get the register offsets from the LLCC driver matching the
individual SoCs.
Cc: <stable@vger.kernel.org> # 6.0: 5365cea199c7 ("soc: qcom: llcc: Rename reg_offset structs to reflect LLCC version")
Cc: <stable@vger.kernel.org> # 6.0: c13d7d261e36 ("soc: qcom: llcc: Pass LLCC version based register offsets to EDAC driver")
Cc: <stable@vger.kernel.org> # 6.0
Fixes: a6e9d7ef252c ("soc: qcom: llcc: Add configuration data for SM8450 SoC")
Acked-by: Borislav Petkov (AMD) <bp@alien8.de>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230517114635.76358-3-manivannan.sadhasivam@linaro.org
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions