Searched refs:vcpu_read_sys_reg (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/arch/arm64/kvm/ |
H A D | debug.c | 42 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 D | inject_fault.c | 134 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 D | handle_exit.c | 45 if (vcpu_read_sys_reg(vcpu, HCR_EL2) & HCR_HCD) in handle_hvc()
|
H A D | sys_regs.c | 69 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 D | emulate-nested.c | 1916 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 D | kvm_emulate.h | 468 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 D | kvm_mmu.h | 210 return (vcpu_read_sys_reg(vcpu, reg) & cache_bits) == cache_bits; in vcpu_has_cache_enabled()
|
H A D | kvm_host.h | 803 u64 vcpu_read_sys_reg(const struct kvm_vcpu *vcpu, int reg);
|
/openbmc/linux/arch/arm64/kvm/hyp/ |
H A D | exception.c | 28 return vcpu_read_sys_reg(vcpu, reg); in __vcpu_read_sys_reg()
|