]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
x86/microcode: WARN->INFO for the "no ucode loading" log message
authorAlejandro Vallejo <alejandro.vallejo@cloud.com>
Wed, 30 Aug 2023 15:53:23 +0000 (16:53 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 18 Oct 2023 15:03:26 +0000 (16:03 +0100)
Currently there's a printk statement triggered when no ucode loading
facilities are discovered. This statement should have severity INFO rather
than WARNING because it's not reporting anything wrong. Warnings ought
to be reserved for recoverable system errors.

Signed-off-by: Alejandro Vallejo <alejandro.vallejo@cloud.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
xen/arch/x86/cpu/microcode/core.c

index 9fcb9c1c3a90696eb5ae2d7365f1f9e82d8e6fe6..e5e03cad34647775267cdc2f12e555a0bff4c172 100644 (file)
@@ -863,7 +863,7 @@ int __init early_microcode_init(unsigned long *module_map,
 
     if ( !ucode_ops.apply_microcode )
     {
-        printk(XENLOG_WARNING "Microcode loading not available\n");
+        printk(XENLOG_INFO "Microcode loading not available\n");
         return -ENODEV;
     }