mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mario Limonciello <mario.limonciello@amd.com>
To: Bruno BOI <bruno.boi@bobtopus.eu>,
	Shyam-sundar.S-k@amd.com,
	Mark Pearson <mpearson-lenovo@squebb.ca>
Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] platform/x86/amd/pmc: Add Thinkpad L14 Gen3 (21C5) to quirk_s2idle_bug
Date: Mon, 28 Sep 2026 11:09:16 -0500	[thread overview]
Message-ID: <20c15bb0-abf3-4a34-86e5-712f8f131acb@amd.com> (raw)
In-Reply-To: <20260928160607.679319-1-bruno.boi@bobtopus.eu>



On 9/28/26 11:06, Bruno BOI wrote:
> The Thinkpad L14 Gen3 with DMI product name 21C5 is affected by the same
> s2idle resume stall as the already listed 21C6 variant: resuming from
> s2idle blocks for several seconds before the kernel resumes.
> 
> DMI_MATCH() performs substring matching, so a "21C5" entry also covers
> SKUs such as 21C5S05800. Add the 21C5 model to the existing
> quirk_s2idle_bug table.
> 
> Closes: https://bugzilla.kernel.org/show_bug.cgi?id=222070
> Link: https://bugzilla.kernel.org/show_bug.cgi?id=221273
> Signed-off-by: Bruno BOI <bruno.boi@bobtopus.eu>
> ---
> Changes in v2: resent with the correct sender address; the patch
> content is unchanged from v1.
>   drivers/platform/x86/amd/pmc/pmc-quirks.c | 9 +++++++++
>   1 file changed, 9 insertions(+)

Mark,

Since it uses prefixes rather than a new entry how would you feel about:

DMI_MATCH(DMI_PRODUCT_NAME, "21C"),

On the 21C6 existing entry.
> 
> diff --git a/drivers/platform/x86/amd/pmc/pmc-quirks.c b/drivers/platform/x86/amd/pmc/pmc-quirks.c
> index 74ddf1d..c3fabc9 100644
> --- a/drivers/platform/x86/amd/pmc/pmc-quirks.c
> +++ b/drivers/platform/x86/amd/pmc/pmc-quirks.c
> @@ -246,6 +246,15 @@ static const struct dmi_system_id fwbug_list[] = {
>   			DMI_MATCH(DMI_PRODUCT_NAME, "21C6"),
>   		}
>   	},
> +	/* https://bugzilla.kernel.org/show_bug.cgi?id=221273 */
> +	{
> +		.ident = "Thinkpad L14 Gen3",
> +		.driver_data = &quirk_s2idle_bug,
> +		.matches = {
> +			DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
> +			DMI_MATCH(DMI_PRODUCT_NAME, "21C5"),
> +		}
> +	},
>   	/* https://gitlab.freedesktop.org/drm/amd/-/issues/4434 */
>   	{
>   		.ident = "Lenovo Yoga 6 13ALC6",


  reply	other threads:[~2026-09-28 16:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-28 16:06 Bruno BOI
2026-09-28 16:09 ` Mario Limonciello [this message]
2026-09-28 16:22   ` Bruno BOI
2026-09-28 16:53   ` Mark Pearson
2026-09-28 16:54     ` Mario Limonciello
2026-09-28 16:59       ` Mark Pearson

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=20c15bb0-abf3-4a34-86e5-712f8f131acb@amd.com \
    --to=mario.limonciello@amd.com \
    --cc=Shyam-sundar.S-k@amd.com \
    --cc=bruno.boi@bobtopus.eu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mpearson-lenovo@squebb.ca \
    --cc=platform-driver-x86@vger.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®