linux-edac.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/5] Fix crash when using Qcom LLCC/EDAC drivers
@ 2022-08-25  4:38 Manivannan Sadhasivam
  2022-08-25  4:38 ` [PATCH v3 1/5] soc: qcom: llcc: Rename reg_offset structs to reflect LLCC version Manivannan Sadhasivam
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: Manivannan Sadhasivam @ 2022-08-25  4:38 UTC (permalink / raw)
  To: bjorn.andersson, bp, mchehab
  Cc: james.morse, rric, linux-arm-msm, linux-edac, linux-kernel,
	quic_tsoni, quic_saipraka, Manivannan Sadhasivam

Hello,

This series fixes the crash seen on the Qualcomm SM8450 chipset with the
LLCC/EDAC drivers. The problem was due to the Qcom EDAC driver using the
fixed LLCC register offsets for detecting the LLCC errors.

This seems to have worked for SoCs till SM8450. But in SM8450, the LLCC
register offsets were changed. So accessing the fixed offsets causes the
crash on this platform.

So for fixing this issue, and also to make it work on future SoCs, let's
pass the LLCC offsets from the Qcom LLCC driver based on the individual
SoCs and let the EDAC driver make use of them.

This series has been tested on SM8450 based dev board.

Thanks,
Mani

Changes in v3:

* Instead of using SoC specific register offset naming convention, used
  LLCC version based as suggested by Sai
* Fixed the existing reg_offset naming convention to clearly represent
  the LLCC version from which the offsets were changed
* Added Sai's Acked-by to MAINTAINERS patch
* Added a new patch that removes an extra error no assignment

Changes in v2:

* Volunteered myself as a maintainer for the EDAC driver since the current
  maintainers have left Qualcomm and I couldn't get hold of them.

Manivannan Sadhasivam (5):
  soc: qcom: llcc: Rename reg_offset structs to reflect LLCC version
  soc: qcom: llcc: Pass LLCC version based register offsets to EDAC
    driver
  EDAC/qcom: Get rid of hardcoded register offsets
  EDAC/qcom: Remove extra error no assignment in qcom_llcc_core_setup()
  MAINTAINERS: Add myself as the maintainer for qcom_edac driver

 MAINTAINERS                        |   3 +-
 drivers/edac/qcom_edac.c           | 119 ++++++++++++++---------------
 drivers/soc/qcom/llcc-qcom.c       |  92 +++++++++++++++++++---
 include/linux/soc/qcom/llcc-qcom.h |  36 +++++++--
 4 files changed, 170 insertions(+), 80 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2022-10-26 16:00 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-25  4:38 [PATCH v3 0/5] Fix crash when using Qcom LLCC/EDAC drivers Manivannan Sadhasivam
2022-08-25  4:38 ` [PATCH v3 1/5] soc: qcom: llcc: Rename reg_offset structs to reflect LLCC version Manivannan Sadhasivam
2022-08-25  4:48   ` Sai Prakash Ranjan
2022-08-25  4:38 ` [PATCH v3 2/5] soc: qcom: llcc: Pass LLCC version based register offsets to EDAC driver Manivannan Sadhasivam
2022-08-25  4:50   ` Sai Prakash Ranjan
2022-08-25  4:38 ` [PATCH v3 3/5] EDAC/qcom: Get rid of hardcoded register offsets Manivannan Sadhasivam
2022-08-25  4:57   ` Sai Prakash Ranjan
2022-08-30  2:50   ` Bjorn Andersson
2022-10-26 16:00   ` Borislav Petkov
2022-08-25  4:38 ` [PATCH v3 4/5] EDAC/qcom: Remove extra error no assignment in qcom_llcc_core_setup() Manivannan Sadhasivam
2022-08-25  4:45   ` Sai Prakash Ranjan
2022-08-25  4:38 ` [PATCH v3 5/5] MAINTAINERS: Add myself as the maintainer for qcom_edac driver Manivannan Sadhasivam
2022-08-30  2:50 ` (subset) [PATCH v3 0/5] Fix crash when using Qcom LLCC/EDAC drivers Bjorn Andersson
2022-10-03  7:04 ` Manivannan Sadhasivam
2022-10-03  9:32   ` Borislav Petkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).