mb/google/guybrush: Remove elog_gsmi_cb_mainboard_log_wake_source
commitb7840ed815f3a53efa7b4dda1731df156375f268
authorRob Barnes <robbarnes@google.com>
Thu, 31 Mar 2022 19:36:01 +0000 (31 13:36 -0600)
committerFelix Held <felix-coreboot@felixheld.de>
Fri, 1 Apr 2022 22:20:53 +0000 (1 22:20 +0000)
tree4c522e9908a6bfe79659b320aacd58d7c07169bf
parent66d94ba4c0a9614f9560b337156f60fe9ea7aeeb
mb/google/guybrush: Remove elog_gsmi_cb_mainboard_log_wake_source

elog_gsmi_cb_mainboard_log_wake_source is called from SMI and causes
eSPI transactions. If the SMI interrupts an ongoing eSPI transaction
from the OS it will conflict and cause failures. Removing this call to
avoid conflicts. This can be re-enabled after refactoring
google_chromeec_get_mask to use ACPI MMIO.

BUG=b:227163985
BRANCH=gubyrush
TEST=No 164 errors detected during suspend_stress_test
/sys/firmware/log output after resume before change:
SMI# #1
ELOG: Event(B0) added with size 9 at 2022-03-31 19:52:51 UTC
GPIO Control Switch: 0xcf000000, Wake Stat 0: 0x00000000, Wake Stat 1: 0x00000000
ELOG: Event(9F) added with size 14 at 2022-03-31 19:52:51 UTC
Chrome EC: clear events_b mask to 0x0000000000000000
after change:
SMI# #6
ELOG: Event(B0) added with size 9 at 2022-03-31 19:50:19 UTC
GPIO Control Switch: 0xcf000000, Wake Stat 0: 0x00000000, Wake Stat 1: 0x00000000
ELOG: Event(9F) added with size 14 at 2022-03-31 19:50:19 UTC

Change-Id: I3320e3fb8bd9e9e0db84332e1d147a0af25f7601
Signed-off-by: Rob Barnes <robbarnes@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63280
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/mainboard/google/guybrush/smihandler.c