From: Mario Limonciello <mario.limonciello@amd.com>
To: <rafael@kernel.org>, Philipp Zabel <philipp.zabel@gmail.com>,
"Mario Limonciello" <mario.limonciello@amd.com>,
"Rafael J. Wysocki" <rafael.j.wysocki@intel.com>
Cc: <anson.tsao@amd.com>, <ben@bcheng.me>, <paul@zogpog.com>,
<bilkow@tutanota.com>, <Shyam-sundar.S-k@amd.com>,
Len Brown <lenb@kernel.org>, <linux-acpi@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Subject: [PATCH 0/2] Stop using AMD GUID/_REV 2 by default
Date: Thu, 15 Dec 2022 13:16:14 -0600 [thread overview]
Message-ID: <20221215191617.1438-1-mario.limonciello@amd.com> (raw)
A number of laptops have been showing up where lots of EC controlled
features weren't working after resume. They've varied from KBD
backlight, to fans, brightness control and lots more.
In kernel 6.1 we introduced a module parameter through
commit a0bc002393d4 ("ACPI: x86: s2idle: Add module parameter to
prefer Microsoft GUID") and a series of quirks in follow up commits
for systems that people reported the problems.
3 more systems recently reported issues; and so rather than increasing
the list /again/ to add these new systems we took a hard look at the
"why".
The AMD GUID/_REV 2 path was introduced for vendors to be able to
differentiate from the Microsoft path. Vendors could populate this
with unique code for their designs. Conceptually this was supposed
to help the ecosystem, however in practice we've found that there
are more machines that don't populate it than do.
The only models that have populated this with unique code for avoiding
a bug specific to their design is the HP Elitebook 835, 845, and 865 G9
systems.
To avoid growing the list further this series rips out the module
parameter support, all the quirks and sets the default policy to follow
the Microsoft GUID path for AMD Rembrandt or later. We validated this
on OEM systems and we found this fixes them.
To avoid regressing the HP systems that use the AMD GUID/_REV 2
path, let them keep taking it. The reason they take it is believed to
be a bug with WLAN firmware. If this is fixed in the future, we may
consider dropping the HP systems as well and having no quirks.
Mario Limonciello (2):
ACPI: x86: s2idle: Force AMD GUID/_REV 2 on HP Elitebook 865
ACPI: x86: s2idle: Stop using AMD specific codepath for Rembrandt+
drivers/acpi/x86/s2idle.c | 87 ++++++---------------------------------
1 file changed, 13 insertions(+), 74 deletions(-)
--
2.34.1
next reply other threads:[~2022-12-15 19:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-15 19:16 Mario Limonciello [this message]
2022-12-15 19:16 ` [PATCH 1/2] ACPI: x86: s2idle: Force AMD GUID/_REV 2 on HP Elitebook 865 Mario Limonciello
2022-12-15 19:16 ` [PATCH 2/2] ACPI: x86: s2idle: Stop using AMD specific codepath for Rembrandt+ Mario Limonciello
2022-12-17 12:52 ` Philipp Zabel
2022-12-22 16:41 ` [PATCH 0/2] Stop using AMD GUID/_REV 2 by default Rafael J. Wysocki
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=20221215191617.1438-1-mario.limonciello@amd.com \
--to=mario.limonciello@amd.com \
--cc=Shyam-sundar.S-k@amd.com \
--cc=anson.tsao@amd.com \
--cc=ben@bcheng.me \
--cc=bilkow@tutanota.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paul@zogpog.com \
--cc=philipp.zabel@gmail.com \
--cc=rafael.j.wysocki@intel.com \
--cc=rafael@kernel.org \
/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
all inboxes | Powered by JetHome®