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

From: Pierre Morel
Date: Thu Jul 15 2021 - 06:48:24 EST




On 7/15/21 10:52 AM, David Hildenbrand wrote:
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 :)

hum, yes, sorry, seems I kept my old commit message as I let fall the capability after internal reviews.




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 */




--
Pierre Morel
IBM Lab Boeblingen