From 830fec3fbb885a0594ae181fe013cb82b76e0765 Mon Sep 17 00:00:00 2001 From: Jonathan Zhang Date: Fri, 21 Oct 2022 18:31:54 -0700 Subject: drivers/ipmi/ocp: add PCIe SEL support Add Kconfig SOC_RAS_BMS_SEL and corresponding support for generating PCIe error SEL records and sending them to BMC. Add PCIe error definitions. This is needed for SMM, so build the ipmi kcs driver in SMM. Signed-off-by: Tim Chu Signed-off-by: Rocky Phagura Signed-off-by: Jonathan Zhang Change-Id: I1ee46c8da7dbccbe1e2cc00bfe62e5df2f072d65 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68758 Reviewed-by: Christian Walter Tested-by: build bot (Jenkins) --- src/drivers/ipmi/ocp/Kconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/drivers/ipmi/ocp/Kconfig') diff --git a/src/drivers/ipmi/ocp/Kconfig b/src/drivers/ipmi/ocp/Kconfig index 7899e69588..c048e20efb 100644 --- a/src/drivers/ipmi/ocp/Kconfig +++ b/src/drivers/ipmi/ocp/Kconfig @@ -3,3 +3,17 @@ config IPMI_OCP default n help This implements OCP specific IPMI command + +config IPMI_BMC_SEL + bool + depends on IPMI_OCP + default n + help + This implements OCP specific command to generate/send SEL record + +config RAS_SEL_VENDOR_ID + hex + depends on IPMI_BMC_SEL + default 0xff + help + This option specifies a vendor ID for BMC SEL messages -- cgit v1.2.3