From: Armin Wolf Date: Mon, 19 Feb 2024 11:59:18 +0000 (+0100) Subject: platform/x86: wmi: Update documentation regarding _WED X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3c4303518a118a4fd5ce879bc2ad399004f6838d;p=linux.git platform/x86: wmi: Update documentation regarding _WED Update the WMI ACPI interface documentation to include the fact that _WED should be evaluated every time an ACPI notification is received. Signed-off-by: Armin Wolf Link: https://lore.kernel.org/r/20240219115919.16526-5-W_Armin@gmx.de Reviewed-by: Ilpo Järvinen Signed-off-by: Ilpo Järvinen --- diff --git a/Documentation/wmi/acpi-interface.rst b/Documentation/wmi/acpi-interface.rst index d31af0ed9c083..06fb7fcf44134 100644 --- a/Documentation/wmi/acpi-interface.rst +++ b/Documentation/wmi/acpi-interface.rst @@ -93,4 +93,7 @@ _WED ACPI method ---------------- Used to retrieve additional WMI event data, its single parameter is a integer -holding the notification ID of the event. +holding the notification ID of the event. This method should be evaluated every +time an ACPI notification is received, since some ACPI implementations use a +queue to store WMI event data items. This queue will overflow after a couple +of WMI events are received without retrieving the associated WMI event data.