Skip to content

Commit 50b6914

Browse files
Wer-Wolfij-intel
authored andcommitted
platform/x86: wmi: Update documentation of WCxx/WExx ACPI methods
Inform potential firmware developers that WExx ACPI methods are always called by the WMI driver core even if the associated WMI event is not marked as being expensive. Signed-off-by: Armin Wolf <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
1 parent cf0b812 commit 50b6914

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

Documentation/wmi/acpi-interface.rst

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Offset Size (in bytes) Content
3636

3737
The WMI object flags control whether the method or notification ID is used:
3838

39-
- 0x1: Data block usage is expensive and must be explicitly enabled/disabled.
39+
- 0x1: Data block is expensive to collect.
4040
- 0x2: Data block contains WMI methods.
4141
- 0x4: Data block contains ASCIZ string.
4242
- 0x8: Data block describes a WMI event, use notification ID instead
@@ -83,14 +83,18 @@ event as hexadecimal value. Their first parameter is an integer with a value
8383
of 0 if the WMI event should be disabled, other values will enable
8484
the WMI event.
8585

86+
Those ACPI methods are always called even for WMI events not registered as
87+
being expensive to collect to match the behavior of the Windows driver.
88+
8689
WCxx ACPI methods
8790
-----------------
88-
Similar to the ``WExx`` ACPI methods, except that it controls data collection
89-
instead of events and thus the last two characters of the ACPI method name are
90-
the method ID of the data block to enable/disable.
91+
Similar to the ``WExx`` ACPI methods, except that instead of WMI events it controls
92+
data collection of data blocks registered as being expensive to collect. Thus the
93+
last two characters of the ACPI method name are the method ID of the data block
94+
to enable/disable.
9195

9296
Those ACPI methods are also called before setting data blocks to match the
93-
behaviour of the Windows driver.
97+
behavior of the Windows driver.
9498

9599
_WED ACPI method
96100
----------------

0 commit comments

Comments
 (0)