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

From: Pierre Morel
Date: Wed Jul 14 2021 - 11:25:58 EST


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.

Signed-off-by: Pierre Morel <pmorel@xxxxxxxxxxxxx>
---
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 */
--
2.25.1