projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae83d0b
)
perf/x86/cstate: Add Jasper Lake CPU support
author
Harry Pan
<harry.pan@intel.com>
Thu, 2 Apr 2020 11:07:09 +0000
(19:07 +0800)
committer
Borislav Petkov
<bp@suse.de>
Wed, 22 Apr 2020 19:43:12 +0000
(21:43 +0200)
The Jasper Lake processor is Tremont microarchitecture, reuse the
glm_cstates table of Goldmont and Goldmont Plus to enable the C-states
residency profiling.
Signed-off-by: Harry Pan <harry.pan@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link:
https://lkml.kernel.org/r/20200402190658.1.Ic02e891daac41303aed1f2fc6c64f6110edd27bd@changeid
arch/x86/events/intel/cstate.c
patch
|
blob
|
history
diff --git
a/arch/x86/events/intel/cstate.c
b/arch/x86/events/intel/cstate.c
index e4aa20c0426fcc31a87b8486ad5a2dfa8182dabb..442e1ed4acd49d62235dc1e42a2604ac669693dd 100644
(file)
--- a/
arch/x86/events/intel/cstate.c
+++ b/
arch/x86/events/intel/cstate.c
@@
-643,6
+643,7
@@
static const struct x86_cpu_id intel_cstates_match[] __initconst = {
X86_MATCH_INTEL_FAM6_MODEL(ATOM_GOLDMONT_PLUS, &glm_cstates),
X86_MATCH_INTEL_FAM6_MODEL(ATOM_TREMONT_D, &glm_cstates),
X86_MATCH_INTEL_FAM6_MODEL(ATOM_TREMONT, &glm_cstates),
+ X86_MATCH_INTEL_FAM6_MODEL(ATOM_TREMONT_L, &glm_cstates),
X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_L, &icl_cstates),
X86_MATCH_INTEL_FAM6_MODEL(ICELAKE, &icl_cstates),