• Marc Zyngier's avatar
    Merge branch kvm-arm64/burn-the-flags into kvmarm-master/next · dc94f89a
    Marc Zyngier authored
    * kvm-arm64/burn-the-flags:
      : .
      : Rework the per-vcpu flags to make them more manageable,
      : splitting them in different sets that have specific
      : uses:
      :
      : - configuration flags
      : - input to the world-switch
      : - state bookkeeping for the kernel itself
      :
      : The FP tracking is also simplified and tracked outside
      : of the flags as a separate state.
      : .
      KVM: arm64: Move the handling of !FP outside of the fast path
      KVM: arm64: Document why pause cannot be turned into a flag
      KVM: arm64: Reduce the size of the vcpu flag members
      KVM: arm64: Add build-time sanity checks for flags
      KVM: arm64: Warn when PENDING_EXCEPTION and INCREMENT_PC are set together
      KVM: arm64: Convert vcpu sysregs_loaded_on_cpu to a state flag
      KVM: arm64: Kill unused vcpu flags field
      KVM: arm64: Move vcpu WFIT flag to the state flag set
      KVM: arm64: Move vcpu ON_UNSUPPORTED_CPU flag to the state flag set
      KVM: arm64: Move vcpu SVE/SME flags to the state flag set
      KVM: arm64: Move vcpu debug/SPE/TRBE flags to the input flag set
      KVM: arm64: Move vcpu PC/Exception flags to the input flag set
      KVM: arm64: Move vcpu configuration flags into their own set
      KVM: arm64: Add three sets of flags to the vcpu state
      KVM: arm64: Add helpers to manipulate vcpu flags among a set
      KVM: arm64: Move FP state ownership from flag to a tristate
      KVM: arm64: Drop FP_FOREIGN_STATE from the hypervisor code
    Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
    dc94f89a
sys_regs.c 13.7 KB