docs/ucode: Extend runtime microcode loading documentation

Extend the disclaimer about runtime loading.  While we've done our best to
make the mechaism reliable, the safety of late loading does ultimately depend
on the contents of the blobs.

Extend the xen-ucode portion with examples of how to use it.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Release-acked-by: Paul Durrant <paul@xen.org>
---
CC: George Dunlap <George.Dunlap@eu.citrix.com>
CC: Ian Jackson <ian.jackson@citrix.com>
CC: Jan Beulich <JBeulich@suse.com>
CC: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
CC: Stefano Stabellini <sstabellini@kernel.org>
CC: Wei Liu <wl@xen.org>
CC: Julien Grall <julien@xen.org>
CC: Paul Durrant <paul@xen.org>
This commit is contained in:
Andrew Cooper committed 2020-06-02 19:18:44 +01:00
1 parent 3659f54e9b
commit 99a76a88d5
1 file changed
+21 -3
+21 -3
View File
@@ -105,8 +105,8 @@ 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
--------------------------
Runtime microcode loading
-------------------------
.. warning::
@@ -114,7 +114,25 @@ Run time microcode loading
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.
Given the proprietary nature of microcode, we are unable to make any claim
that runtime microcode loading is risk-free. Any runtime microcode loading
needs adequate testing on a development instance before being rolled out to
production systems.
The ``xen-ucode`` utility can be used to initiate a runtime microcode load::
[root@host ~]# xen-ucode
xen-ucode: Xen microcode updating tool
Usage: xen-ucode <microcode blob>
[root@host ~]#
The details of microcode blobs (if even packaged to begin with) are specific
to the dom0 distribution. Consult your dom0 OS documentation for details.
One example with a Linux dom0 on a Haswell system might look like::
[root@host ~]# xen-ucode /lib/firmware/intel-ucode/06-3c-03
[root@host ~]#
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.
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.