Skip to contentSkip to conversation

EDAC/altera: Check previous DDR DBE during driver probe

PATCH New [email protected] 1 participant 1 message May 3, 2023 EDAC-core

lore
Share & tools
lore
#0 lore raw

cover EDAC/altera: Check previous DDR DBE during driver probe

From: Niravkumar L Rabara <[email protected]>

Starting from SoCFPGA Agilex7, new SDM mailbox command is introduced to read Single Event Update Error information, SEU detects both corrected and uncorrected error.

If the previous HPS reboot caused by the DDR double bit error, bit-31 is set high of boot scratch register 8. EDAC driver probe will check this bit status and sends the SMC command to Arm Trusted Firmware. Firmware will send mailbox command to SDM to get the SEU error information and pass it to EDAC driver, driver will print error count, sector address and error data for previous DDR DBE.

Niravkumar L Rabara (2):
firmware: stratix10-svc: Add command to get SEU error info EDAC/altera: Check previous DDR DBE during driver probe

 drivers/edac/altera_edac.c                   | 29 ++++++++++++++++----
 include/linux/firmware/intel/stratix10-smc.h | 20 ++++++++++++++
 2 files changed, 44 insertions(+), 5 deletions(-)
Signature · 1 line
2.25.1