From: Andrew Cooper Date: Wed, 9 Apr 2025 10:36:40 +0000 (+0100) Subject: x86/ucode: Extend warning about disabling digest check too X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=59bb316ea89e7f9461690fe00547d7d2af96321d;p=xen.git x86/ucode: Extend warning about disabling digest check too This was missed by accident. Fixes: b63951467e96 ("x86/ucode: Extend AMD digest checks to cover Zen5 CPUs") Signed-off-by: Andrew Cooper Reviewed-by: Roger Pau Monné --- diff --git a/xen/arch/x86/cpu/microcode/amd.c b/xen/arch/x86/cpu/microcode/amd.c index 4bc490dedc..ebd9ecbeef 100644 --- a/xen/arch/x86/cpu/microcode/amd.c +++ b/xen/arch/x86/cpu/microcode/amd.c @@ -516,8 +516,7 @@ static const struct microcode_ops __initconst_cf_clobber amd_ucode_ops = { void __init ucode_probe_amd(struct microcode_ops *ops) { - if ( !opt_digest_check && - boot_cpu_data.x86 >= 0x17 && boot_cpu_data.x86 <= 0x19 ) + if ( !opt_digest_check && boot_cpu_data.x86 >= 0x17 ) { printk(XENLOG_WARNING "Microcode patch additional digest checks disabled");