]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
docs: Extend with details about runtime microcode loading
authorAndrew Cooper <andrew.cooper3@citrix.com>
Sat, 12 Oct 2019 18:05:09 +0000 (19:05 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 23 Oct 2019 15:43:48 +0000 (16:43 +0100)
The xen-ucode utility is new with the late loading improvements in 4.13.
Update the documentation suitably.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
docs/admin-guide/microcode-loading.rst

index 1858ed46279253d1d41342fc07fbe0217019fd9f..e27b641df329a061694d8a7fcb7d7e8e9f94f690 100644 (file)
@@ -101,3 +101,32 @@ which contains contains one of these two files::
 The ``ucode=scan`` command line option will cause Xen to search through all
 modules to find any CPIO archives, and search the archive for the applicable
 file.  Xen will stop searching at the first match.
+
+
+Run time microcode loading
+--------------------------
+
+.. warning::
+
+   If at all possible, microcode updates should be done by firmware updates,
+   or at boot time.  Not all microcode updates (or parts thereof) can be
+   applied at runtime.
+
+The ``xen-ucode`` utility can be used to initiate a runtime microcode load.
+It will pass the blob to Xen, which will check to see whether the blob is
+correct for the processor, and newer than the running microcode.
+
+If these checks pass, the entire system will be rendezvoused and an update
+will be initiated on all CPUs in parallel.  As with boot time loading,
+diagnostics will be put out onto the console::
+
+  [root@host ~]# xl dmesg | grep microcode
+  (XEN) microcode: CPU0 updated from revision 0x1a to 0x25, date = 2018-04-02
+  (XEN) microcode: CPU2 updated from revision 0x1a to 0x25, date = 2018-04-02
+  (XEN) microcode: CPU4 updated from revision 0x1a to 0x25, date = 2018-04-02
+  (XEN) microcode: CPU6 updated from revision 0x1a to 0x25, date = 2018-04-02
+  (XEN) 4 cores are to update their microcode
+  (XEN) microcode: CPU0 updated from revision 0x25 to 0x27, date = 2019-02-26
+  (XEN) microcode: CPU4 updated from revision 0x25 to 0x27, date = 2019-02-26
+  (XEN) microcode: CPU2 updated from revision 0x25 to 0x27, date = 2019-02-26
+  (XEN) microcode: CPU6 updated from revision 0x25 to 0x27, date = 2019-02-26