1. 08 9月, 2016 1 次提交
    • M
      arm64: KVM: vgic-v2: Add the GICV emulation infrastructure · fb5ee369
      Marc Zyngier 提交于
      In order to efficiently perform the GICV access on behalf of the
      guest, we need to be able to avoid going back all the way to
      the host kernel.
      
      For this, we introduce a new hook in the world switch code,
      conveniently placed just after populating the fault info.
      At that point, we only have saved/restored the GP registers,
      and we can quickly perform all the required checks (data abort,
      translation fault, valid faulting syndrome, not an external
      abort, not a PTW).
      
      Coming back from the emulation code, we need to skip the emulated
      instruction. This involves an additional bit of save/restore in
      order to be able to access the guest's PC (and possibly CPSR if
      this is a 32bit guest).
      
      At this stage, no emulation code is provided.
      Signed-off-by: NMarc Zyngier <marc.zyngier@arm.com>
      Reviewed-by: NChristoffer Dall <christoffer.dall@linaro.org>
      Signed-off-by: NChristoffer Dall <christoffer.dall@linaro.org>
      fb5ee369
  2. 04 7月, 2016 1 次提交
    • M
      KVM: arm/arm64: The GIC is dead, long live the GIC · 50926d82
      Marc Zyngier 提交于
      I don't think any single piece of the KVM/ARM code ever generated
      as much hatred as the GIC emulation.
      
      It was written by someone who had zero experience in modeling
      hardware (me), was riddled with design flaws, should have been
      scrapped and rewritten from scratch long before having a remote
      chance of reaching mainline, and yet we supported it for a good
      three years. No need to mention the names of those who suffered,
      the git log is singing their praises.
      
      Thankfully, we now have a much more maintainable implementation,
      and we can safely put the grumpy old GIC to rest.
      
      Fellow hackers, please raise your glass in memory of the GIC:
      
      	The GIC is dead, long live the GIC!
      Signed-off-by: NMarc Zyngier <marc.zyngier@arm.com>
      Signed-off-by: NChristoffer Dall <christoffer.dall@linaro.org>
      50926d82
  3. 31 5月, 2016 1 次提交
  4. 20 5月, 2016 2 次提交
  5. 09 3月, 2016 5 次提交
  6. 01 3月, 2016 2 次提交
  7. 14 12月, 2015 1 次提交