Re: [PATCH] hwmon: (k10temp): Use cpu_feature_enabled() for detecting zen

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx>

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.





[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux