Home
last modified time | relevance | path

Searched refs:hpfar (Results 1 – 4 of 4) sorted by relevance

/arch/arm/kvm/hyp/
Dswitch.c110 u32 hpfar, far; in __populate_fault_info() local
146 hpfar = ((tmp >> 12) & ((1UL << 28) - 1)) << 4; in __populate_fault_info()
148 hpfar = read_sysreg(HPFAR); in __populate_fault_info()
152 vcpu->arch.fault.hpfar = hpfar; in __populate_fault_info()
/arch/arm64/kvm/hyp/
Dswitch.c204 static bool __hyp_text __translate_far_to_hpfar(u64 far, u64 *hpfar) in __translate_far_to_hpfar() argument
229 *hpfar = ((tmp >> 12) & ((1UL << 36) - 1)) << 4; in __translate_far_to_hpfar()
237 u64 hpfar, far; in __populate_fault_info() local
259 if (!__translate_far_to_hpfar(far, &hpfar)) in __populate_fault_info()
262 hpfar = read_sysreg(hpfar_el2); in __populate_fault_info()
266 vcpu->arch.fault.hpfar_el2 = hpfar; in __populate_fault_info()
/arch/arm/include/asm/
Dkvm_emulate.h129 return ((phys_addr_t)vcpu->arch.fault.hpfar & HPFAR_MASK) << 8; in kvm_vcpu_get_fault_ipa()
Dkvm_host.h98 u32 hpfar; /* Hyp IPA Fault Address Register */ member