[PATCH 0/5] ACPI: bus: _OSC fixes

From: Armin Wolf
Date: Sat Mar 09 2024 - 15:13:40 EST


This patch series fixes the handling of various ACPI features bits
when evaluating _OSC.

The first three patches fix the reporting of various features supported
by the kernel, while the fourth patch corrects the feature bit used to
indicate support for the "Generic Initiator Affinity" in SRAT.

The last patch fixes the reporting of IRQ ResourceSource support. Unlike
the other feature bits, the ACPI specification states that this feature
bit might be used by the ACPI firmware to indicate whether or not it
supports the usage of IRQ ResourceSource:

"If not set, the OS may choose to ignore the ResourceSource
parameter in the extended interrupt descriptor."

Since the code responsible for parsing IRQ ResourceSource already checks
if ResourceSource is present, i assumed that we can omit taking this
into account.

All patches where tested on a Asus Prime B650-Plus and a Dell Inspiron
3505.

Armin Wolf (5):
ACPI: bus: Indicate support for _TFP thru _OSC
ACPI: bus: Indicate support for more than 16 p-states thru _OSC
ACPI: bus: Indicate support for the Generic Event Device thru _OSC
ACPI: Fix Generic Initiator Affinity _OSC bit
ACPI: bus: Indicate support for IRQ ResourceSource thru _OSC

drivers/acpi/bus.c | 5 +++++
include/linux/acpi.h | 6 +++++-
2 files changed, 10 insertions(+), 1 deletion(-)

--
2.39.2