]> xenbits.xensource.com Git - xen.git/commitdiff
x86/microcode: improve documentation for ucode=
authorEslam Elnikety <elnikety@amazon.com>
Fri, 24 Jan 2020 09:30:54 +0000 (10:30 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 24 Jan 2020 09:30:54 +0000 (10:30 +0100)
Specify applicability and the default value. Also state that, in case of
EFI, the microcode update blob specified in the EFI cfg takes precedence
over `ucode=scan`, if the latter is specified on Xen commend line.

No functional changes.

Signed-off-by: Eslam Elnikety <elnikety@amazon.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
docs/misc/xen-command-line.pandoc

index e0e16fbef1fe9f978b442a8b9f7f0d7c260b6d98..5eb3a07276b1542f73bd1f4530b12bbe5d65c849 100644 (file)
@@ -2137,10 +2137,15 @@ logic applies:
    opted in to with `smt=0 spec-ctrl=md-clear`, at which point TSX will remain
    active by default.
 
-### ucode (x86)
+### ucode
 > `= List of [ <integer> | scan=<bool>, nmi=<bool> ]`
 
-Specify how and where to find CPU microcode update blob.
+    Applicability: x86
+    Default: `nmi`
+
+Controls for CPU microcode loading. For early loading, this parameter can
+specify how and where to find the microcode update blob. For late loading,
+this parameter specifies if the update happens within a NMI handler.
 
 'integer' specifies the CPU microcode update blob module index. When positive,
 this specifies the n-th module (in the GrUB entry, zero based) to be used
@@ -2158,6 +2163,8 @@ image that contains microcode. Depending on the platform the blob with the
 microcode in the cpio name space must be:
   - on Intel: kernel/x86/microcode/GenuineIntel.bin
   - on AMD  : kernel/x86/microcode/AuthenticAMD.bin
+When using xen.efi, the `ucode=<filename>` config file setting takes
+precedence over `scan`.
 
 'nmi' determines late loading is performed in NMI handler or just in
 stop_machine context. In NMI handler, even NMIs are blocked, which is