[PATCH 0/6] Rely on the kernel to be booted in HYP mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Following the previous patch series allowing the kernel to be entered
in HYP mode, change the KVM init to rely on it.

This allows the same kernel to be booted both as a guest and a
host. Of course, this requires a bootloader/bootwrapper change.

Heavily tested on TC2 hardware, patches against the v10 branch.

Marc Zyngier (6):
  ARM: KVM: remove CONFIG_ARM_VIRT_EXT
  ARM: KVM: Change KVM/ARM dependencies
  ARM: KVM: Switch HVBAR setting to be HVC-based
  ARM: KVM: make init.S Thumb compliant
  ARM: idmap: only initialize HYP idmap when HYP mode is available
  fixup! ARM: KVM: Switch HVBAR setting to be HVC-based

 arch/arm/include/asm/kvm_asm.h |    5 ---
 arch/arm/kvm/Kconfig           |    2 +-
 arch/arm/kvm/arm.c             |   57 ++++++++++++++++++++++---------------
 arch/arm/kvm/init.S            |   61 ++++++++++++++++++++++-----------------
 arch/arm/kvm/interrupts.S      |   14 +++++++++
 arch/arm/mm/Kconfig            |   10 ------
 arch/arm/mm/idmap.c            |    4 ++
 7 files changed, 87 insertions(+), 66 deletions(-)

-- 
1.7.8.6

_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm


[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux