Rob Barnes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/69391 )
Change subject: google/chromeec: Add ACPI method for EC Panic ......................................................................
google/chromeec: Add ACPI method for EC Panic
Add an ACPI method to handle EC_HOST_EVENT_PANIC (bit 24) events.
EC panic is not covered by the standard (0-F) ACPI notify values. Arbitrarily choosing B0 notify, which is in the 84-BF device specific ACPI notify range.
This will be a no-op until the kernel driver is also updated to handle this event.
BUG=b:258195448 BRANCH=None TEST=Observe event with modified cros_ec_lpc driver
Change-Id: Iafa642c1c50f9a0083a8e618e1eabec9a7ce39b4 --- M src/ec/google/chromeec/acpi/ec.asl 1 file changed, 29 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/91/69391/1
diff --git a/src/ec/google/chromeec/acpi/ec.asl b/src/ec/google/chromeec/acpi/ec.asl index 0914fdd..9a7c659 100644 --- a/src/ec/google/chromeec/acpi/ec.asl +++ b/src/ec/google/chromeec/acpi/ec.asl @@ -408,6 +408,13 @@ \PNOT () }
+ // EC Panic + Method (_Q18, 0, NotSerialized) + { + Printf ("EC: PANIC") + Notify (CREC, 0xB0) + } + // MKBP interrupt. Method (_Q1B, 0, NotSerialized) {