[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240821130916.GA1062@yaz-khff2.amd.com>
Date: Wed, 21 Aug 2024 09:09:16 -0400
From: Yazen Ghannam <yazen.ghannam@....com>
To: Mario Limonciello <superm1@...nel.org>
Cc: Clemens Ladisch <clemens@...isch.de>, Jean Delvare <jdelvare@...e.com>,
Guenter Roeck <linux@...ck-us.net>, linux-hwmon@...r.kernel.org,
linux-kernel@...r.kernel.org,
Mario Limonciello <mario.limonciello@....com>
Subject: Re: [PATCH] hwmon: (k10temp): Use cpu_feature_enabled() for
detecting zen
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
Powered by blists - more mailing lists