Searched refs:cur_rev (Results 1 – 1 of 1) sorted by relevance
| /linux/arch/x86/kernel/cpu/microcode/ |
| H A D | amd.c | 232 static bool need_sha_check(u32 cur_rev) in need_sha_check() argument 236 if (!cur_rev) { in need_sha_check() 237 cur_rev = cpuid_to_ucode_rev(bsp_cpuid_1_eax); in need_sha_check() 238 pr_info_once("No current revision, generating the lowest one: 0x%x\n", cur_rev); in need_sha_check() 241 cutoff = get_cutoff_revision(cur_rev); in need_sha_check() 243 return cur_rev <= cutoff; in need_sha_check() 246 pr_info("CPUID(1).EAX: 0x%x, current revision: 0x%x\n", bsp_cpuid_1_eax, cur_rev); in need_sha_check() 268 static bool verify_sha256_digest(u32 patch_id, u32 cur_rev, const u8 *data, unsigned int len) in verify_sha256_digest() argument 277 if (!need_sha_check(cur_rev)) in verify_sha256_digest() 508 u32 cur_rev, cutoff, patch_rev; in verify_patch() local [all …]
|