mbox series

[0/3] KVM: Fixes and a cleanup for coalesced MMIO

Message ID 20210412222050.876100-1-seanjc@google.com (mailing list archive)
Headers show
Series KVM: Fixes and a cleanup for coalesced MMIO | expand

Message

Sean Christopherson April 12, 2021, 10:20 p.m. UTC
Fix two bugs that are exposed if unregistered a device on an I/O bus fails
due to OOM.  Tack on opportunistic cleanup in the related code.
 
Sean Christopherson (3):
  KVM: Destroy I/O bus devices on unregister failure _after_ sync'ing
    SRCU
  KVM: Stop looking for coalesced MMIO zones if the bus is destroyed
  KVM: Add proper lockdep assertion in I/O bus unregister

 include/linux/kvm_host.h  |  4 ++--
 virt/kvm/coalesced_mmio.c | 19 +++++++++++++++++--
 virt/kvm/kvm_main.c       | 26 ++++++++++++++++----------
 3 files changed, 35 insertions(+), 14 deletions(-)

Comments

Paolo Bonzini April 17, 2021, 1:11 p.m. UTC | #1
On 13/04/21 00:20, Sean Christopherson wrote:
> Fix two bugs that are exposed if unregistered a device on an I/O bus fails
> due to OOM.  Tack on opportunistic cleanup in the related code.
>   
> Sean Christopherson (3):
>    KVM: Destroy I/O bus devices on unregister failure _after_ sync'ing
>      SRCU
>    KVM: Stop looking for coalesced MMIO zones if the bus is destroyed
>    KVM: Add proper lockdep assertion in I/O bus unregister
> 
>   include/linux/kvm_host.h  |  4 ++--
>   virt/kvm/coalesced_mmio.c | 19 +++++++++++++++++--
>   virt/kvm/kvm_main.c       | 26 ++++++++++++++++----------
>   3 files changed, 35 insertions(+), 14 deletions(-)
> 

Queued, thanks.

Paolo