mbox series

[v3,0/4] KVM: PPC: KVM module exit fixes

Message ID 20220125155735.1018683-1-farosas@linux.ibm.com
Headers show
Series KVM: PPC: KVM module exit fixes | expand

Message

Fabiano Rosas Jan. 25, 2022, 3:57 p.m. UTC
changes from v2:

- patch 4: Matched module_put() to try_module_get()

v2:
https://lore.kernel.org/r/20220124220803.1011673-1-farosas@linux.ibm.com

v1:
https://lore.kernel.org/r/20211223211931.3560887-1-farosas@linux.ibm.com

Fabiano Rosas (4):
  KVM: PPC: Book3S HV: Check return value of kvmppc_radix_init
  KVM: PPC: Book3S HV: Delay setting of kvm ops
  KVM: PPC: Book3S HV: Free allocated memory if module init fails
  KVM: PPC: Decrement module refcount if init_vm fails

 arch/powerpc/kvm/book3s_hv.c | 28 ++++++++++++++++++++--------
 arch/powerpc/kvm/powerpc.c   |  9 +++++++--
 2 files changed, 27 insertions(+), 10 deletions(-)

Comments

Michael Ellerman March 12, 2022, 10:37 a.m. UTC | #1
On Tue, 25 Jan 2022 12:57:31 -0300, Fabiano Rosas wrote:
> changes from v2:
> 
> - patch 4: Matched module_put() to try_module_get()
> 
> v2:
> https://lore.kernel.org/r/20220124220803.1011673-1-farosas@linux.ibm.com
> 
> [...]

Applied to powerpc/topic/ppc-kvm.

[1/4] KVM: PPC: Book3S HV: Check return value of kvmppc_radix_init
      https://git.kernel.org/powerpc/c/69ab6ac380a00244575de02c406dcb9491bf3368
[2/4] KVM: PPC: Book3S HV: Delay setting of kvm ops
      https://git.kernel.org/powerpc/c/c5d0d77b45265905bba2ce6e63c9a02bbd11c43c
[3/4] KVM: PPC: Book3S HV: Free allocated memory if module init fails
      https://git.kernel.org/powerpc/c/175be7e5800e2782a7e38ee9e1b64633494c4b44
[4/4] KVM: PPC: Decrement module refcount if init_vm fails
      https://git.kernel.org/powerpc/c/4feb74aa64b35b21a4937f96d7a940adee286e5b

cheers