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

From: Michael Ellerman <[email-masked]>
Date: Tue, 22 Feb 2022 14:34:08 +1100

Nicholas Piggin <[email-masked]> 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 <[email-masked]>
> ---
>  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 [email-masked], so that the generic KVM folks are aware of
it.

Can you do a resend Cc'ing them please.

cheers