Commit 502d012a authored by Zhang Rui's avatar Zhang Rui Committed by Yunying Sun
Browse files

perf/x86/cstate: Add SAPPHIRERAPIDS_X CPU support

mainline inclusion
from mainline-v5.18-rc4
commit 528c9f1d
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=528c9f1daf20da14d3e7348dc4b1d7c55743ee64



Intel-SIG: commit 528c9f1d perf/x86/cstate: Add SAPPHIRERAPIDS_X
CPU support
Backport as a dependency for adding EMR PMU support to OLK-5.10 kernel.

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

From the perspective of Intel cstate residency counters,
SAPPHIRERAPIDS_X is the same as ICELAKE_X.

Share the code with it. And update the comments for SAPPHIRERAPIDS_X.

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>
Link: https://lkml.kernel.org/r/20220415104520.2737004-1-rui.zhang@intel.com


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