Re: [PATCH v1 2/2] KVM: s390: Topology expose TOPOLOGY facility

David Hildenbrand
2021-07-15T08:52:42Z

On 14.07.21 17:25, Pierre Morel wrote:
> We add the KVM extension KVM_CAP_S390_CPU_TOPOLOGY, this will
> allow the userland hypervisor to handle the interception of the
> PTF (Perform topology Function) instruction.

Ehm, no you don't add any new capability. Or my eyes are too tired to
spot it :)

>
> Signed-off-by: Pierre Morel <pmorel@linux.ibm.com>
> ---
> arch/s390/tools/gen_facilities.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/s390/tools/gen_facilities.c b/arch/s390/tools/gen_facilities.c
> index 606324e56e4e..2c260eb22bae 100644
> --- a/arch/s390/tools/gen_facilities.c
> +++ b/arch/s390/tools/gen_facilities.c
> @@ -112,6 +112,7 @@ static struct facility_def facility_defs[] = {
>
> .name = "FACILITIES_KVM_CPUMODEL",
> .bits = (int[]){
> + 11, /* configuration topology facility */
> 12, /* AP Query Configuration Information */
> 15, /* AP Facilities Test */
> 156, /* etoken facility */
>

--
Thanks,

David / dhildenb