Interrupt storm on GPIO controller on AMD platforms
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
HWE Next |
New
|
Undecided
|
Unassigned | |||
linux (Ubuntu) | Status tracked in Mantic | |||||
Jammy |
Confirmed
|
Undecided
|
Unassigned | |||
Lunar |
Confirmed
|
Undecided
|
Unassigned | |||
Mantic |
Confirmed
|
Undecided
|
Unassigned | |||
linux-oem-6.1 (Ubuntu) | Status tracked in Mantic | |||||
Jammy |
In Progress
|
High
|
You-Sheng Yang | |||
Lunar |
Invalid
|
Undecided
|
Unassigned | |||
Mantic |
Invalid
|
Undecided
|
Unassigned |
Bug Description
On ASUS TUF A16 it is reported that the ITE5570 ACPI device connected to
GPIO 7 is causing an interrupt storm. This issue doesn't happen on
Windows.
Comparing the GPIO register configuration between Windows and Linux
bit 20 has been configured as a pull up on Windows, but not on Linux.
Checking GPIO declaration from the firmware it is clear it *should* have
been a pull up on Linux as well.
```
GpioInt (Level, ActiveLow, Exclusive, PullUp, 0x0000,
"\\_SB.GPIO", 0x00, ResourceConsumer, ,)
{ // Pin list
0x0007
}
```
On Linux amd_gpio_
the debounce. Actually the GPIO core calls it with all the arguments
that are supported by a GPIO, pinctrl-amd just responds `-ENOTSUPP`.
To solve this issue expand amd_gpio_
arguments amd_pinconf_set() supports, namely `PIN_CONFIG_
`PIN_CONFIG_
Upstream bug in https:/
Related fixes are:
* v6.4:
* commit 010f493d90ee ("pinctrl: amd: Add fields for interrupt status and wake status")
* commit 75358cf3319d ("pinctrl: amd: Adjust debugfs output")
* v6.5-rc1:
* commit 968ab9261627 ("pinctrl: amd: Detect internal GPIO0 debounce handling")
* linux-next:
* commit 0d5ace1a07f7 ("pinctrl: amd: Only use special debounce behavior for GPIO 0")
* commit 635a750d958e ("pinctrl: amd: Use amd_pinconf_set() for all config options")
* commit 3f62312d04d4 ("pinctrl: amd: Drop pull up select configuration")
* commit 283c5ce7da0a ("pinctrl: amd: Unify debounce handling into amd_pinconf_set()")
summary: |
- interrupt storm on GPIO controller on AMD platforms + Interrupt storm on GPIO controller on AMD platforms |
description: | updated |
description: | updated |
commit 635a750d958e ("pinctrl: amd: Use amd_pinconf_set() for all config options") is marked with:
Fixes: 2956b5d94a76 ("pinctrl / gpio: Introduce .set_config() callback for GPIO chips")
which was landed to v4.11. It follows all the kernels ever since could suffer from the same issue here.