Home
last modified time | relevance | path

Searched refs:hcr_el2 (Results 1 – 6 of 6) sorted by relevance

/arch/arm64/include/asm/
Dkvm_emulate.h43 vcpu->arch.hcr_el2 = HCR_GUEST_FLAGS; in vcpu_reset_hcr()
45 vcpu->arch.hcr_el2 &= ~HCR_RW; in vcpu_reset_hcr()
50 return vcpu->arch.hcr_el2; in vcpu_get_hcr()
55 vcpu->arch.hcr_el2 = hcr; in vcpu_set_hcr()
Dkvm_host.h100 u64 hcr_el2; member
/arch/arm64/kvm/
Dinject_fault.c169 if (!(vcpu->arch.hcr_el2 & HCR_RW)) in kvm_inject_dabt()
185 if (!(vcpu->arch.hcr_el2 & HCR_RW)) in kvm_inject_pabt()
199 if (!(vcpu->arch.hcr_el2 & HCR_RW)) in kvm_inject_undefined()
Dhyp.S660 mrs \tmp, hcr_el2
763 msr hcr_el2, x2
786 msr hcr_el2, x2
814 mrs x24, hcr_el2
818 msr hcr_el2, x24
825 mrs x24, hcr_el2
829 msr hcr_el2, x24
/arch/arm64/kernel/
Dasm-offsets.c129 DEFINE(VCPU_HCR_EL2, offsetof(struct kvm_vcpu, arch.hcr_el2)); in main()
Dhead.S501 msr hcr_el2, x0