hwmon: k10temp: Zen3 Ryzen Desktop CPUs support
Subsystems (2)
PATCH 1/1 hwmon: k10temp: Zen3 Ryzen Desktop CPUs support
The module has only support for Zen3 server CPUs right now. Add support for Family 0x19, model 0x21 which are Zen3 Ryzen Desktop CPUs. Tested on 5800x, 5900x and 5950x CPUs.
Signed-off-by Gabriel Craciunescu <[email protected]>
--- drivers/hwmon/k10temp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/hwmon/k10temp.c +2 -1
@@ -448,7 +448,8 @@ static int k10temp_probe(struct pci_dev *pdev, const struct pci_device_id *id) data->is_zen = true;switch (boot_cpu_data.x86_model) { - case 0x0 ... 0x1: /* Zen3 */ + case 0x0 ... 0x1: /* Zen3 SP3/TR */ +case 0x21 :/* ZEN3 Ryzen Desktop */ k10temp_get_ccd_support (pdev, data,8 );break ; }
Signature · 1 line
2.29.2
Quoted 5 lines · Gabriel Craciunescu
The module has only support for Zen3 server CPUs right now. Add support for Family
0x19, model0x21which are Zen3 Ryzen Desktop CPUs. Tested on 5800x, 5900x and 5950x CPUs.Signed-off-by Gabriel Craciunescu <[email protected]>
Applied.
Thanks,
Guenter