Commit 389971cc authored by Aubrey Li's avatar Aubrey Li Committed by Aubrey Li
Browse files

ACPI: Correct \_SB._OSC bit definition for PRM

mainline inclusion
from mainline-v5.14
commit bd7a94c0
category: feature
bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I6HNB8
CVE: N/A

Intel-SIG: commit bd7a94c0 ACPI: Correct \_SB._OSC bit definition
for PRM.
ACPI Platform Runtime Mechanism feature backport.

--------------------------------

According to Platform Runtime Mechanism Specification v1.0 [1],
Page 42, \_SB._OSC bit 21 is used to indicate OS support for PRM.

Update the definition of the PRM support bit in the code to match the
specification.

Link: https://uefi.org/sites/default/files/resources/Platform%20Runtime%20Mechanism%20-%20with%20legal%20notice.pdf

 # [1]
Fixes: 60faa8f1 ("ACPI: Add \_SB._OSC bit for PRM")
Signed-off-by: default avatarAubrey Li <aubrey.li@linux.intel.com>
[ rjw: Changelog edits ]
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: default avatarAubrey Li <aubrey.li@linux.intel.com>
parent 295817c0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -553,7 +553,7 @@ acpi_status acpi_run_osc(acpi_handle handle, struct acpi_osc_context *context);
#define OSC_SB_OSLPI_SUPPORT			0x00000100
#define OSC_SB_CPC_DIVERSE_HIGH_SUPPORT		0x00001000
#define OSC_SB_GENERIC_INITIATOR_SUPPORT	0x00002000
#define OSC_SB_PRM_SUPPORT			0x00020000
#define OSC_SB_PRM_SUPPORT			0x00200000

extern bool osc_sb_apei_support_acked;
extern bool osc_pc_lpi_support_confirmed;