]> git.baikalelectronics.ru Git - kernel.git/commit
perf/x86/cstate: Add Alder Lake CPU support
authorKan Liang <kan.liang@linux.intel.com>
Mon, 12 Apr 2021 14:31:04 +0000 (07:31 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 19 Apr 2021 18:03:29 +0000 (20:03 +0200)
commit919e4a543580bc6a28b1c60a41088156c512e0b5
treeeb03db27fb53efc02ad494f5070d62472ac49b8a
parenta7251960a247f32dc08734e7567e6197fe3f5eb6
perf/x86/cstate: Add Alder Lake CPU support

Compared with the Rocket Lake, the CORE C1 Residency Counter is added
for Alder Lake, but the CORE C3 Residency Counter is removed. Other
counters are the same.

Create a new adl_cstates for Alder Lake. Update the comments
accordingly.

The External Design Specification (EDS) is not published yet. It comes
from an authoritative internal source.

The patch has been tested on real hardware.

Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
Link: https://lkml.kernel.org/r/1618237865-33448-25-git-send-email-kan.liang@linux.intel.com
arch/x86/events/intel/cstate.c