projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b52363
)
ACPI: Correct \_SB._OSC bit definition for PRM
author
Aubrey Li
<aubrey.li@intel.com>
Fri, 2 Jul 2021 07:03:49 +0000
(15:03 +0800)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Fri, 2 Jul 2021 13:47:44 +0000
(15:47 +0200)
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
Fixes: 60faa8f1ac6e ("ACPI: Add \_SB._OSC bit for PRM")
Signed-off-by: Aubrey Li <aubrey.li@linux.intel.com>
[ rjw: Changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/linux/acpi.h
patch
|
blob
|
history
diff --git
a/include/linux/acpi.h
b/include/linux/acpi.h
index a618ba698a5cd7076c7b3d22c93c3dfaf49c5bc5..81786864566cf80f62cd429210fdfdf523915b3a 100644
(file)
--- a/
include/linux/acpi.h
+++ b/
include/linux/acpi.h
@@
-551,8
+551,8
@@
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_NATIVE_USB4_SUPPORT 0x00040000
+#define OSC_SB_PRM_SUPPORT 0x00200000
extern bool osc_sb_apei_support_acked;
extern bool osc_pc_lpi_support_confirmed;