mbox series

[SRU,Bionic,0/6] Bionic: Sync to Xenial (Spectre) (LP: #1822760)

Message ID 20190410101008.14726-1-juergh@canonical.com
Headers show
Series Bionic: Sync to Xenial (Spectre) (LP: #1822760) | expand

Message

Juerg Haefliger April 10, 2019, 10:10 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1822760

== SRU Justification ==

There are a couple of Spectre related commits in Xenial that never landed in Bionic. Fix that to prevent a regression when upgrading from Xenial to Bionic.

== Regression Potential ==

Low. These are not very intrusive commits that have been in upstream for quite a while.

== Fix ==

Backport the relevant commits from upstream.

== Test Case ==

TBD.

Compile-tested all architectures.

Signed-off-by: Juerg Haefliger <juergh@canonical.com>


Juerg Haefliger (2):
  UBUNTU: SAUCE: [Fix] x86/KVM/VMX: Add L1D flush logic
  UBUNTU: SAUCE: [Fix] x86/speculation: Use ARCH_CAPABILITIES to skip
    L1D flush on vmentry

Paolo Bonzini (1):
  KVM: VMX: fixes for vmentry_l1d_flush module parameter

Tom Lendacky (1):
  KVM: SVM: Add MSR-based feature support for serializing LFENCE

Vlastimil Babka (1):
  x86/speculation/l1tf: Suggest what to do on systems with too much RAM

Wanpeng Li (1):
  KVM: X86: Allow userspace to define the microcode version

 arch/x86/include/asm/kvm_host.h |  1 +
 arch/x86/kernel/cpu/bugs.c      |  4 +++
 arch/x86/kvm/svm.c              | 40 +++++++++++++++++++++++++++---
 arch/x86/kvm/vmx.c              | 43 +++++++++++++++++++--------------
 arch/x86/kvm/x86.c              | 18 ++++++++++----
 5 files changed, 79 insertions(+), 27 deletions(-)

Comments

Stefan Bader April 17, 2019, 3:58 p.m. UTC | #1
On 10.04.19 12:10, Juerg Haefliger wrote:
> BugLink: https://bugs.launchpad.net/bugs/1822760
> 
> == SRU Justification ==
> 
> There are a couple of Spectre related commits in Xenial that never landed in Bionic. Fix that to prevent a regression when upgrading from Xenial to Bionic.
> 
> == Regression Potential ==
> 
> Low. These are not very intrusive commits that have been in upstream for quite a while.
> 
> == Fix ==
> 
> Backport the relevant commits from upstream.
> 
> == Test Case ==
> 
> TBD.
> 
> Compile-tested all architectures.
> 
> Signed-off-by: Juerg Haefliger <juergh@canonical.com>
> 
> 
> Juerg Haefliger (2):
>   UBUNTU: SAUCE: [Fix] x86/KVM/VMX: Add L1D flush logic
>   UBUNTU: SAUCE: [Fix] x86/speculation: Use ARCH_CAPABILITIES to skip
>     L1D flush on vmentry
> 
> Paolo Bonzini (1):
>   KVM: VMX: fixes for vmentry_l1d_flush module parameter
> 
> Tom Lendacky (1):
>   KVM: SVM: Add MSR-based feature support for serializing LFENCE
> 
> Vlastimil Babka (1):
>   x86/speculation/l1tf: Suggest what to do on systems with too much RAM
> 
> Wanpeng Li (1):
>   KVM: X86: Allow userspace to define the microcode version
> 
>  arch/x86/include/asm/kvm_host.h |  1 +
>  arch/x86/kernel/cpu/bugs.c      |  4 +++
>  arch/x86/kvm/svm.c              | 40 +++++++++++++++++++++++++++---
>  arch/x86/kvm/vmx.c              | 43 +++++++++++++++++++--------------
>  arch/x86/kvm/x86.c              | 18 ++++++++++----
>  5 files changed, 79 insertions(+), 27 deletions(-)
> 
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Kleber Sacilotto de Souza April 23, 2019, 10:07 a.m. UTC | #2
On 4/10/19 12:10 PM, Juerg Haefliger wrote:
> BugLink: https://bugs.launchpad.net/bugs/1822760
> 
> == SRU Justification ==
> 
> There are a couple of Spectre related commits in Xenial that never landed in Bionic. Fix that to prevent a regression when upgrading from Xenial to Bionic.
> 
> == Regression Potential ==
> 
> Low. These are not very intrusive commits that have been in upstream for quite a while.
> 
> == Fix ==
> 
> Backport the relevant commits from upstream.
> 
> == Test Case ==
> 
> TBD.
> 
> Compile-tested all architectures.
> 
> Signed-off-by: Juerg Haefliger <juergh@canonical.com>
> 
> 
> Juerg Haefliger (2):
>   UBUNTU: SAUCE: [Fix] x86/KVM/VMX: Add L1D flush logic
>   UBUNTU: SAUCE: [Fix] x86/speculation: Use ARCH_CAPABILITIES to skip
>     L1D flush on vmentry
> 
> Paolo Bonzini (1):
>   KVM: VMX: fixes for vmentry_l1d_flush module parameter
> 
> Tom Lendacky (1):
>   KVM: SVM: Add MSR-based feature support for serializing LFENCE
> 
> Vlastimil Babka (1):
>   x86/speculation/l1tf: Suggest what to do on systems with too much RAM
> 
> Wanpeng Li (1):
>   KVM: X86: Allow userspace to define the microcode version
> 
>  arch/x86/include/asm/kvm_host.h |  1 +
>  arch/x86/kernel/cpu/bugs.c      |  4 +++
>  arch/x86/kvm/svm.c              | 40 +++++++++++++++++++++++++++---
>  arch/x86/kvm/vmx.c              | 43 +++++++++++++++++++--------------
>  arch/x86/kvm/x86.c              | 18 ++++++++++----
>  5 files changed, 79 insertions(+), 27 deletions(-)
> 

Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Stefan Bader April 24, 2019, 7:54 a.m. UTC | #3
On 10.04.19 12:10, Juerg Haefliger wrote:
> BugLink: https://bugs.launchpad.net/bugs/1822760
> 
> == SRU Justification ==
> 
> There are a couple of Spectre related commits in Xenial that never landed in Bionic. Fix that to prevent a regression when upgrading from Xenial to Bionic.
> 
> == Regression Potential ==
> 
> Low. These are not very intrusive commits that have been in upstream for quite a while.
> 
> == Fix ==
> 
> Backport the relevant commits from upstream.
> 
> == Test Case ==
> 
> TBD.
> 
> Compile-tested all architectures.
> 
> Signed-off-by: Juerg Haefliger <juergh@canonical.com>
> 
> 
> Juerg Haefliger (2):
>   UBUNTU: SAUCE: [Fix] x86/KVM/VMX: Add L1D flush logic
>   UBUNTU: SAUCE: [Fix] x86/speculation: Use ARCH_CAPABILITIES to skip
>     L1D flush on vmentry
> 
> Paolo Bonzini (1):
>   KVM: VMX: fixes for vmentry_l1d_flush module parameter
> 
> Tom Lendacky (1):
>   KVM: SVM: Add MSR-based feature support for serializing LFENCE
> 
> Vlastimil Babka (1):
>   x86/speculation/l1tf: Suggest what to do on systems with too much RAM
> 
> Wanpeng Li (1):
>   KVM: X86: Allow userspace to define the microcode version
> 
>  arch/x86/include/asm/kvm_host.h |  1 +
>  arch/x86/kernel/cpu/bugs.c      |  4 +++
>  arch/x86/kvm/svm.c              | 40 +++++++++++++++++++++++++++---
>  arch/x86/kvm/vmx.c              | 43 +++++++++++++++++++--------------
>  arch/x86/kvm/x86.c              | 18 ++++++++++----
>  5 files changed, 79 insertions(+), 27 deletions(-)
> 

Applied to bionic/master-next. Thanks.

-Stefan