From: Randy Dunlap <rdunlap@infradead.org>
To: Steven J Abner <pheonix.sja@att.net>,
linux-kernel@vger.kernel.org, Hans de Goede <hdegoede@redhat.com>,
"open list:X86 PLATFORM DRIVERS"
<platform-driver-x86@vger.kernel.org>
Subject: Re: configuration x86/Kconfig bug? or AMD feature request
Date: Wed, 31 Aug 2022 17:00:53 -0700 [thread overview]
Message-ID: <f62874b9-4588-52d8-b321-49d2d57fb6c3@infradead.org> (raw)
In-Reply-To: <VQ7IHR.9PMZBSNKURXU1@att.net>
Hi--
On 8/31/22 16:54, Steven J Abner wrote:
> Hi
> I am tailoring a kernel for AMD 2400g on ASRock B450 using 5.18.12 as base.
> I found a feature I don't believe I need, and the system seems to work just
> fine without it. A quick glance at the code seems like I'll be just fine, too.
> In /drivers/platform/x86/Kconfig:1159 I altered the text to:
>
> config PMC_ATOM
> bool "Intel Atom SOC Power Management Controller Driver"
> default y
> depends on PCI
> select COMMON_CLK
I can't tell what you changed it to.
> Please have a look and decide if x86 must include this code to function properly.
> Nothing but being x86 selects this. 'default y' was chosen only because forced y before.
> Steve
>
> I wish to be personally CC'ed the answers/comments posted to the list
> in response to my posting, please. I not part of the list.
That kconfig option has been deleted:
commit 3cd8cc98d634
Author: Hans de Goede <hdegoede@redhat.com>
Date: Tue May 3 16:02:07 2022 +0200
platform/x86: Drop the PMC_ATOM Kconfig option
The def_bool y PMC_ATOM Kconfig option provides a couple of symbols used
by the code enabled by the X86_INTEL_LPSS option and it registers some
clocks. These clocks are only registered on Bay Trail, Cherry Trail and
Brasswell Intel SoCs and kernels targeting these SoCs must always have
the X86_INTEL_LPSS option enabled otherwise many things will not work.
Building the PMC_ATOM code on kernels which are not targeting the
mentioned SoCs and which do not have the X86_INTEL_LPSS enabled is
not useful.
This means that we can simplify things by replacing the PMC_ATOM Kconfig
option in Makefiles with X86_INTEL_LPSS and then drop the option.
Maybe that commit should be backported?
--
~Randy
prev parent reply other threads:[~2022-09-01 0:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <VQ7IHR.9PMZBSNKURXU1.ref@att.net>
2022-08-31 23:54 ` Steven J Abner
2022-09-01 0:00 ` Randy Dunlap [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=f62874b9-4588-52d8-b321-49d2d57fb6c3@infradead.org \
--to=rdunlap@infradead.org \
--cc=hdegoede@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pheonix.sja@att.net \
--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®