• Oliver Upton's avatar
    Merge branch kvm-arm64/nv-sve into kvmarm/next · 8c2899e7
    Oliver Upton authored
    * kvm-arm64/nv-sve:
      : CPTR_EL2, FPSIMD/SVE support for nested
      :
      : This series brings support for honoring the guest hypervisor's CPTR_EL2
      : trap configuration when running a nested guest, along with support for
      : FPSIMD/SVE usage at L1 and L2.
      KVM: arm64: Allow the use of SVE+NV
      KVM: arm64: nv: Add additional trap setup for CPTR_EL2
      KVM: arm64: nv: Add trap description for CPTR_EL2
      KVM: arm64: nv: Add TCPAC/TTA to CPTR->CPACR conversion helper
      KVM: arm64: nv: Honor guest hypervisor's FP/SVE traps in CPTR_EL2
      KVM: arm64: nv: Load guest FP state for ZCR_EL2 trap
      KVM: arm64: nv: Handle CPACR_EL1 traps
      KVM: arm64: Spin off helper for programming CPTR traps
      KVM: arm64: nv: Ensure correct VL is loaded before saving SVE state
      KVM: arm64: nv: Use guest hypervisor's max VL when running nested guest
      KVM: arm64: nv: Save guest's ZCR_EL2 when in hyp context
      KVM: arm64: nv: Load guest hyp's ZCR into EL1 state
      KVM: arm64: nv: Handle ZCR_EL2 traps
      KVM: arm64: nv: Forward SVE traps to guest hypervisor
      KVM: arm64: nv: Forward FP/ASIMD traps to guest hypervisor
    Signed-off-by: default avatarOliver Upton <oliver.upton@linux.dev>
    8c2899e7
kvm_emulate.h 17.7 KB