* [PATCH] hwmon: (amd_energy) Add AMD family 19h model 30h x86 match
@ 2021-02-11 17:20 Naveen Krishna Chatradhi
2021-02-12 4:27 ` Guenter Roeck
0 siblings, 1 reply; 2+ messages in thread
From: Naveen Krishna Chatradhi @ 2021-02-11 17:20 UTC (permalink / raw)
To: linux-hwmon; +Cc: naveenkrishna.ch, linux, Naveen Krishna Chatradhi
Add X86 CPU match for AMD family 19h model 30h. This is necessary to
enable support for energy reporting via the amd_energy module.
Signed-off-by: Naveen Krishna Chatradhi <nchatrad@amd.com>
---
drivers/hwmon/amd_energy.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/hwmon/amd_energy.c b/drivers/hwmon/amd_energy.c
index 822c2e74b98d..a86cc8d6d93d 100644
--- a/drivers/hwmon/amd_energy.c
+++ b/drivers/hwmon/amd_energy.c
@@ -333,6 +333,7 @@ static struct platform_device *amd_energy_platdev;
static const struct x86_cpu_id cpu_ids[] __initconst = {
X86_MATCH_VENDOR_FAM_MODEL(AMD, 0x17, 0x31, NULL),
X86_MATCH_VENDOR_FAM_MODEL(AMD, 0x19, 0x01, NULL),
+ X86_MATCH_VENDOR_FAM_MODEL(AMD, 0x19, 0x30, NULL),
{}
};
MODULE_DEVICE_TABLE(x86cpu, cpu_ids);
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] hwmon: (amd_energy) Add AMD family 19h model 30h x86 match
2021-02-11 17:20 [PATCH] hwmon: (amd_energy) Add AMD family 19h model 30h x86 match Naveen Krishna Chatradhi
@ 2021-02-12 4:27 ` Guenter Roeck
0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2021-02-12 4:27 UTC (permalink / raw)
To: Naveen Krishna Chatradhi; +Cc: linux-hwmon, naveenkrishna.ch
On Thu, Feb 11, 2021 at 10:50:54PM +0530, Naveen Krishna Chatradhi wrote:
> Add X86 CPU match for AMD family 19h model 30h. This is necessary to
> enable support for energy reporting via the amd_energy module.
>
> Signed-off-by: Naveen Krishna Chatradhi <nchatrad@amd.com>
Applied.
Thanks,
Guenter
> ---
> drivers/hwmon/amd_energy.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/hwmon/amd_energy.c b/drivers/hwmon/amd_energy.c
> index 822c2e74b98d..a86cc8d6d93d 100644
> --- a/drivers/hwmon/amd_energy.c
> +++ b/drivers/hwmon/amd_energy.c
> @@ -333,6 +333,7 @@ static struct platform_device *amd_energy_platdev;
> static const struct x86_cpu_id cpu_ids[] __initconst = {
> X86_MATCH_VENDOR_FAM_MODEL(AMD, 0x17, 0x31, NULL),
> X86_MATCH_VENDOR_FAM_MODEL(AMD, 0x19, 0x01, NULL),
> + X86_MATCH_VENDOR_FAM_MODEL(AMD, 0x19, 0x30, NULL),
> {}
> };
> MODULE_DEVICE_TABLE(x86cpu, cpu_ids);
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-12 4:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-11 17:20 [PATCH] hwmon: (amd_energy) Add AMD family 19h model 30h x86 match Naveen Krishna Chatradhi
2021-02-12 4:27 ` 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.