diff options
author | Manivannan Sadhasivam <[email protected]> | 2023-05-17 17:16:35 +0530 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2023-05-26 20:56:55 -0700 |
commit | cbd77119b6355872cd308a60e99f9ca678435d15 (patch) | |
tree | d81dd12a52e7592c81d400ea76e94deb2d8f537e /lib/mpi/mpiutil.c | |
parent | 3d49f7406b5d9822c1411c6658bac2ae55ba19a2 (diff) |
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: <[email protected]> # 6.0: 5365cea199c7 ("soc: qcom: llcc: Rename reg_offset structs to reflect LLCC version")
Cc: <[email protected]> # 6.0: c13d7d261e36 ("soc: qcom: llcc: Pass LLCC version based register offsets to EDAC driver")
Cc: <[email protected]> # 6.0
Fixes: a6e9d7ef252c ("soc: qcom: llcc: Add configuration data for SM8450 SoC")
Acked-by: Borislav Petkov (AMD) <[email protected]>
Signed-off-by: Manivannan Sadhasivam <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions