summaryrefslogtreecommitdiff
path: root/arch/x86/events/intel
diff options
context:
space:
mode:
authorKan Liang <kan.liang@linux.intel.com>2023-01-04 23:13:44 +0300
committerIngo Molnar <mingo@kernel.org>2023-01-09 14:22:08 +0300
commita018d2e3d4b1abc4a3cb64415c5d204fc5d2eafd (patch)
treea728c5c449198e5328c1f349ce31e707508fd57e /arch/x86/events/intel
parentc87a31093c707eb0b8c48aab89922c1d0bf4bd90 (diff)
downloadlinux-a018d2e3d4b1abc4a3cb64415c5d204fc5d2eafd.tar.xz
x86/cpufeatures: Add Architectural PerfMon Extension bit
CPUID.(EAX=07H, ECX=1):EAX[8] indicates whether the Architectural PerfMon Extension leaf (CPUID leaf 23) is supported. The "X86_FEATURE_..., word 12" is already mirrored from CPUID "0x00000007:1 (EAX)". Add X86_FEATURE_ARCH_PERFMON_EXT under the "word 12" section. The new Architectural PerfMon Extension leaf (CPUID leaf 23) will be supported in the perf_events subsystem later. The feature will not appear in /proc/cpuinfo. Signed-off-by: Kan Liang <kan.liang@linux.intel.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Acked-by: Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/20230104201349.1451191-4-kan.liang@linux.intel.com
Diffstat (limited to 'arch/x86/events/intel')
0 files changed, 0 insertions, 0 deletions