diff mbox series

ACPI / Documentation: update ACPI customize method feature doc

Message ID 20230202162716.2ef29dd4@gmail.com
State New
Headers show
Series ACPI / Documentation: update ACPI customize method feature doc | expand

Commit Message

Sebastian Grzywna Feb. 2, 2023, 3:27 p.m. UTC
Add one more warning to ignore with iasl 20221020

Link: https://lore.kernel.org/lkml/CAJZ5v0hbFNGugDJ3PGLzfNm7h7f8vTesUOZ0R_vkYGaxBWFCdQ@mail.gmail.com/
Reported-by: "Rafael J . Wysocki" <rafael@kernel.org>
Reported-by: "Zhang, Rui" <rui.zhang@intel.com>
Signed-off-by: Sebastian Grzywna <swiftgeek@gmail.com>
---
 .../firmware-guide/acpi/method-customizing.rst        | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/Documentation/firmware-guide/acpi/method-customizing.rst b/Documentation/firmware-guide/acpi/method-customizing.rst
index de3ebcaed4cf..e813608cbdd9 100644
--- a/Documentation/firmware-guide/acpi/method-customizing.rst
+++ b/Documentation/firmware-guide/acpi/method-customizing.rst
@@ -55,10 +55,13 @@  d) package the new file (psr.asl) to an ACPI table format.
 
    Note that the full pathname of the method in ACPI namespace
    should be used.
-e) assemble the file to generate the AML code of the method.
-   e.g. "iasl -vw 6084 psr.asl" (psr.aml is generated as a result)
-   If parameter "-vw 6084" is not supported by your iASL compiler,
-   please try a newer version.
+e) assemble the file to generate the AML code of the method,
+   ignoring missing prefix scopes and objects. e.g.
+   "iasl -vw 6084 -vw 6160 psr.asl" (psr.aml is generated as
+   a result). If parameters "-vw 6084" and "-vw 6160" are
+   not supported by your iASL compiler, please try a newer version.
+   In the future it might be necessary to ignore more error
+   messageids.
 f) mount debugfs by "mount -t debugfs none /sys/kernel/debug"
 g) override the old method via the debugfs by running
    "cat /tmp/psr.aml > /sys/kernel/debug/acpi/custom_method"