coreboot/src/mainboard/intel
Johnny Lin b7dc12dc6c mb/intel/archercity_crb: Add EWL Hob processing for MRC error
Override the weak function mainboard_ewl_check() and select OCP_EWL.

Select IPMI_KCS_ROMSTAGE and IPMI_OCP for OCP IPMI commands which are
needed for OCP EWL driver, but they are Meta-specific BMC commands
and don't really work for AC, this change is just for a demonstration
with AC.

Note that FSP UPD promoteWarnings needs to be disabled so that
FSP won't block and can return to coreboot for EWL processing
when memory EWL type 3 error occurs.

Tested=On Intel AC, connected with a faulty DIMM can see
EWL type 3 error being generated and halted with coreboot log:
[DEBUG]  Number of EWL entries 3
[ERROR]  EWL type: 3 size:32 severity level:1
[ERROR]  Major Warning Code = 0x29, Minor Warning Code = 0x04,
[ERROR]  Major Checkpoint: 0xb7
[ERROR]  Minor Checkpoint: 0x74
[ERROR]  Socket 0
[ERROR]  Channel 4
[ERROR]  Dimm 0
[ERROR]  Rank 0
[ERROR]  IPMI: ipmi_get_board_config command failed (ret=3 resp=0xc1)
[DEBUG]  ipmi send memory training error
[DEBUG]  EWL type: 1 size:19 severity level:1
[DEBUG]  0x6392e968: 01 00 00 00 13 00 01 00 00 00 b7 74 0a 03 00 04
[DEBUG]  0x6392e978: 00 00 00
[DEBUG]  EWL type: 1 size:19 severity level:1
[DEBUG]  0x6392e97b: 01 00 00 00 13 00 01 00 00 00 b7 74 0a 03 00 04
[DEBUG]  0x6392e98b: 00 00 01
[EMERG]  Memory Training Error!

Change-Id: I4602ae356aa6e55ed0611b8ac9a206db127c297c
Signed-off-by: Johnny Lin <johnny_lin@wiwynn.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75151
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
2023-05-23 20:26:13 +00:00
..
adlrvp mb/intel/adlrvp: Enable RTD3 root port mutex for WWAN 2023-04-21 18:48:59 +00:00
apollolake_rvp soc/intel/apl: Move cpu cluster to chipset.cb 2023-02-03 19:55:53 +00:00
archercity_crb mb/intel/archercity_crb: Add EWL Hob processing for MRC error 2023-05-23 20:26:13 +00:00
baskingridge mainboard/*: Drop USB power control bits in GNVS 2023-05-01 17:33:31 +00:00
cedarisland_crb mb/*: Remove lapic from devicetree 2023-01-30 10:49:11 +00:00
coffeelake_rvp mb/*: Remove lapic from devicetree 2023-01-30 10:49:11 +00:00
d510mo mb/*: Remove lapic from devicetree 2023-01-30 10:49:11 +00:00
d945gclf sb/intel/i82801gx/chip.h: Use 'bool' instead of 'int' 2023-04-08 03:35:39 +00:00
dcp847ske mainboard/*: Drop USB power control bits in GNVS 2023-05-01 17:33:31 +00:00
dg41wv nb/intel/x4x: Remove apic 0 from devicetree 2022-12-05 14:22:39 +00:00
dg43gt nb/intel/x4x: Remove apic 0 from devicetree 2022-12-05 14:22:39 +00:00
dq67sw mb/intel/dq67sw: Add LGA1155 microATX mainboard 2023-03-31 12:10:03 +00:00
elkhartlake_crb mb/*: Remove lapic from devicetree 2023-01-30 10:49:11 +00:00
emeraldlake2 nb/intel/snb: Abolish mainboard_should_reset_usb() 2023-03-23 15:14:45 +00:00
glkrvp Makefiles: Drop redundant VARIANT_DIR definitions 2023-04-17 13:47:28 +00:00
harcuvar mb/intel/harcuvar: Fix strict prototype warning 2022-11-09 14:27:08 +00:00
jasperlake_rvp mb/intel/jasperlake_rvp/Makefile.inc: Remove path to non-existent directory 2023-01-12 05:09:09 +00:00
kblrvp mb/intel/kblrvp: Clean smihandler 2023-05-06 06:06:52 +00:00
kunimitsu mb/*: Remove lapic from devicetree 2023-01-30 10:49:11 +00:00
leafhill soc/intel/apl: Move cpu cluster to chipset.cb 2023-02-03 19:55:53 +00:00
minnow3 soc/intel/apl: Move cpu cluster to chipset.cb 2023-02-03 19:55:53 +00:00
mtlrvp mainboard/intel/mtlrvp: Refactor the kconfig selections 2023-05-03 16:07:53 +00:00
saddlebrook mb/*: Remove lapic from devicetree 2023-01-30 10:49:11 +00:00
shadowmountain mb/*: Remove lapic from devicetree 2023-01-30 10:49:11 +00:00
strago mb/google,intel: Use common ChromeEC code for lid shutdown 2023-05-09 18:08:45 +00:00
tglrvp treewide: Remove useless "_STA: Status" comment 2023-02-19 11:20:37 +00:00
wtm2 mainboard/*: Drop USB power control bits in GNVS 2023-05-01 17:33:31 +00:00
Kconfig
Kconfig.name