Skip to content

Commit 60faa8f

Browse files
Erik Kanedarafaeljw
authored andcommitted
ACPI: Add \_SB._OSC bit for PRM
Signed-off-by: Erik Kaneda <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent cefc7ca commit 60faa8f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

drivers/acpi/bus.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ static void acpi_bus_osc_negotiate_platform_control(void)
305305

306306
capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_HOTPLUG_OST_SUPPORT;
307307
capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_PCLPI_SUPPORT;
308+
capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_PRM_SUPPORT;
308309

309310
#ifdef CONFIG_ARM64
310311
capbuf[OSC_SUPPORT_DWORD] |= OSC_SB_GENERIC_INITIATOR_SUPPORT;

include/linux/acpi.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,7 @@ acpi_status acpi_run_osc(acpi_handle handle, struct acpi_osc_context *context);
551551
#define OSC_SB_OSLPI_SUPPORT 0x00000100
552552
#define OSC_SB_CPC_DIVERSE_HIGH_SUPPORT 0x00001000
553553
#define OSC_SB_GENERIC_INITIATOR_SUPPORT 0x00002000
554+
#define OSC_SB_PRM_SUPPORT 0x00020000
554555
#define OSC_SB_NATIVE_USB4_SUPPORT 0x00040000
555556

556557
extern bool osc_sb_apei_support_acked;

0 commit comments

Comments
 (0)