linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] Documentation/hw-vuln: Update spectre doc
@ 2022-08-30 12:36 Lin Yujun
  2022-09-13  9:38 ` linyujun (C)
  2022-09-21 20:09 ` Jonathan Corbet
  0 siblings, 2 replies; 5+ messages in thread
From: Lin Yujun @ 2022-08-30 12:36 UTC (permalink / raw)
  To: corbet, bp, keescook, aarcange, daniel.sneddon, longman,
	lukas.bulwahn, peterz, kim.phillips, linyujun809
  Cc: linux-doc, linux-kernel

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>
---
 Documentation/admin-guide/hw-vuln/spectre.rst | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/admin-guide/hw-vuln/spectre.rst b/Documentation/admin-guide/hw-vuln/spectre.rst
index 2ce2a38cdd55..c4dcdb3d0d45 100644
--- a/Documentation/admin-guide/hw-vuln/spectre.rst
+++ b/Documentation/admin-guide/hw-vuln/spectre.rst
@@ -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.
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH -next] Documentation/hw-vuln: Update spectre doc
  2022-08-30 12:36 [PATCH -next] Documentation/hw-vuln: Update spectre doc Lin Yujun
@ 2022-09-13  9:38 ` linyujun (C)
  2022-09-21 20:09 ` Jonathan Corbet
  1 sibling, 0 replies; 5+ messages in thread
From: linyujun (C) @ 2022-09-13  9:38 UTC (permalink / raw)
  To: corbet, bp, keescook, aarcange, daniel.sneddon, longman,
	lukas.bulwahn, peterz, kim.phillips
  Cc: linux-doc, linux-kernel

kindly ping

On 2022/8/30 20:36, Lin Yujun writed:
> 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>
> ---
>   Documentation/admin-guide/hw-vuln/spectre.rst | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/admin-guide/hw-vuln/spectre.rst b/Documentation/admin-guide/hw-vuln/spectre.rst
> index 2ce2a38cdd55..c4dcdb3d0d45 100644
> --- a/Documentation/admin-guide/hw-vuln/spectre.rst
> +++ b/Documentation/admin-guide/hw-vuln/spectre.rst
> @@ -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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH -next] Documentation/hw-vuln: Update spectre doc
  2022-08-30 12:36 [PATCH -next] Documentation/hw-vuln: Update spectre doc Lin Yujun
  2022-09-13  9:38 ` linyujun (C)
@ 2022-09-21 20:09 ` Jonathan Corbet
  1 sibling, 0 replies; 5+ messages in thread
From: Jonathan Corbet @ 2022-09-21 20:09 UTC (permalink / raw)
  To: Lin Yujun, bp, keescook, aarcange, daniel.sneddon, longman,
	lukas.bulwahn, peterz, kim.phillips, linyujun809
  Cc: linux-doc, linux-kernel

Lin Yujun <linyujun809@huawei.com> writes:

> 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>
> ---
>  Documentation/admin-guide/hw-vuln/spectre.rst | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/admin-guide/hw-vuln/spectre.rst b/Documentation/admin-guide/hw-vuln/spectre.rst
> index 2ce2a38cdd55..c4dcdb3d0d45 100644
> --- a/Documentation/admin-guide/hw-vuln/spectre.rst
> +++ b/Documentation/admin-guide/hw-vuln/spectre.rst
> @@ -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
>  
Applied (after reformatting the "commit" line to prevent linux-next
warnings), thanks.

jon

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH -next] Documentation/hw-vuln: Update spectre doc
  2022-08-26  6:51 Lin Yujun
@ 2022-08-26 12:56 ` Bagas Sanjaya
  0 siblings, 0 replies; 5+ messages in thread
From: Bagas Sanjaya @ 2022-08-26 12:56 UTC (permalink / raw)
  To: Lin Yujun, corbet, bp, keescook, aarcange, daniel.sneddon,
	longman, lukas.bulwahn, peterz, kim.phillips
  Cc: linux-doc, linux-kernel

On 8/26/22 13:51, Lin Yujun wrote:
> The following patch adds the specre_v2=ibrs option in
> Documentation/admin-guide/kernel-parameters.txt
> but omits it to
> Documentation/admin-guide/hw-vuln/spectre.rst
> 
> commit 7c693f54c873691 ("x86/speculation: Add spectre_v2=ibrs option to support Kernel IBRS")
> 
> Supplement the specre_v2=ibrs option to
> Documentation/admin-guide/hw-vuln/spectre.rst
> 

Please massage the patch description so that it uses imperative mood.

-- 
An old man doll... just what I always wanted! - Clara

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH -next] Documentation/hw-vuln: Update spectre doc
@ 2022-08-26  6:51 Lin Yujun
  2022-08-26 12:56 ` Bagas Sanjaya
  0 siblings, 1 reply; 5+ messages in thread
From: Lin Yujun @ 2022-08-26  6:51 UTC (permalink / raw)
  To: corbet, bp, keescook, aarcange, daniel.sneddon, longman,
	lukas.bulwahn, peterz, kim.phillips, linyujun809
  Cc: linux-doc, linux-kernel

The following patch adds the specre_v2=ibrs option in
Documentation/admin-guide/kernel-parameters.txt
but omits it to
Documentation/admin-guide/hw-vuln/spectre.rst

commit 7c693f54c873691 ("x86/speculation: Add spectre_v2=ibrs option to support Kernel IBRS")

Supplement the specre_v2=ibrs option to
Documentation/admin-guide/hw-vuln/spectre.rst

Signed-off-by: Lin Yujun <linyujun809@huawei.com>
---
 Documentation/admin-guide/hw-vuln/spectre.rst | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/admin-guide/hw-vuln/spectre.rst b/Documentation/admin-guide/hw-vuln/spectre.rst
index 2ce2a38cdd55..c4dcdb3d0d45 100644
--- a/Documentation/admin-guide/hw-vuln/spectre.rst
+++ b/Documentation/admin-guide/hw-vuln/spectre.rst
@@ -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.
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-09-21 20:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-30 12:36 [PATCH -next] Documentation/hw-vuln: Update spectre doc Lin Yujun
2022-09-13  9:38 ` linyujun (C)
2022-09-21 20:09 ` Jonathan Corbet
  -- strict thread matches above, loose matches on Subject: below --
2022-08-26  6:51 Lin Yujun
2022-08-26 12:56 ` Bagas Sanjaya

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).