mb/google/skyrim: Add EC_HOST_EVENT_PANIC to SCI mask
Adding EC_HOST_EVENT_PANIC to SCI mask allows the EC to interrupt the Kernel when an EC panic occurs. If system safe mode is also enabled on the EC, the kernel will have a short period to extract and save info about the EC panic. BUG=b:266696987 BRANCH=None TEST=Observe kernel ec panic handler run when ec panics Change-Id: I9b50ab3c0bcef192ef89f173852cda222f1533c7 Signed-off-by: Rob Barnes <robbarnes@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/72455 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Tim Van Patten <timvp@google.com>
This commit is contained in:
parent
1cf56d9049
commit
a138ef7ad7
|
@ -22,7 +22,8 @@
|
||||||
| EC_HOST_EVENT_MASK(EC_HOST_EVENT_THROTTLE_STOP) \
|
| EC_HOST_EVENT_MASK(EC_HOST_EVENT_THROTTLE_STOP) \
|
||||||
| EC_HOST_EVENT_MASK(EC_HOST_EVENT_PD_MCU) \
|
| EC_HOST_EVENT_MASK(EC_HOST_EVENT_PD_MCU) \
|
||||||
| EC_HOST_EVENT_MASK(EC_HOST_EVENT_MODE_CHANGE) \
|
| EC_HOST_EVENT_MASK(EC_HOST_EVENT_MODE_CHANGE) \
|
||||||
| EC_HOST_EVENT_MASK(EC_HOST_EVENT_USB_MUX))
|
| EC_HOST_EVENT_MASK(EC_HOST_EVENT_USB_MUX) \
|
||||||
|
| EC_HOST_EVENT_MASK(EC_HOST_EVENT_PANIC))
|
||||||
|
|
||||||
#define MAINBOARD_EC_SMI_EVENTS (EC_HOST_EVENT_MASK(EC_HOST_EVENT_LID_CLOSED))
|
#define MAINBOARD_EC_SMI_EVENTS (EC_HOST_EVENT_MASK(EC_HOST_EVENT_LID_CLOSED))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue