]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S HV: Nested support in H_RPT_INVALIDATE
authorBharata B Rao <bharata@linux.ibm.com>
Mon, 21 Jun 2021 08:50:01 +0000 (14:20 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 22 Jun 2021 13:35:37 +0000 (23:35 +1000)
commit7bc9f862467630463b72ef7e71f47da933f3edae
tree0c0c43b9af5747df7400aef5d1a65203bcafe168
parent89846162941514074a72e6ec905cd1e1e3ada5dd
KVM: PPC: Book3S HV: Nested support in H_RPT_INVALIDATE

Enable support for process-scoped invalidations from nested
guests and partition-scoped invalidations for nested guests.

Process-scoped invalidations for any level of nested guests
are handled by implementing H_RPT_INVALIDATE handler in the
nested guest exit path in L0.

Partition-scoped invalidation requests are forwarded to the
right nested guest, handled there and passed down to L0
for eventual handling.

Signed-off-by: Bharata B Rao <bharata@linux.ibm.com>
[aneesh: Nested guest partition-scoped invalidation changes]
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
[mpe: Squash in fixup patch]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210621085003.904767-5-bharata@linux.ibm.com
arch/powerpc/include/asm/book3s/64/tlbflush-radix.h
arch/powerpc/include/asm/kvm_book3s.h
arch/powerpc/kvm/book3s_hv.c
arch/powerpc/kvm/book3s_hv_nested.c
arch/powerpc/mm/book3s64/radix_tlb.c