函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\cpuid-deps.c Create Date:2022-07-27 08:57:02
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:setup_clear_cpu_cap

函数原型:void setup_clear_cpu_cap(unsigned int feature)

返回类型:void

参数:

类型参数名称
unsigned intfeature
130  do_clear_cpu_cap(NULL, feature)
调用者
名称描述
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
setup_arch平台相关启动