Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 100e6298 authored by Eric Auger's avatar Eric Auger Committed by Christoffer Dall
Browse files

KVM: arm/arm64: Add GICV3 pending table save API documentation



Add description for how to save GICV3 LPI pending bit into
guest RAM pending tables.

Signed-off-by: default avatarEric Auger <eric.auger@redhat.com>
Acked-by: default avatarChristoffer Dall <cdall@linaro.org>
Acked-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
parent de2a0910
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -167,11 +167,17 @@ Groups:
    KVM_DEV_ARM_VGIC_CTRL_INIT
    KVM_DEV_ARM_VGIC_CTRL_INIT
      request the initialization of the VGIC, no additional parameter in
      request the initialization of the VGIC, no additional parameter in
      kvm_device_attr.addr.
      kvm_device_attr.addr.
    KVM_DEV_ARM_VGIC_SAVE_PENDING_TABLES
      save all LPI pending bits into guest RAM pending tables.

      The first kB of the pending table is not altered by this operation.
  Errors:
  Errors:
    -ENXIO: VGIC not properly configured as required prior to calling
    -ENXIO: VGIC not properly configured as required prior to calling
     this attribute
     this attribute
    -ENODEV: no online VCPU
    -ENODEV: no online VCPU
    -ENOMEM: memory shortage when allocating vgic internal data
    -ENOMEM: memory shortage when allocating vgic internal data
    -EFAULT: Invalid guest ram access
    -EBUSY:  One or more VCPUS are running




  KVM_DEV_ARM_VGIC_GRP_LEVEL_INFO
  KVM_DEV_ARM_VGIC_GRP_LEVEL_INFO