Re: [PATCH v3] hwmon: (k10temp) Enable AMD3255 Proc to show negative temperature

From: Guenter Roeck
Date: Mon Jun 19 2023 - 15:48:50 EST


On 6/19/23 11:53, Limonciello, Mario wrote:
[ ,,, ]

So Pinnacle Ridge and Summit Ridge (Zen/Zen+) have model_id_str values of 'B1' and 'B2'.
I think we should be able to detect those and only avoid showing the negative values when:

* Family 17h
* Model > 0x00
* Model <= 0x0f
* Model ID str B1 or B2


Threadripper 1950X model string is "AMD Ryzen Threadripper 1950X 16-Core Processor".
Not sure where B1 or B2 is seen, but it is not in the model string.

Guenter