Documentation/hw-vuln: Update spectre doc
authorLin Yujun <linyujun809@huawei.com>
Tue, 30 Aug 2022 12:36:14 +0000 (20:36 +0800)
committerJonathan Corbet <corbet@lwn.net>
Tue, 27 Sep 2022 19:21:44 +0000 (13:21 -0600)
commit 7c693f54c873691 ("x86/speculation: Add spectre_v2=ibrs option to support Kernel IBRS")

adds the "ibrs " option  in
Documentation/admin-guide/kernel-parameters.txt but omits it to
Documentation/admin-guide/hw-vuln/spectre.rst, add it.

Signed-off-by: Lin Yujun <linyujun809@huawei.com>
Link: https://lore.kernel.org/r/20220830123614.23007-1-linyujun809@huawei.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/admin-guide/hw-vuln/spectre.rst

index 2ce2a38..c4dcdb3 100644 (file)
@@ -613,6 +613,7 @@ kernel command line.
                 eibrs                   enhanced IBRS
                 eibrs,retpoline         enhanced IBRS + Retpolines
                 eibrs,lfence            enhanced IBRS + LFENCE
+                ibrs                    use IBRS to protect kernel
 
                Not specifying this option is equivalent to
                spectre_v2=auto.