[PATCH] ACPI / Documentation: update ACPI customize method feature doc

From: Sebastian Grzywna
Date: Thu Feb 02 2023 - 10:28:52 EST



Add one more warning to ignore with iasl 20221020

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

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"
--
2.39.1