• Marc Zyngier's avatar
    Merge branch kvm-arm64/pkvm/fixed-features into kvmarm-master/next · be08c3cf
    Marc Zyngier authored
    * kvm-arm64/pkvm/fixed-features: (22 commits)
      : .
      : Add the pKVM fixed feature that allows a bunch of exceptions
      : to either be forbidden or be easily handled at EL2.
      : .
      KVM: arm64: pkvm: Give priority to standard traps over pvm handling
      KVM: arm64: pkvm: Pass vpcu instead of kvm to kvm_get_exit_handler_array()
      KVM: arm64: pkvm: Move kvm_handle_pvm_restricted around
      KVM: arm64: pkvm: Consolidate include files
      KVM: arm64: pkvm: Preserve pending SError on exit from AArch32
      KVM: arm64: pkvm: Handle GICv3 traps as required
      KVM: arm64: pkvm: Drop sysregs that should never be routed to the host
      KVM: arm64: pkvm: Drop AArch32-specific registers
      KVM: arm64: pkvm: Make the ERR/ERX*_EL1 registers RAZ/WI
      KVM: arm64: pkvm: Use a single function to expose all id-regs
      KVM: arm64: Fix early exit ptrauth handling
      KVM: arm64: Handle protected guests at 32 bits
      KVM: arm64: Trap access to pVM restricted features
      KVM: arm64: Move sanitized copies of CPU features
      KVM: arm64: Initialize trap registers for protected VMs
      KVM: arm64: Add handlers for protected VM System Registers
      KVM: arm64: Simplify masking out MTE in feature id reg
      KVM: arm64: Add missing field descriptor for MDCR_EL2
      KVM: arm64: Pass struct kvm to per-EC handlers
      KVM: arm64: Move early handlers to per-EC handlers
      ...
    Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
    be08c3cf
arm.c 51.5 KB