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:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:intel_workarounds

Proto:static void intel_workarounds(struct cpuinfo_x86 *c)

Type:void

Parameter:

TypeParameterName
struct cpuinfo_x86 *c
417  If ( CPU family << 8 | x86_model << 4 | x86_stepping) < 0x633 Then clear_cpu_cap(c, SYSENTER/SYSEXIT )
425  If forcepae Then
426  pr_warn("PAE forced!\n")
427  set_cpu_cap(c, Physical Address Extensions )
428  add_taint(TAINT_CPU_OUT_OF_SPEC, LOCKDEP_NOW_UNRELIABLE)
435  If CPU family == 15 && x86_model == 1 && x86_stepping == 1 Then
438  pr_info("CPU: C0 stepping P4 Xeon detected.\n")
439  pr_info("CPU: Disabling hardware prefetching (Erratum 037)\n")
449  If boot_cpu_has(Onboard APIC ) && ( CPU family << 8 | x86_model << 4 ) == 0x520 && ( x86_stepping < 0x6 || x86_stepping == 0xb ) Then set_cpu_bug(c, Bad local APIC aka 11AP )
472  intel_smp_check(c)
Caller
NameDescribe
init_intel