From: "Rafael J. Wysocki" <rjw@rjwysocki.net>
To: "linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>,
"Zhang, Rui" <rui.zhang@intel.com>
Cc: "zh.nvgt@gmail.com" <zh.nvgt@gmail.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] ACPI: Drop the custom_method debugfs interface
Date: Tue, 03 Jan 2023 14:00:29 +0100 [thread overview]
Message-ID: <5639784.DvuYhMxLoT@kreacher> (raw)
In-Reply-To: <c26f6cbc705a939c31c6da96a8100c7e6a02d30c.camel@intel.com>
On Tuesday, January 3, 2023 3:17:43 AM CET Zhang, Rui wrote:
> On Mon, 2023-01-02 at 18:05 +0100, Rafael J. Wysocki wrote:
> > From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> >
> > The ACPI custom_method debugfs interface is security-sensitive and
> > concurrent access to it is broken [1].
> >
> > Moreover, the recipe for preparing a customized version of a given
> > control method has changed at one point due to ACPICA changes, which
> > has not been reflected in its documentation, so whoever used it
> > before
> > has had to adapt an no problems with it have been reported.
> >
> > The latter likely means that the number of its users is limited at
> > best
> > and attempting to fix the issues mentioned above is likely not worth
> > the
> > effort. Moreover, if it gets broken in the process, the breakage may
> > not
> > be readily discovered, so deleting it altogheher appeares to be a
> > better
> > option.
> >
> > Accordingly, drop custom_method along with its (outdated anyway)
> > documentation.
> >
> > Link:
> > https://lore.kernel.org/linux-acpi/20221227063335.61474-1-zh.nvgt@gmail.com/
> > # [1]
> > Reported-by: Hang Zhang <zh.nvgt@gmail.com>
> > Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> > ---
> > Documentation/firmware-guide/acpi/method-customizing.rst | 89 ----
> > --------
>
> Documentation/firmware-guide/acpi/index.rst
> needs to be updated as well.
Right, thanks!
I've just sent a v2 of the patch with that fixed.
prev parent reply other threads:[~2023-01-03 13:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-02 17:05 [PATCH] ACPI: Drop the custom_method debugfs interface Rafael J. Wysocki
2023-01-03 2:17 ` Zhang, Rui
2023-01-03 13:00 ` Rafael J. Wysocki [this message]
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=5639784.DvuYhMxLoT@kreacher \
--to=rjw@rjwysocki.net \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox