1. 20 Mar, 2019 1 commit
    • Dave Martin's avatar
      arm64: Add basic SVE support · 0eb79e44
      Dave Martin authored
      
      
      This patch adds an --sve command line option to allow the Scalable
      Vector Extension to be enabled when creating a guest.
      
      This requires use of the new KVM_ARM_VCPU_FINALIZE ioctl before the
      vcpu is runnable, so a new hook kvm_cpu__configure_features() is
      added to provide an appropiate place to do this work.
      
      The kernel does not enable SVE by default, and for now kvmtool
      adopts the same policy: without --sve, SVE is not enabled for the
      guest even if the host supports it.
      Signed-off-by: default avatarDave Martin <Dave.Martin@arm.com>
      0eb79e44
  2. 08 Jul, 2015 1 commit
    • Andre Przywara's avatar
      arm: simplify MMIO dispatching · ce6ae122
      Andre Przywara authored
      
      
      Currently we separate any incoming MMIO request into one of the ARM
      memory map regions and take care to spare the GIC.
      It turns out that this is unnecessary, as we only have one special
      region (the IO port area in the first 64 KByte). The MMIO rbtree
      takes care about unhandled MMIO ranges, so we can simply drop all the
      special range checking (except that for the IO range) in
      kvm_cpu__emulate_mmio().
      As the GIC is handled in the kernel, a GIC MMIO access should never
      reach userland (and we don't know what to do with it anyway).
      This lets us delete some more code and simplifies future extensions
      (like expanding the GIC regions).
      To be in line with the other architectures, move the now simpler
      code into a header file.
      Signed-off-by: Andre Przywara's avatarAndre Przywara <andre.przywara@arm.com>
      Reviewed-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
      Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
      ce6ae122
  3. 01 Jun, 2015 11 commits