projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
996dc09
)
hwmon: (amd_energy) Add AMD family 19h model 30h x86 match
author
Naveen Krishna Chatradhi
<nchatrad@amd.com>
Thu, 11 Feb 2021 17:20:54 +0000
(22:50 +0530)
committer
Guenter Roeck
<linux@roeck-us.net>
Fri, 12 Feb 2021 04:27:15 +0000
(20:27 -0800)
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>
Link:
https://lore.kernel.org/r/20210211172054.246276-1-nchatrad@amd.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/amd_energy.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/amd_energy.c
b/drivers/hwmon/amd_energy.c
index 822c2e74b98d4713927136d3e2344bb96244f7fb..a86cc8d6d93d0d67dfceacf95bea91ca8a273069 100644
(file)
--- 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);