]> xenbits.xensource.com Git - people/aperard/xen-unstable.git/commitdiff
x86/ucode: Explain what microcode_set_module() does
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 27 Mar 2023 14:21:29 +0000 (15:21 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 24 Oct 2024 16:57:59 +0000 (17:57 +0100)
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Alejandro Vallejo <alejandro.vallejo@cloud.com>
xen/arch/x86/cpu/microcode/core.c

index 1e5fdd02e4617c460af702f7d156bae433095565..2a4c65744fe002f9edd529d83f94e47f861b47c6 100644 (file)
@@ -109,6 +109,10 @@ static bool ucode_in_nmi = true;
 /* Protected by microcode_mutex */
 static const struct microcode_patch *microcode_cache;
 
+/*
+ * Used by the EFI path only, when xen.cfg identifies an explicit microcode
+ * file.  Overrides ucode=<int>|scan on the regular command line.
+ */
 void __init microcode_set_module(unsigned int idx)
 {
     ucode_mod_idx = idx;