Commit 0f756f5e authored by Zhang Rui's avatar Zhang Rui Committed by Yunying Sun
Browse files

perf/x86/cstate: Add ICELAKE_X and ICELAKE_D support

mainline inclusion
from mainline-v5.14-rc1
commit 87bf399f
category: feature
feature: EMR PMU support
bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I6YO4Z
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=87bf399f86ecf36cc84fbeb7027a2995af649d6e



Intel-SIG: commit 87bf399f perf/x86/cstate: Add ICELAKE_X and
ICELAKE_D support
Backport as a dependency for adding EMR PMU support to OLK-5.10 kernel.

-------------------------------------

Introduce icx_cstates for ICELAKE_X and ICELAKE_D, and also update the
comments.

On ICELAKE_X and ICELAKE_D, Core C1, Core C6, Package C2 and Package C6
Residency MSRs are supported.

This patch has been tested on real hardware.

Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: default avatarKan Liang <kan.liang@linux.intel.com>
Acked-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Link: https://lkml.kernel.org/r/20210625133247.2813-1-rui.zhang@intel.com


Signed-off-by: default avatarYunying Sun <yunying.sun@intel.com>
parent 4a1bd6e4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment