coreboot/src/ec/google/chromeec
Furquan Shaikh 0d6349ee0d ec/google/chromeec: Configure EC_SYNC_IRQ as level triggered
EC_SYNC_IRQ from EC to host is level-triggered in practice and
configuring it as edge-triggered on the host results in host missing
events if there are multiple events queued on the EC side. This is
because Linux kernel driver reads one event per irq and the EC does
not de-assert the interrupt line until all events are drained
out. This results in event queue being filled up completely on the EC
and the host failing to see any of those events.

This change configures EC_SYNC_IRQ as level triggered to allow the
host to read events from the the EC as long as the line is asserted.

BUG=b:118949877

Change-Id: Id3fcfa0445f83865d57975a7bbc179dca047ba4c
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/29575
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@google.com>
2018-11-12 05:41:57 +00:00
..
acpi ec/google/chromeec: Configure EC_SYNC_IRQ as level triggered 2018-11-12 05:41:57 +00:00
chip.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
crosec_proto.c Move compiler.h to commonlib 2018-10-08 16:57:27 +00:00
ec.c ec/google/chromeec: Get rid of __SMM__ guard for chromeec functions 2018-10-11 23:58:03 +00:00
ec.h ec/google/chromeec: Use common MEC interface 2018-10-18 15:01:40 +00:00
ec_boardid.c ec/google/chromeec: Update google_chromeec_get_board_version prototype 2018-09-20 17:15:26 +00:00
ec_commands.h src/ec/google/chromeec: Fix typo 2018-08-09 15:57:07 +00:00
ec_i2c.c include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
ec_lpc.c ec/google/chromeec: Use common MEC interface 2018-10-18 15:01:40 +00:00
ec_message.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
ec_spi.c Use stopwatch_wait_until_expired where applicable 2017-09-26 16:53:28 +00:00
Kconfig ec/google/chromeec: Use common MEC interface 2018-10-18 15:01:40 +00:00
Makefile.inc ec/google/chromeec: Use common MEC interface 2018-10-18 15:01:40 +00:00
smihandler.c ec/google/chromeec: Add note before error message 2018-03-02 15:19:16 +00:00
smm.h chromeec: Change the API for hostevent/wake masks to handle 64-bit 2017-11-22 19:10:26 +00:00
switches.c chromeec: Change the API for hostevent/wake masks to handle 64-bit 2017-11-22 19:10:26 +00:00
vboot_storage.c google/chromeec: implement vboot_(save|retrieve)_hash API 2016-02-04 17:34:58 +01:00
vstore.c google/chromeec: Add temporary storage interface 2016-02-04 17:21:04 +01:00