1. 05 12月, 2015 1 次提交
  2. 21 7月, 2015 3 次提交
  3. 15 1月, 2015 3 次提交
  4. 29 8月, 2014 1 次提交
    • C
      arm/arm64: KVM: Complete WFI/WFE instructions · 05e0127f
      Christoffer Dall 提交于
      The architecture specifies that when the processor wakes up from a WFE
      or WFI instruction, the instruction is considered complete, however we
      currrently return to EL1 (or EL0) at the WFI/WFE instruction itself.
      
      While most guests may not be affected by this because their local
      exception handler performs an exception returning setting the event bit
      or with an interrupt pending, some guests like UEFI will get wedged due
      this little mishap.
      
      Simply skip the instruction when we have completed the emulation.
      
      Cc: <stable@vger.kernel.org>
      Acked-by: NMarc Zyngier <marc.zyngier@arm.com>
      Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
      Signed-off-by: NChristoffer Dall <christoffer.dall@linaro.org>
      05e0127f
  5. 11 7月, 2014 1 次提交
  6. 30 4月, 2014 1 次提交
  7. 28 12月, 2013 1 次提交
  8. 19 12月, 2013 1 次提交
  9. 30 10月, 2013 1 次提交
    • M
      arm64: KVM: Yield CPU when vcpu executes a WFE · d241aac7
      Marc Zyngier 提交于
      On an (even slightly) oversubscribed system, spinlocks are quickly
      becoming a bottleneck, as some vcpus are spinning, waiting for a
      lock to be released, while the vcpu holding the lock may not be
      running at all.
      
      The solution is to trap blocking WFEs and tell KVM that we're
      now spinning. This ensures that other vpus will get a scheduling
      boost, allowing the lock to be released more quickly. Also, using
      CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT slightly improves the performance
      when the VM is severely overcommited.
      Acked-by: NChristoffer Dall <christoffer.dall@linaro.org>
      Signed-off-by: NMarc Zyngier <marc.zyngier@arm.com>
      d241aac7
  10. 12 6月, 2013 3 次提交