diff options
author | Pu Wen <puwen@hygon.cn> | 2021-03-02 10:01:08 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-03-18 19:42:23 +0100 |
commit | a740561201ebf75326188e4e899fe9c2526046be (patch) | |
tree | 4fe0c778dc530492fd9a18651cf72d27c8aeafe2 /drivers/powercap/intel_rapl_common.c | |
parent | 9e2be308f023a741a0d4024bef508ef88dfb3a43 (diff) | |
download | lwn-a740561201ebf75326188e4e899fe9c2526046be.tar.gz lwn-a740561201ebf75326188e4e899fe9c2526046be.zip |
powercap: Add Hygon Fam18h RAPL support
Enable Hygon Fam18h RAPL support for the power capping framework.
Signed-off-by: Pu Wen <puwen@hygon.cn>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/powercap/intel_rapl_common.c')
-rw-r--r-- | drivers/powercap/intel_rapl_common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/powercap/intel_rapl_common.c b/drivers/powercap/intel_rapl_common.c index fdda2a737186..73cf68af9770 100644 --- a/drivers/powercap/intel_rapl_common.c +++ b/drivers/powercap/intel_rapl_common.c @@ -1069,6 +1069,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = { X86_MATCH_VENDOR_FAM(AMD, 0x17, &rapl_defaults_amd), X86_MATCH_VENDOR_FAM(AMD, 0x19, &rapl_defaults_amd), + X86_MATCH_VENDOR_FAM(HYGON, 0x18, &rapl_defaults_amd), {} }; MODULE_DEVICE_TABLE(x86cpu, rapl_ids); |