Re: [PATCH v2 stable v4.4 2/2] Documentation: Add nospectre_v1 parameter

2019-04-30 Thread Greg KH
On Tue, Apr 30, 2019 at 03:42:27PM +0300, Diana Craciun wrote:
> commit 26cb1f36c43ee6e89d2a9f48a5a7500d5248f836 upstream.
> 
> Currently only supported on powerpc.
> 
> Signed-off-by: Diana Craciun 
> Signed-off-by: Michael Ellerman 
> ---
>  Documentation/kernel-parameters.txt | 4 
>  1 file changed, 4 insertions(+)
> 
> diff --git a/Documentation/kernel-parameters.txt 
> b/Documentation/kernel-parameters.txt
> index f0bdf78420a0..3ff87d5d6fea 100644
> --- a/Documentation/kernel-parameters.txt
> +++ b/Documentation/kernel-parameters.txt
> @@ -2449,6 +2449,10 @@ bytes respectively. Such letter suffixes can also be 
> entirely omitted.
>   legacy floating-point registers on task switch.
>  
>   nohugeiomap [KNL,x86] Disable kernel huge I/O mappings.
> + 
> + nospectre_v1[PPC] Disable mitigations for Spectre Variant 1 (bounds
> + check bypass). With this option data leaks are possible
> + in the system.
>  
>   nospectre_v2[X86,PPC_FSL_BOOK3E] Disable all mitigations for the 
> Spectre variant 2
>   (indirect branch prediction) vulnerability. System may
> -- 
> 2.17.1
>

Both of these patches needed to be added to a bunch of the stable trees,
so I've now done that.

thanks,

greg k-h


Re: [PATCH v2 stable v4.4 2/2] Documentation: Add nospectre_v1 parameter

2019-04-30 Thread Greg KH
On Tue, Apr 30, 2019 at 03:42:27PM +0300, Diana Craciun wrote:
> commit 26cb1f36c43ee6e89d2a9f48a5a7500d5248f836 upstream.
> 
> Currently only supported on powerpc.
> 
> Signed-off-by: Diana Craciun 
> Signed-off-by: Michael Ellerman 
> ---
>  Documentation/kernel-parameters.txt | 4 
>  1 file changed, 4 insertions(+)
> 
> diff --git a/Documentation/kernel-parameters.txt 
> b/Documentation/kernel-parameters.txt
> index f0bdf78420a0..3ff87d5d6fea 100644
> --- a/Documentation/kernel-parameters.txt
> +++ b/Documentation/kernel-parameters.txt
> @@ -2449,6 +2449,10 @@ bytes respectively. Such letter suffixes can also be 
> entirely omitted.
>   legacy floating-point registers on task switch.
>  
>   nohugeiomap [KNL,x86] Disable kernel huge I/O mappings.
> + 

Trailing whitespace :(

Fix up your editor to flag this as RED or something.  I'll go fix it
up...



[PATCH v2 stable v4.4 2/2] Documentation: Add nospectre_v1 parameter

2019-04-30 Thread Diana Craciun
commit 26cb1f36c43ee6e89d2a9f48a5a7500d5248f836 upstream.

Currently only supported on powerpc.

Signed-off-by: Diana Craciun 
Signed-off-by: Michael Ellerman 
---
 Documentation/kernel-parameters.txt | 4 
 1 file changed, 4 insertions(+)

diff --git a/Documentation/kernel-parameters.txt 
b/Documentation/kernel-parameters.txt
index f0bdf78420a0..3ff87d5d6fea 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -2449,6 +2449,10 @@ bytes respectively. Such letter suffixes can also be 
entirely omitted.
legacy floating-point registers on task switch.
 
nohugeiomap [KNL,x86] Disable kernel huge I/O mappings.
+   
+   nospectre_v1[PPC] Disable mitigations for Spectre Variant 1 (bounds
+   check bypass). With this option data leaks are possible
+   in the system.
 
nospectre_v2[X86,PPC_FSL_BOOK3E] Disable all mitigations for the 
Spectre variant 2
(indirect branch prediction) vulnerability. System may
-- 
2.17.1