projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d773a73
)
perf/x86/cstate: Add new Alder Lake and Raptor Lake support
author
Kan Liang
<kan.liang@linux.intel.com>
Wed, 4 May 2022 19:44:11 +0000
(12:44 -0700)
committer
Peter Zijlstra
<peterz@infradead.org>
Wed, 11 May 2022 14:27:08 +0000
(16:27 +0200)
From the perspective of Intel cstate residency counters, there is nothing
changed for the new Alder Lake N and Raptor Lake P.
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link:
https://lore.kernel.org/r/20220504194413.1003071-3-kan.liang@linux.intel.com
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
48e5db2
..
8ec23f4
100644
(file)
--- a/
arch/x86/events/intel/cstate.c
+++ b/
arch/x86/events/intel/cstate.c
@@
-682,7
+682,9
@@
static const struct x86_cpu_id intel_cstates_match[] __initconst = {
X86_MATCH_INTEL_FAM6_MODEL(ROCKETLAKE, &icl_cstates),
X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE, &adl_cstates),
X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_L, &adl_cstates),
+ X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_N, &adl_cstates),
X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE, &adl_cstates),
+ X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_P, &adl_cstates),
{ },
};
MODULE_DEVICE_TABLE(x86cpu, intel_cstates_match);