History

perf/x86/intel/cstate: Remove PC3 support from LunarLake

LunarLake doesn't support Package C3. Remove the PC3 residency counter support from LunarLake.

Zhang Rui committed 1 year ago

Commit 4ba45f01 parent e39b82f1 file · +1 −2Browse files

Unified · Split

arch/x86/events/intel/cstate.c+1−2
@@ -70,7 +70,7 @@ · 69 unmodified lines
70 * perf code: 0x0170 * perf code: 0x01
71 * Available model: NHM,WSM,SNB,IVB,HSW,BDW,SKL,KNL,71 * Available model: NHM,WSM,SNB,IVB,HSW,BDW,SKL,KNL,
72 * GLM,CNL,KBL,CML,ICL,TGL,TNT,RKL,72 * GLM,CNL,KBL,CML,ICL,TGL,TNT,RKL,
73 * ADL,RPL,MTL,ARL,LNL73 * ADL,RPL,MTL,ARL
74 * Scope: Package (physical package)74 * Scope: Package (physical package)
75 * MSR_PKG_C6_RESIDENCY: Package C6 Residency Counter.75 * MSR_PKG_C6_RESIDENCY: Package C6 Residency Counter.
76 * perf code: 0x0276 * perf code: 0x02
@@ -522,7 +522,6 @@ static const struct cstate_model lnl_cstates __initconst = { · 445 unmodified lines
522 BIT(PERF_CSTATE_CORE_C7_RES),522 BIT(PERF_CSTATE_CORE_C7_RES),
523 523
524 .pkg_events = BIT(PERF_CSTATE_PKG_C2_RES) |524 .pkg_events = BIT(PERF_CSTATE_PKG_C2_RES) |
525 BIT(PERF_CSTATE_PKG_C3_RES) |
526 BIT(PERF_CSTATE_PKG_C6_RES) |525 BIT(PERF_CSTATE_PKG_C6_RES) |
527 BIT(PERF_CSTATE_PKG_C10_RES),526 BIT(PERF_CSTATE_PKG_C10_RES),
528};527};

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t