Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:setup_clear_cpu_cap

Proto:void setup_clear_cpu_cap(unsigned int feature)

Type:void

Parameter:

TypeParameterName
unsigned intfeature
130  do_clear_cpu_cap(NULL, feature)
Caller
NameDescribe
parse_memoptThe "mem=nopentium" boot option disables 4MB page tables on 32-bit kernels:
notsc_setupdisable flag for tsc. Takes effect by clearing the TSC cpu flag* in cpu/common.c
tsc_init
fpu__init_system_early_generic
fpu__init_parse_early_paramWe parse fpu parameters early because fpu__init_system() is executed* before parse_early_param().
fpu__init_disable_system_xstateWe enabled the XSAVE hardware, but something went wrong and* we can not use it. Disable it.
x86_mpx_setup
x86_nopcid_setup
x86_noinvpcid_setup
x86_sep_setup
setup_disable_smep
setup_disable_smap
detect_noplThe NOPL instruction is supposed to exist on all CPUs of family >= 6;* unfortunately, that's not true in practice because of early VIA* chips and (more importantly) broken virtualizers that are not easy* to detect
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
setup_noclflush
x86_rdrand_setup
check_mpx_erratum
check_memory_type_self_snoop_errataProcessors which have self-snooping capability can handle conflicting* memory type across CPUs by snooping its own cache. However, there exists* CPU models in which having conflicting memory types still leads to
early_init_intel
tsx_init
early_detect_mem_encrypt
parse_lapicAPIC command line parameters
apic_check_deadline_errata
setup_disableapicAPIC command line parameters