mbox series

[SRU,Xenial,0/3] Fix corruption on blocked_vcpu_on_cpu list

Message ID 20201216194145.24239-1-ioanna-maria.alifieraki@canonical.com
Headers show
Series Fix corruption on blocked_vcpu_on_cpu list | expand

Message

Ioanna Alifieraki Dec. 16, 2020, 7:41 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1908428

The following 3 patches fix the bug reported in [1].
They are backported to apply on 4.4 kernels. 
Backport is required becasue upstream commit 
bc22512bb24c(kvm: vmx: rename vmx_pre/post_block to pi_pre/post_block)
which renames  vmx_pre/post_block functions to pi_pre/post_block
is missing from 4.4.
Original patches come from [2] and have been accepted upstream.

[1] https://marc.info/?l=kvm&m=149559827906211&w=2
[2] https://lore.kernel.org/lkml/20170606105707.23207-1-pbonzini@redhat.com/ 

Paolo Bonzini (3):
  KVM: VMX: extract __pi_post_block
  KVM: VMX: avoid double list add with VT-d posted interrupts
  KVM: VMX: simplify and fix vmx_vcpu_pi_load

 arch/x86/kvm/vmx.c | 181 ++++++++++++++++++++++-----------------------
 1 file changed, 89 insertions(+), 92 deletions(-)

Comments

Kelsey Skunberg Dec. 18, 2020, 1:29 a.m. UTC | #1
Hi Ioanna, 

i386 build fails with these patches. May you please fix up and submit
a v2? Thank you! 

-Kelsey

On 2020-12-16 19:41:42 , Ioanna Alifieraki wrote:
> BugLink: https://bugs.launchpad.net/bugs/1908428
> 
> The following 3 patches fix the bug reported in [1].
> They are backported to apply on 4.4 kernels. 
> Backport is required becasue upstream commit 
> bc22512bb24c(kvm: vmx: rename vmx_pre/post_block to pi_pre/post_block)
> which renames  vmx_pre/post_block functions to pi_pre/post_block
> is missing from 4.4.
> Original patches come from [2] and have been accepted upstream.
> 
> [1] https://marc.info/?l=kvm&m=149559827906211&w=2
> [2] https://lore.kernel.org/lkml/20170606105707.23207-1-pbonzini@redhat.com/ 
> 
> Paolo Bonzini (3):
>   KVM: VMX: extract __pi_post_block
>   KVM: VMX: avoid double list add with VT-d posted interrupts
>   KVM: VMX: simplify and fix vmx_vcpu_pi_load
> 
>  arch/x86/kvm/vmx.c | 181 ++++++++++++++++++++++-----------------------
>  1 file changed, 89 insertions(+), 92 deletions(-)
> 
> -- 
> 2.17.1
> 
> 
> -- 
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team