arm.c (b877e9849d41e7d2100d2933e0a3971d0ddec011) arm.c (09cf57eba304246141367b95c89801fd2047ac96)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) 2012 - Virtual Open Systems and Columbia University
4 * Author: Christoffer Dall <c.dall@virtualopensystems.com>
5 */
6
7#include <linux/bug.h>
8#include <linux/cpu_pm.h>

--- 734 unchanged lines hidden (view full) ---

743 kvm_arm_setup_debug(vcpu);
744
745 /**************************************************************
746 * Enter the guest
747 */
748 trace_kvm_entry(*vcpu_pc(vcpu));
749 guest_enter_irqoff();
750
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) 2012 - Virtual Open Systems and Columbia University
4 * Author: Christoffer Dall <c.dall@virtualopensystems.com>
5 */
6
7#include <linux/bug.h>
8#include <linux/cpu_pm.h>

--- 734 unchanged lines hidden (view full) ---

743 kvm_arm_setup_debug(vcpu);
744
745 /**************************************************************
746 * Enter the guest
747 */
748 trace_kvm_entry(*vcpu_pc(vcpu));
749 guest_enter_irqoff();
750
751 if (has_vhe()) {
752 ret = kvm_vcpu_run_vhe(vcpu);
753 } else {
754 ret = kvm_call_hyp_ret(__kvm_vcpu_run_nvhe, vcpu);
755 }
751 ret = kvm_call_hyp_ret(__kvm_vcpu_run, vcpu);
756
757 vcpu->mode = OUTSIDE_GUEST_MODE;
758 vcpu->stat.exits++;
759 /*
760 * Back from guest
761 *************************************************************/
762
763 kvm_arm_clear_debug(vcpu);

--- 946 unchanged lines hidden ---
752
753 vcpu->mode = OUTSIDE_GUEST_MODE;
754 vcpu->stat.exits++;
755 /*
756 * Back from guest
757 *************************************************************/
758
759 kvm_arm_clear_debug(vcpu);

--- 946 unchanged lines hidden ---