Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\intel.c Create Date:2022-07-28 07:57:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:probe_xeon_phi_r3mwait

Proto:static void probe_xeon_phi_r3mwait(struct cpuinfo_x86 *c)

Type:void

Parameter:

TypeParameterName
struct cpuinfo_x86 *c
110  If CPU family != 6 Then Return
113  Case x86_model == Knights Landing
114  Case x86_model == Knights Mill
115  Break
116  Default
117  Return
120  If ring3mwait_disabled Then Return
123  set_cpu_cap(c, Ring 3 MONITOR/MWAIT instructions )
124  this_cpu_or(msr_misc_features_shadow, 1UL << MSR_MISC_FEATURES_ENABLES_RING3MWAIT_BIT)
127  If c == common cpu data for all cpus Then HWCAP2 supplies mask with kernel enabled CPU features, so that* the application can discover that it can safely use them.* The bits are defined in uapi/asm/hwcap2.h. |= MONITOR/MWAIT enabled in Ring 3
Caller
NameDescribe
init_intel_misc_features