Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:collect_cpu_info_amd

Proto:static int collect_cpu_info_amd(int cpu, struct cpu_signature *csig)

Type:int

Parameter:

TypeParameterName
intcpu
struct cpu_signature *csig
649  c = cpu_data(cpu)
650  uci = ucode_cpu_info + cpu
653  sig = CPUID functions returning a single datum
654  rev = microcode
660  p = find_patch(cpu)
661  If p && patch_id == rev Then mc = Intel uses only this one
664  pr_info("CPU%d: patch_level=0x%08x\n", cpu, rev)
666  Return 0