[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240822141958.GB211090@yaz-khff2.amd.com>
Date: Thu, 22 Aug 2024 10:19:58 -0400
From: Yazen Ghannam <yazen.ghannam@....com>
To: Guenter Roeck <linux@...ck-us.net>
Cc: Mario Limonciello <mario.limonciello@....com>,
Mario Limonciello <superm1@...nel.org>,
Clemens Ladisch <clemens@...isch.de>,
Jean Delvare <jdelvare@...e.com>, linux-hwmon@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] hwmon: (k10temp): Use cpu_feature_enabled() for
detecting zen
On Wed, Aug 21, 2024 at 04:29:32PM -0700, Guenter Roeck wrote:
> On Wed, Aug 21, 2024 at 09:34:09AM -0500, Mario Limonciello wrote:
> > On 8/21/2024 08:09, Yazen Ghannam wrote:
> > > On Tue, Aug 20, 2024 at 12:35:57AM -0500, Mario Limonciello wrote:
> > > > From: Mario Limonciello <mario.limonciello@....com>
> > > >
> > > > This removes some boilerplate from the code and will allow adding
> > > > future CPUs by just device IDs.
> > > >
> > >
> > > I've been thinking that maybe we stop using PCI IDs entirely.
> > >
> > > The PCIe devices that we match on are internal to the SoC. And they're
> > > not optional. They're basically processor components that are exposed
> > > through PCI config space for software convenience.
> > >
> > > Thoughts?
> > >
> > > Thanks,
> > > Yazen
> >
> > Yeah I think that's a good idea. The one thing I want to make sure remains
> > though is that k10temp automatically loads from a CPU modalias.
> >
> > This is "tangential" to this patch except for the commit message reference
> > to the PCI IDs.
> >
>
> Based on the feedback I will not accept this patch but wait for a solution
> which is acceptable for everyone involved from AMD.
>
Hi Guenter,
Sorry, I didn't mean to imply that this is unacceptable. I think this is
okay. I just wanted to highlight our general trend to move away from
continuing to add PCI IDs. We'll still need to do so in the short term
though.
Mario and I are working on some possible solutions. It'll be slow and
iterative, since we don't want to break existing functionality.
Thanks,
Yazen
Powered by blists - more mailing lists