mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] EDAC/qcom: Skip ECC interrupt setup on Shikra, pre-configured by DSF
@ 2026-07-13  9:58 Faiyaz Mohammed
  2026-07-14 12:04 ` Komal Bajaj
  2026-07-17 17:47 ` Mukesh Ojha
  0 siblings, 2 replies; 3+ messages in thread
From: Faiyaz Mohammed @ 2026-07-13  9:58 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio
  Cc: linux-arm-msm, linux-kernel, Komal Bajaj, Faiyaz Mohammed

On Shikra, the DDR System Firmware (DSF) configures ECC interrupt
routing before the kernel driver probes — it enables Tag/Data RAM
interrupts and programs error thresholds in the LLCC interrupt-enable
registers.

Set irq_configured in shikra_cfg so that qcom_llcc_edac_probe() skips
calling qcom_llcc_core_setup(), which would otherwise overwrite the
firmware-managed register state with redundant writes.

Signed-off-by: Faiyaz Mohammed <faiyaz.mohammed@oss.qualcomm.com>
---
Changes in v2:
- Dropped [1/2] "soc: qcom: llcc: Add configuration data for Shikra SoC"
  which was already merged via drivers-for-7.3.
- Resend as standalone single-patch series.

Link: https://lore.kernel.org/all/20260630-shikra-edac-v1-0-287b3233241a@oss.qualcomm.com/
---
 drivers/soc/qcom/llcc-qcom.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/soc/qcom/llcc-qcom.c b/drivers/soc/qcom/llcc-qcom.c
index 22c8099cf6bb..733999867bbf 100644
--- a/drivers/soc/qcom/llcc-qcom.c
+++ b/drivers/soc/qcom/llcc-qcom.c
@@ -4595,6 +4595,7 @@ static const struct qcom_llcc_config shikra_cfg[] = {
 		.size		= ARRAY_SIZE(shikra_data),
 		.reg_offset	= llcc_v2_1_reg_offset,
 		.edac_reg_offset = &llcc_v2_1_edac_reg_offset,
+		.irq_configured = true,
 	},
 };
 

---
base-commit: 982af1cc6c964f143aac5c6afdba6380739577eb
change-id: 20260630-shikra-edac-b10540d0bea1

Best regards,
--  
Faiyaz Mohammed <faiyazm@qti.qualcomm.com>


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

end of thread, other threads:[~2026-07-17 17:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-13  9:58 [PATCH v2] EDAC/qcom: Skip ECC interrupt setup on Shikra, pre-configured by DSF Faiyaz Mohammed
2026-07-14 12:04 ` Komal Bajaj
2026-07-17 17:47 ` Mukesh Ojha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox