Home
last modified time | relevance | path

Searched refs:vcpu_read_sys_reg (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/arch/arm64/kvm/
H A Ddebug.c42 u64 val = vcpu_read_sys_reg(vcpu, MDSCR_EL1); in save_guest_debug_regs()
60 vcpu_read_sys_reg(vcpu, MDSCR_EL1)); in restore_guest_debug_regs()
215 mdscr = vcpu_read_sys_reg(vcpu, MDSCR_EL1); in kvm_arm_setup_debug()
219 mdscr = vcpu_read_sys_reg(vcpu, MDSCR_EL1); in kvm_arm_setup_debug()
236 mdscr = vcpu_read_sys_reg(vcpu, MDSCR_EL1); in kvm_arm_setup_debug()
260 mdscr = vcpu_read_sys_reg(vcpu, MDSCR_EL1); in kvm_arm_setup_debug()
270 if (vcpu_read_sys_reg(vcpu, MDSCR_EL1) & (DBG_MDSCR_KDE | DBG_MDSCR_MDE)) in kvm_arm_setup_debug()
277 trace_kvm_arm_set_dreg32("MDSCR_EL1", vcpu_read_sys_reg(vcpu, MDSCR_EL1)); in kvm_arm_setup_debug()
H A Dinject_fault.c134 if (vcpu_read_sys_reg(vcpu, TCR_EL1) & TTBCR_EAE) { in inject_abt32()
141 far = vcpu_read_sys_reg(vcpu, FAR_EL1); in inject_abt32()
210 !(vcpu_read_sys_reg(vcpu, TCR_EL1) & TTBCR_EAE)) in kvm_inject_size_fault()
213 esr = vcpu_read_sys_reg(vcpu, ESR_EL1); in kvm_inject_size_fault()
H A Dhandle_exit.c45 if (vcpu_read_sys_reg(vcpu, HCR_EL2) & HCR_HCD) in handle_hvc()
H A Dsys_regs.c69 u64 vcpu_read_sys_reg(const struct kvm_vcpu *vcpu, int reg) in vcpu_read_sys_reg() function
189 p->regval = vcpu_read_sys_reg(vcpu, r->reg); in access_rw()
265 val = vcpu_read_sys_reg(vcpu, r->reg); in access_vm_reg()
288 p->regval = (vcpu_read_sys_reg(vcpu, r->reg) & mask) >> shift; in access_actlr()
1740 p->regval = vcpu_read_sys_reg(vcpu, reg); in access_csselr()
1752 csselr = vcpu_read_sys_reg(vcpu, CSSELR_EL1); in access_ccsidr()
1897 p->regval = vcpu_read_sys_reg(vcpu, ELR_EL1); in access_elr()
H A Demulate-nested.c1916 spsr = vcpu_read_sys_reg(vcpu, SPSR_EL2); in kvm_emulate_nested_eret()
1927 *vcpu_pc(vcpu) = vcpu_read_sys_reg(vcpu, ELR_EL2); in kvm_emulate_nested_eret()
/openbmc/linux/arch/arm64/include/asm/
H A Dkvm_emulate.h468 return vcpu_read_sys_reg(vcpu, MPIDR_EL1) & MPIDR_HWID_BITMASK; in kvm_vcpu_get_mpidr_aff()
476 u64 sctlr = vcpu_read_sys_reg(vcpu, SCTLR_EL1); in kvm_vcpu_set_be()
488 return !!(vcpu_read_sys_reg(vcpu, SCTLR_EL1) & SCTLR_ELx_EE); in kvm_vcpu_is_be()
490 return !!(vcpu_read_sys_reg(vcpu, SCTLR_EL1) & SCTLR_EL1_E0E); in kvm_vcpu_is_be()
H A Dkvm_mmu.h210 return (vcpu_read_sys_reg(vcpu, reg) & cache_bits) == cache_bits; in vcpu_has_cache_enabled()
H A Dkvm_host.h803 u64 vcpu_read_sys_reg(const struct kvm_vcpu *vcpu, int reg);
/openbmc/linux/arch/arm64/kvm/hyp/
H A Dexception.c28 return vcpu_read_sys_reg(vcpu, reg); in __vcpu_read_sys_reg()