linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ACPI / Documentation: update ACPI customize method feature doc
@ 2023-02-02 15:27 Sebastian Grzywna
  0 siblings, 0 replies; only message in thread
From: Sebastian Grzywna @ 2023-02-02 15:27 UTC (permalink / raw)
  To: linux-acpi
  Cc: Rafael J . Wysocki, Len Brown, linux-kernel, Zhang, Rui,
	Hang Zhang


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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-02 15:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-02 15:27 [PATCH] ACPI / Documentation: update ACPI customize method feature doc Sebastian Grzywna

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).