Lines Matching refs:rev
94 __u32 rev : 8, member
488 u32 rev, dummy; in __apply_microcode_amd() local
493 native_rdmsr(MSR_AMD64_PATCH_LEVEL, rev, dummy); in __apply_microcode_amd()
495 if (rev != mc->hdr.patch_id) in __apply_microcode_amd()
645 n.patch_id = uci->cpu_sig.rev; in cache_find_patch()
668 return zn.rev > zp.rev; in patch_newer()
715 u32 rev, dummy __always_unused; in find_patch() local
719 if (!uci->cpu_sig.rev) { in find_patch()
720 rdmsr(MSR_AMD64_PATCH_LEVEL, rev, dummy); in find_patch()
721 uci->cpu_sig.rev = rev; in find_patch()
735 u32 rev, dummy __always_unused; in reload_ucode_amd() local
745 rdmsr(MSR_AMD64_PATCH_LEVEL, rev, dummy); in reload_ucode_amd()
747 if (rev < mc->hdr.patch_id) { in reload_ucode_amd()
760 csig->rev = c->microcode; in collect_cpu_info_amd()
767 if (p && (p->patch_id == csig->rev)) in collect_cpu_info_amd()
780 u32 rev; in apply_microcode_amd() local
790 rev = uci->cpu_sig.rev; in apply_microcode_amd()
796 if (rev > mc_amd->hdr.patch_id) { in apply_microcode_amd()
807 rev = mc_amd->hdr.patch_id; in apply_microcode_amd()
811 uci->cpu_sig.rev = rev; in apply_microcode_amd()
812 c->microcode = rev; in apply_microcode_amd()
816 boot_cpu_data.microcode = rev; in apply_microcode_amd()