[PATCH v3 3/3] KVM: PPC: Add KVM_CAP_PPC_AIL_MODE_3

Michael Ellerman mpe at ellerman.id.au
Tue Feb 22 14:34:08 AEDT 2022


Nicholas Piggin <npiggin at gmail.com> writes:
> Add KVM_CAP_PPC_AIL_MODE_3 to advertise the capability to set the AIL
> resource mode to 3 with the H_SET_MODE hypercall. This capability
> differs between processor types and KVM types (PR, HV, Nested HV), and
> affects guest-visible behaviour.
>
> QEMU will implement a cap-ail-mode-3 to control this behaviour[1], and
> use the KVM CAP if available to determine KVM support[2].
>
> [1] https://lists.nongnu.org/archive/html/qemu-ppc/2022-02/msg00437.html
> [2] https://lists.nongnu.org/archive/html/qemu-ppc/2022-02/msg00439.html
>
> Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
> ---
>  Documentation/virt/kvm/api.rst         | 14 ++++++++++++++
>  arch/powerpc/include/asm/setup.h       |  2 ++
>  arch/powerpc/kvm/powerpc.c             | 20 ++++++++++++++++++++
>  arch/powerpc/platforms/pseries/setup.c | 12 +++++++++++-
>  include/uapi/linux/kvm.h               |  1 +
>  tools/include/uapi/linux/kvm.h         |  1 +
>  6 files changed, 49 insertions(+), 1 deletion(-)

This one especially, but may as well be the whole series, needs to be
Cc'ed to kvm at vger.kernel.org, so that the generic KVM folks are aware of
it.

Can you do a resend Cc'ing them please.

cheers


More information about the Linuxppc-dev mailing list