Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:show_saved_mc

Proto:static void show_saved_mc(void)

Type:void

Parameter:Nothing

422  i = 0
427  If list_empty - tests whether a list is empty*@head: the list to test. Then
428  pr_debug("no microcode data saved.\n")
429  Return
432  collect_cpu_info_early( & uci)
434  sig = sig
435  pf = pf
436  rev = rev
437  pr_debug("CPU: sig=0x%x, pf=0x%x, rev=0x%x\n", sig, pf, rev)
445  mc_saved_header = Intel uses only this one
447  sig = sig
448  pf = pf
449  rev = rev
450  date = date
452  total_size = get_totalsize(mc_saved_header)
453  data_size = get_datasize(mc_saved_header)
455  pr_debug("mc_saved[%d]: sig=0x%x, pf=0x%x, rev=0x%x, total size=0x%x, date = %04x-%02x-%02x\n", i++, sig, pf, rev, total_size, date & 0xffff, date >> 24, (date >> 16) & 0xff)
462  If total_size <= data_size + MC_HEADER_SIZE Then Continue
465  ext_header = mc_saved_header + data_size + MC_HEADER_SIZE
466  ext_sigcount = count
467  ext_sig = ext_header + EXT_HEADER_SIZE
469  When j < ext_sigcount cycle
470  sig = sig
471  pf = pf
473  pr_debug("\tExtended[%d]: sig=0x%x, pf=0x%x\n", j, sig, pf)
476  ext_sig++
Caller
NameDescribe
save_mc_for_earlySave this microcode patch. It will be loaded early when a CPU is* hot-added or resumes.
save_microcode_in_initrd_intel