mb/google/cyan: use shared touchpad/touchscreen interrupts

Windows (10/11) freaks out and generates an interrupt storm
if two ACPI devices are enabled and share an interrupt, even
when only one device is actually present. To mitigate this,
mark Cyan's touchpad/touchscreen interrupts as SharedAndWake
rather than ExclusiveAndWake.

Test: build/boot Windows 10 on Relm, observe normal CPU
usage in Task Manager for System Interrupts task when
touchpad/touchscreen in use.

Change-Id: I09bc878318f9fa6252f65a42ad46109418805fa0
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59336
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
Matt DeVillier 2021-11-12 14:06:30 -06:00 committed by Felix Held
parent f6c53c0543
commit 9afe02798a
5 changed files with 5 additions and 5 deletions

View File

@ -20,7 +20,7 @@ Scope (\_SB.PCI0.I2C1)
AddressingMode7Bit, /* AddressingMode */
"\\_SB.PCI0.I2C1", /* ResourceSource */
)
GpioInt (Level, ActiveLow, ExclusiveAndWake, PullDefault,,
GpioInt (Level, ActiveLow, SharedAndWake, PullDefault,,
"\\_SB.GPNC") { BOARD_TOUCH_GPIO_INDEX }
} )

View File

@ -20,7 +20,7 @@ Scope (\_SB.PCI0.I2C1)
AddressingMode7Bit, /* AddressingMode */
"\\_SB.PCI0.I2C1", /* ResourceSource */
)
GpioInt (Level, ActiveLow, ExclusiveAndWake, PullDefault,,
GpioInt (Level, ActiveLow, SharedAndWake, PullDefault,,
"\\_SB.GPNC") { BOARD_TOUCH_GPIO_INDEX }
})
Return (BUF0)

View File

@ -63,7 +63,7 @@ Scope (\_SB.PCI0.I2C1)
AddressingMode7Bit, /* AddressingMode */
"\\_SB.PCI0.I2C1", /* ResourceSource */
)
GpioInt (Level, ActiveLow, ExclusiveAndWake, PullDefault,,
GpioInt (Level, ActiveLow, SharedAndWake, PullDefault,,
"\\_SB.GPNC") { BOARD_TOUCH_GPIO_INDEX }
})
Return (BUF0)

View File

@ -19,7 +19,7 @@ Scope (\_SB.PCI0.I2C6)
AddressingMode7Bit, // AddressingMode
"\\_SB.PCI0.I2C6", // ResourceSource
)
GpioInt (Level, ActiveLow, ExclusiveAndWake, PullDefault,,
GpioInt (Level, ActiveLow, SharedAndWake, PullDefault,,
"\\_SB.GPNC") { BOARD_TRACKPAD_GPIO_INDEX }
})

View File

@ -18,7 +18,7 @@ Scope (\_SB.PCI0.I2C6)
AddressingMode7Bit, /* AddressingMode */
"\\_SB.PCI0.I2C6", /* ResourceSource */
)
GpioInt (Level, ActiveLow, ExclusiveAndWake, PullDefault,,
GpioInt (Level, ActiveLow, SharedAndWake, PullDefault,,
"\\_SB.GPNC") { BOARD_TRACKPAD_GPIO_INDEX }
})