• Oliver Upton's avatar
    Merge branch kvm-arm64/nv-tcr2 into kvmarm/next · bc2e3253
    Oliver Upton authored
    * kvm-arm64/nv-tcr2:
      : Fixes to the handling of TCR_EL1, courtesy of Marc Zyngier
      :
      : Series addresses a couple gaps that are present in KVM (from cover
      : letter):
      :
      :   - VM configuration: HCRX_EL2.TCR2En is forced to 1, and we blindly
      :     save/restore stuff.
      :
      :   - trap bit description and routing: none, obviously, since we make a
      :     point in not trapping.
      KVM: arm64: Honor trap routing for TCR2_EL1
      KVM: arm64: Make PIR{,E0}_EL1 save/restore conditional on FEAT_TCRX
      KVM: arm64: Make TCR2_EL1 save/restore dependent on the VM features
      KVM: arm64: Get rid of HCRX_GUEST_FLAGS
      KVM: arm64: Correctly honor the presence of FEAT_TCRX
    Signed-off-by: default avatarOliver Upton <oliver.upton@linux.dev>
    bc2e3253
emulate-nested.c 86.4 KB