Skip to content

ACPI: bus: _OSC fixes

Armin Wolf linux-acpi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ACPI: bus: Indicate support for _TFP thru _OSCdrivers/acpi/bus.c include/linux/acpi.h+3 -00 replies
2/5ACPI: bus: Indicate support for more than 16 p-states thru _OSCdrivers/acpi/bus.c include/linux/acpi.h+2 -00 replies
3/5ACPI: bus: Indicate support for the Generic Event Device thru _OSCdrivers/acpi/bus.c include/linux/acpi.h+2 -00 replies
4/5ACPI: Fix Generic Initiator Affinity _OSC bitinclude/linux/acpi.h+1 -10 replies
5/5ACPI: bus: Indicate support for IRQ ResourceSource thru _OSCdrivers/acpi/bus.c include/linux/acpi.h+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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