* [PATCH 2/2] k10temp: support Zen3 APUs
@ 2021-05-17 6:41 David Bartley
2021-05-17 14:23 ` Guenter Roeck
0 siblings, 1 reply; 2+ messages in thread
From: David Bartley @ 2021-05-17 6:41 UTC (permalink / raw)
To: linux-hwmon; +Cc: David Bartley
Signed-off-by: David Bartley <andareed@gmail.com>
---
drivers/hwmon/k10temp.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/hwmon/k10temp.c b/drivers/hwmon/k10temp.c
index 5ff3669c2b60..fe3d92152e35 100644
--- a/drivers/hwmon/k10temp.c
+++ b/drivers/hwmon/k10temp.c
@@ -450,6 +450,7 @@ static int k10temp_probe(struct pci_dev *pdev, const struct pci_device_id *id)
switch (boot_cpu_data.x86_model) {
case 0x0 ... 0x1: /* Zen3 SP3/TR */
case 0x21: /* Zen3 Ryzen Desktop */
+ case 0x50: /* Zen3 Ryzen APU */
k10temp_get_ccd_support(pdev, data, 8);
break;
}
@@ -491,6 +492,7 @@ static const struct pci_device_id k10temp_id_table[] = {
{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_17H_M60H_DF_F3) },
{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_17H_M70H_DF_F3) },
{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_19H_DF_F3) },
+ { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_19H_M50H_DF_F3) },
{ PCI_VDEVICE(HYGON, PCI_DEVICE_ID_AMD_17H_DF_F3) },
{}
};
--
2.30.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 2/2] k10temp: support Zen3 APUs
2021-05-17 6:41 [PATCH 2/2] k10temp: support Zen3 APUs David Bartley
@ 2021-05-17 14:23 ` Guenter Roeck
0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2021-05-17 14:23 UTC (permalink / raw)
To: David Bartley, linux-hwmon
On 5/16/21 11:41 PM, David Bartley wrote:
> Signed-off-by: David Bartley <andareed@gmail.com>
There should still be a description (not just a subject).
Anyway, I'll only be able to take this patch after patch 1/2
is in the tree.
Guenter
> ---
> drivers/hwmon/k10temp.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/hwmon/k10temp.c b/drivers/hwmon/k10temp.c
> index 5ff3669c2b60..fe3d92152e35 100644
> --- a/drivers/hwmon/k10temp.c
> +++ b/drivers/hwmon/k10temp.c
> @@ -450,6 +450,7 @@ static int k10temp_probe(struct pci_dev *pdev, const struct pci_device_id *id)
> switch (boot_cpu_data.x86_model) {
> case 0x0 ... 0x1: /* Zen3 SP3/TR */
> case 0x21: /* Zen3 Ryzen Desktop */
> + case 0x50: /* Zen3 Ryzen APU */
> k10temp_get_ccd_support(pdev, data, 8);
> break;
> }
> @@ -491,6 +492,7 @@ static const struct pci_device_id k10temp_id_table[] = {
> { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_17H_M60H_DF_F3) },
> { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_17H_M70H_DF_F3) },
> { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_19H_DF_F3) },
> + { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_19H_M50H_DF_F3) },
> { PCI_VDEVICE(HYGON, PCI_DEVICE_ID_AMD_17H_DF_F3) },
> {}
> };
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-17 15:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-17 6:41 [PATCH 2/2] k10temp: support Zen3 APUs David Bartley
2021-05-17 14:23 ` Guenter Roeck
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.