Home
last modified time | relevance | path

Searched refs:csig (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/arch/x86/kernel/cpu/microcode/
Dintel.c65 static int find_matching_signature(void *mc, unsigned int csig, int cpf) in find_matching_signature() argument
72 if (cpu_signatures_match(csig, cpf, mc_hdr->sig, mc_hdr->pf)) in find_matching_signature()
83 if (cpu_signatures_match(csig, cpf, ext_sig->sig, ext_sig->pf)) in find_matching_signature()
93 static int has_newer_microcode(void *mc, unsigned int csig, int cpf, int new_rev) in has_newer_microcode() argument
100 return find_matching_signature(mc, csig, cpf); in has_newer_microcode()
392 struct cpu_signature csig = { 0 }; in collect_cpu_info_early() local
400 csig.sig = eax; in collect_cpu_info_early()
408 csig.pf = 1 << ((val[1] >> 18) & 7); in collect_cpu_info_early()
411 csig.rev = intel_get_microcode_revision(); in collect_cpu_info_early()
413 uci->cpu_sig = csig; in collect_cpu_info_early()
[all …]
Damd.c647 static int collect_cpu_info_amd(int cpu, struct cpu_signature *csig) in collect_cpu_info_amd() argument
653 csig->sig = cpuid_eax(0x00000001); in collect_cpu_info_amd()
654 csig->rev = c->microcode; in collect_cpu_info_amd()
661 if (p && (p->patch_id == csig->rev)) in collect_cpu_info_amd()
664 pr_info("CPU%d: patch_level=0x%08x\n", cpu, csig->rev); in collect_cpu_info_amd()
/Linux-v5.4/arch/x86/include/asm/
Dmicrocode.h50 int (*collect_cpu_info) (int cpu, struct cpu_signature *csig);