Re: [PATCH v3 3/6] KVM: PPC: selftests: add support for powerpc

2023-08-02 Thread Sean Christopherson
On Thu, Jun 08, 2023, Nicholas Piggin wrote: > diff --git a/tools/testing/selftests/kvm/lib/powerpc/ucall.c > b/tools/testing/selftests/kvm/lib/powerpc/ucall.c > new file mode 100644 > index ..ce0ddde45fef > --- /dev/null > +++ b/tools/testing/selftests/kvm/lib/powerpc/ucall.c > @@ -0,

[PATCH v3 3/6] KVM: PPC: selftests: add support for powerpc

2023-06-07 Thread Nicholas Piggin
Implement KVM selftests support for powerpc (Book3S-64). ucalls are implemented with an unsuppored PAPR hcall number which will always cause KVM to exit to userspace. Virtual memory is implemented for the radix MMU, and only a base page size is supported (both 4K and 64K). Guest interrupts are t