1. 08 5月, 2017 19 次提交
  2. 04 5月, 2017 1 次提交
    • C
      KVM: arm/arm64: Move shared files to virt/kvm/arm · 35d2d5d4
      Christoffer Dall 提交于
      For some time now we have been having a lot of shared functionality
      between the arm and arm64 KVM support in arch/arm, which not only
      required a horrible inter-arch reference from the Makefile in
      arch/arm64/kvm, but also created confusion for newcomers to the code
      base, as was recently seen on the mailing list.
      
      Further, it causes confusion for things like cscope, which needs special
      attention to index specific shared files for arm64 from the arm tree.
      
      Move the shared files into virt/kvm/arm and move the trace points along
      with it.  When moving the tracepoints we have to modify the way the vgic
      creates definitions of the trace points, so we take the chance to
      include the VGIC tracepoints in its very own special vgic trace.h file.
      Signed-off-by: NChristoffer Dall <cdall@linaro.org>
      35d2d5d4
  3. 19 4月, 2017 1 次提交
    • M
      KVM: arm/arm64: vgic-v3: De-optimize VMCR save/restore when emulating a GICv2 · ff567614
      Marc Zyngier 提交于
      When emulating a GICv2-on-GICv3, special care must be taken to only
      save/restore VMCR_EL2 when ICC_SRE_EL1.SRE is cleared. Otherwise,
      all Group-0 interrupts end-up being delivered as FIQ, which is
      probably not what the guest expects, as demonstrated here with
      an unhappy EFI:
      
      	FIQ Exception at 0x000000013BD21CC4
      
      This means that we cannot perform the load/put trick when dealing
      with VMCR_EL2 (because the host has SRE set), and we have to deal
      with it in the world-switch.
      
      Fortunately, this is not the most common case (modern guests should
      be able to deal with GICv3 directly), and the performance is not worse
      than what it was before the VMCR optimization.
      Reviewed-by: NChristoffer Dall <cdall@linaro.org>
      Signed-off-by: NMarc Zyngier <marc.zyngier@arm.com>
      Signed-off-by: NChristoffer Dall <cdall@linaro.org>
      ff567614
  4. 09 4月, 2017 7 次提交
  5. 07 3月, 2017 2 次提交
  6. 06 3月, 2017 1 次提交
  7. 08 2月, 2017 1 次提交
  8. 01 2月, 2017 1 次提交
  9. 30 1月, 2017 5 次提交
  10. 25 1月, 2017 2 次提交