mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
To: Pengpeng Hou <hppiscas@163.com>
Cc: hansg@kernel.org, ilpo.jarvinen@linux.intel.com,
	platform-driver-x86@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] platform/x86/amd/pmf: constrain ACPI button linkage
Date: Mon, 30 Nov 2026 21:01:17 +0530	[thread overview]
Message-ID: <e56efe4d-099f-4bf8-8902-da1e921b1abc@amd.com> (raw)
In-Reply-To: <20261130122800.70908-1-hppiscas@163.com>



On 30-11-2026 17:58, Pengpeng Hou wrote:
> [You don't often get email from hppiscas@163.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
> 
> The PMF input collection calls acpi_lid_open(). With AMD_PMF=y and
> ACPI_BUTTON=m, button.h exposes the external declaration, but the
> button implementation is not linked into vmlinux.
> 
> Constrain the optional dependency to exclude that combination. Keep
> ACPI_BUTTON=n supported through the existing stub rather than
> forcing the button driver on.
> 
> The issue was found by our static-analysis tool and manually reviewed.
> 
> Fixes: f4627dfd0e19 ("platform/x86/amd/pmf: Add support to get inputs from other subsystems")
> Signed-off-by: Pengpeng Hou <hppiscas@163.com>

Thanks for the fix. I could reproduce the link failure with
AMD_PMF=y and ACPI_BUTTON=m, and the change resolves it.

Acked-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>

Thanks,
Shyam

      reply	other threads:[~2026-11-30 15:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30 12:28 Pengpeng Hou
2026-11-30 15:31 ` Shyam Sundar S K [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=e56efe4d-099f-4bf8-8902-da1e921b1abc@amd.com \
    --to=shyam-sundar.s-k@amd.com \
    --cc=hansg@kernel.org \
    --cc=hppiscas@163.com \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --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®