]> www.infradead.org Git - nvme.git/commitdiff
KVM: Documentation: Correct the VGIC V2 CPU interface addr space size
authorChangyuan Lyu <changyuanl@google.com>
Sun, 23 Jun 2024 16:45:41 +0000 (09:45 -0700)
committerOliver Upton <oliver.upton@linux.dev>
Fri, 28 Jun 2024 22:00:24 +0000 (22:00 +0000)
In arch/arm64/include/uapi/asm/kvm.h, we have

  #define KVM_VGIC_V2_CPU_SIZE 0x2000

So the CPU interface address space should cover 8 KByte not 4 KByte.

Signed-off-by: Changyuan Lyu <changyuanl@google.com>
Link: https://lore.kernel.org/r/20240623164542.2999626-3-changyuanl@google.com
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Documentation/virt/kvm/devices/arm-vgic.rst

index 40bdeea1d86e75b9b912f893ff8bf95b892cf839..19f0c6756891fc3ec0df67bda56a1a24ce44db99 100644 (file)
@@ -31,7 +31,7 @@ Groups:
     KVM_VGIC_V2_ADDR_TYPE_CPU (rw, 64-bit)
       Base address in the guest physical address space of the GIC virtual cpu
       interface register mappings. Only valid for KVM_DEV_TYPE_ARM_VGIC_V2.
-      This address needs to be 4K aligned and the region covers 4 KByte.
+      This address needs to be 4K aligned and the region covers 8 KByte.
 
   Errors: