coreboot-kgpe-d16/src/superio
Michał Żygowski fa78ecacec superio/smsc/sch5545/acpi/superio.asl: Clear PME status bits on SCI
The SCI handler for the GPE associated with the Super I/O did not clear
the respective PME status bits resulting in the SCI reoccurring
endlessly. The /proc/interrupts reported millions of ACPI interrupts
generated in just a few minutes of uptime. The flood of interrupts
caused some units to be unusable in extreme cases once attempted to
boot Qubes OS for example. On systems like Qubes OS it had a huge
impact on performance due to many IPCs the SCIs caused under Xen.

Clear the PME bits of devices that report a PME event. Then clear
the global PME status bit at the end of SCI handler to prevent the SCI
from asserting again until a new event occurrs. With this change
the number of ACPI interrupts generated in the first minutes of uptime
settles at a few thousands.

TEST=Boot Qubes OS R4.1.2 on Dell OptiPlex 9010 SFF and check
/proc/interrupts in dom0 if the number of ACPI interrupts is only
a few thousands.

Change-Id: I64e03d268138a62b46084be41343ef7fb089dfc3
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78351
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Krystian Hebel <krystian.hebel@3mdeb.com>
2023-10-19 07:45:02 +00:00
..
acpi {superio,ec}/acpi: Replace constant "Zero" with actual number 2022-12-27 09:06:29 +00:00
aspeed superio/aspeed/ast2400/chip.h: Include <stdbool.h> 2022-12-05 14:27:45 +00:00
common superio/common: Support more than one SuperIO in ACPI 2023-05-26 19:21:12 +00:00
fintek src/superio: Remove unnecessary space after casts 2022-11-21 15:03:50 +00:00
ite superio/ite/it8721f/acpi/superio: use IO instead of FixedIO resource 2023-08-11 23:11:44 +00:00
nsc
nuvoton superio/nuvoton/nct6687d: Fix unexpected expression 2022-11-09 14:26:03 +00:00
renesas
smsc superio/smsc/sch5545/acpi/superio.asl: Clear PME status bits on SCI 2023-10-19 07:45:02 +00:00
winbond treewide: Remove useless "_STA: Status" comment 2023-02-19 11:20:37 +00:00