1. 09 5月, 2017 3 次提交
  2. 08 5月, 2017 24 次提交
  3. 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
  4. 02 5月, 2017 1 次提交
  5. 21 4月, 2017 1 次提交
    • M
      ARM: KVM: Fix idmap stub entry when running Thumb-2 code · 1edb6321
      Marc Zyngier 提交于
      When entering the hyp stub implemented in the idmap, we try to
      be mindful of the fact that we could be running a Thumb-2 kernel
      by adding 1 to the address we compute. Unfortunately, the assembler
      also knows about this trick, and has already generated an address
      that has bit 0 set in the litteral pool.
      
      Our superfluous correction ends up confusing the CPU entierely,
      as we now branch to the stub in ARM mode instead of Thumb, and on
      a possibly unaligned address for good measure. From that point,
      nothing really good happens.
      
      The obvious fix in to remove this stupid target PC correction.
      
      Fixes: 6bebcecb ("ARM: KVM: Allow the main HYP code to use the init hyp stub implementation")
      Reported-by: NChristoffer Dall <cdall@linaro.org>
      Signed-off-by: NMarc Zyngier <marc.zyngier@arm.com>
      Signed-off-by: NChristoffer Dall <cdall@linaro.org>
      1edb6321
  6. 20 4月, 2017 1 次提交
  7. 19 4月, 2017 3 次提交
  8. 09 4月, 2017 6 次提交