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:54
Last Modify:2020-03-16 20:28:31 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:squash_the_stupid_serial_number

Proto:static void squash_the_stupid_serial_number(struct cpuinfo_x86 *c)

Type:void

Parameter:

TypeParameterName
struct cpuinfo_x86 *c
275  If Not cpu_has(c, Processor serial number ) || Not disable_x86_serial_nr Then Return
280  Access to machine-specific registers (available on 586 and better only)* Note: the rd* operations modify the parameters directly (without using* pointer indirection), this allows gcc to optimize better(MSR_IA32_BBL_CR_CTL, lo, hi)
281  lo |= 0x200000
282  wrmsr(MSR_IA32_BBL_CR_CTL, lo, hi)
284  pr_notice("CPU serial number disabled.\n")
285  clear_cpu_cap(c, Processor serial number )
288  Maximum supported CPUID level, -1=no CPUID: = CPUID functions returning a single datum
Caller
NameDescribe
identify_cpuThis does the hard work of actually picking apart the CPU stuff...