Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\common.c Create Date:2022-07-28 07:54:59
Last Modify:2020-03-16 20:28:31 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:filter_cpuid_features

Proto:static void filter_cpuid_features(struct cpuinfo_x86 *c, bool warn)

Type:void

Parameter:

TypeParameterName
struct cpuinfo_x86 *c
boolwarn
513  When feature cycle
515  If Not cpu_has(c, feature) Then Continue
524  If Not If level < 0 Then level > Max extended CPUID function supported: Else level > Maximum supported CPUID level, -1=no CPUID: Then Continue
529  clear_cpu_cap(c, feature)
530  If Not warn Then Continue
533  pr_warn("CPU: CPU feature "X86_CAP_FMT" disabled, no CPUID level 0x%x\n", x86_cap_flag(feature), level)
Caller
NameDescribe
early_identify_cpuDo minimum CPU detection early.* Fields really needed: vendor, cpuid_level, family, model, mask,* cache alignment.* The others are not touched to avoid unwanted side effects.* WARNING: this function is only called on the boot CPU. Don't add code
identify_cpuThis does the hard work of actually picking apart the CPU stuff...