From: Sebastian Grzywna <swiftgeek@gmail.com>
To: linux-acpi@vger.kernel.org
Cc: "Rafael J . Wysocki" <rafael@kernel.org>,
"Len Brown" <lenb@kernel.org>,
linux-kernel@vger.kernel.org, "Zhang, Rui" <rui.zhang@intel.com>,
"Hang Zhang" <zh.nvgt@gmail.com>
Subject: [PATCH] ACPI / Documentation: update ACPI customize method feature doc
Date: Thu, 2 Feb 2023 16:27:16 +0100 [thread overview]
Message-ID: <20230202162716.2ef29dd4@gmail.com> (raw)
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
reply other threads:[~2023-02-02 15:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230202162716.2ef29dd4@gmail.com \
--to=swiftgeek@gmail.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rafael@kernel.org \
--cc=rui.zhang@intel.com \
--cc=zh.nvgt@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.