Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\process.c Create Date:2022-07-28 07:48:41
Last Modify:2020-03-16 17:03:44 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:set_cpuid_faulting

Proto:static void set_cpuid_faulting(bool on)

Type:void

Parameter:

TypeParameterName
boolon
252  msrval = Operations with implied preemption/interrupt protection. These* operations can be used without worrying about preemption or interrupt.(msr_misc_features_shadow)
253  msrval &= ~MSR_MISC_FEATURES_ENABLES_CPUID_FAULT
254  msrval |= on << MSR_MISC_FEATURES_ENABLES_CPUID_FAULT_BIT
255  this_cpu_write(msr_misc_features_shadow, msrval)
256  wrmsrl(MISC_FEATURES_ENABLES non-architectural features , msrval)
Caller
NameDescribe
disable_cpuid
enable_cpuid
__switch_to_xtra