summaryrefslogtreecommitdiffstats
path: root/Documentation/x86
diff options
context:
space:
mode:
authorMichael Roth <michael.roth@amd.com>2022-03-07 15:33:50 -0600
committerBorislav Petkov <bp@suse.de>2022-04-07 16:47:12 +0200
commitba37a1438aeb540cc48722d629f4b2e7e4398466 (patch)
treecc68657e561f2ea7dba2551540ddcb1d5f781016 /Documentation/x86
parent30612045e69d088f1effd748048ebb0e282984ec (diff)
downloadlinux-stable-ba37a1438aeb540cc48722d629f4b2e7e4398466.tar.gz
linux-stable-ba37a1438aeb540cc48722d629f4b2e7e4398466.tar.bz2
linux-stable-ba37a1438aeb540cc48722d629f4b2e7e4398466.zip
x86/sev: Add a sev= cmdline option
For debugging purposes it is very useful to have a way to see the full contents of the SNP CPUID table provided to a guest. Add an sev=debug kernel command-line option to do so. Also introduce some infrastructure so that additional options can be specified via sev=option1[,option2] over time in a consistent manner. [ bp: Massage, simplify string parsing. ] Suggested-by: Borislav Petkov <bp@alien8.de> Signed-off-by: Michael Roth <michael.roth@amd.com> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lore.kernel.org/r/20220307213356.2797205-41-brijesh.singh@amd.com
Diffstat (limited to 'Documentation/x86')
-rw-r--r--Documentation/x86/x86_64/boot-options.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/x86/x86_64/boot-options.rst b/Documentation/x86/x86_64/boot-options.rst
index 07aa0007f346..4efb1fa039ef 100644
--- a/Documentation/x86/x86_64/boot-options.rst
+++ b/Documentation/x86/x86_64/boot-options.rst
@@ -310,3 +310,17 @@ Miscellaneous
Do not use GB pages for kernel direct mappings.
gbpages
Use GB pages for kernel direct mappings.
+
+
+AMD SEV (Secure Encrypted Virtualization)
+=========================================
+Options relating to AMD SEV, specified via the following format:
+
+::
+
+ sev=option1[,option2]
+
+The available options are:
+
+ debug
+ Enable debug messages.