coreboot/src/soc/intel/common
Kaiyen Chang 62d73b6be5 soc/intel/common/gpio_defs: Add PAD_TRIG(OFF) in PAD_CFG_GPI_GPIO_DRIVER
Probabilistic interrupt storm is observed while kernel is configuring
the GPIO for SD card CD pin. The root cause is that the macro
PAD_CFG_GPI_GPIO_DRIVER isn't configuring trigger as PAD_TRIG(OFF).

The way GPIO interrupts are handled is:
1. Pad is configured as input in coreboot.
2. Pad IRQ information is passed in ACPI tables to kernel.
3. Kernel configures the required pad trigger.

Therefore, PAD_TRIG(OFF) should be added in PAD_CFG_GPI_GPIO_DRIVER
to turn off the trigger while pad is configured as input in coreboot
and then let kernel to configure the required pad trigger.

BUG=b:174336541
TEST=Run 1500 reboot iterations successfully without any interrupts
     storm.

Signed-off-by: Kaiyen Chang <kaiyen.chang@intel.corp-partner.google.com>
Change-Id: Icc805f5cfe45e5cc991fb0561f669907ac454a03
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48302
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com>
2020-12-08 16:56:00 +00:00
..
acpi soc/intel/common/acpi,mb/*: replace the two obsolete LPID with PEPD 2020-11-20 00:12:09 +00:00
basecode soc/intel/common: Keep common non-IP code block inside basecode 2020-09-21 16:16:46 +00:00
block soc/intel/common/gpio_defs: Add PAD_TRIG(OFF) in PAD_CFG_GPI_GPIO_DRIVER 2020-12-08 16:56:00 +00:00
pch src/soc/intel: Drop unneeded empty lines 2020-09-21 16:15:25 +00:00
acpi.h
acpi_wake_source.c ACPI: Drop typedef global_nvs_t 2020-06-30 09:19:10 +00:00
fsp_reset.c soc/intel/common: Create common Intel FSP reset code block 2020-11-02 10:43:40 +00:00
hda_verb.c {soc/intel/common,sb/intel/lynxpoint}/hda_verb.c: Reduce differences 2020-08-17 06:59:24 +00:00
hda_verb.h soc/intel/common: Move common HDA registers to <device/azalia_device.h> 2020-08-17 06:44:04 +00:00
Kconfig.common soc/intel: Configure PAVP at compile-time 2020-10-12 23:11:04 +00:00
Makefile.inc soc/intel/common: Create common Intel FSP reset code block 2020-11-02 10:43:40 +00:00
mma.c cbfs: Simplify load/map API names, remove type arguments 2020-12-02 22:13:17 +00:00
mma.h src: Remove unused 'include <stdint.h> 2020-07-14 16:11:10 +00:00
nhlt.c ACPI: Drop typedef global_nvs_t 2020-06-30 09:19:10 +00:00
reset.c Revert "soc/intel: Refactor do_global_reset() function" 2020-09-22 05:13:39 +00:00
reset.h Revert "soc/intel: Refactor do_global_reset() function" 2020-09-22 05:13:39 +00:00
smbios.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
smbios.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
tpm_tis.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
vbt.c src: Remove unused 'include <bootstate.h>' 2020-06-02 07:40:35 +00:00
vbt.h src: Remove unused 'include <types.h>' 2020-07-14 16:10:17 +00:00