Instead of relying on SMC calls to setup HVBAR, introduce a new HVC-based API. This of course requires a hypervisor stub to be installed already. At the moment, this is implemented as part of the boot wrapper, but will be moved to the kernel itself when it actually understands being booted in HYP mode. The kernel now uses "hvc #0xff", with r0 containing the pointer to the new vectors. Signed-off-by: Marc Zyngier <marc.zyngier@xxxxxxx> --- arch/arm/kvm/arm.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/arch/arm/kvm/arm.c b/arch/arm/kvm/arm.c index da5fc5f..e63c88c 100644 --- a/arch/arm/kvm/arm.c +++ b/arch/arm/kvm/arm.c @@ -46,9 +46,6 @@ #include <asm/kvm_emulate.h> #include <asm/kvm_coproc.h> -#ifdef REQUIRES_SEC -__asm__(".arch_extension sec"); -#endif #ifdef REQUIRES_VIRT __asm__(".arch_extension virt"); #endif -- 1.7.8.6 _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm