Home
last modified time | relevance | path

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

/Linux-v6.1/arch/arm64/kvm/
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()
Dinject_fault.c85 if (vcpu_read_sys_reg(vcpu, TCR_EL1) & TTBCR_EAE) { in inject_abt32()
92 far = vcpu_read_sys_reg(vcpu, FAR_EL1); in inject_abt32()
161 !(vcpu_read_sys_reg(vcpu, TCR_EL1) & TTBCR_EAE)) in kvm_inject_size_fault()
164 esr = vcpu_read_sys_reg(vcpu, ESR_EL1); in kvm_inject_size_fault()
Dsys_regs.c64 u64 vcpu_read_sys_reg(const struct kvm_vcpu *vcpu, int reg) in vcpu_read_sys_reg() function
163 val = vcpu_read_sys_reg(vcpu, r->reg); in access_vm_reg()
186 p->regval = (vcpu_read_sys_reg(vcpu, r->reg) & mask) >> shift; in access_actlr()
377 p->regval = vcpu_read_sys_reg(vcpu, r->reg); in trap_debug_regs()
1290 p->regval = vcpu_read_sys_reg(vcpu, reg); in access_csselr()
1302 csselr = vcpu_read_sys_reg(vcpu, CSSELR_EL1); in access_ccsidr()
Dhypercalls.c47 cycles = systime_snapshot.cycles - vcpu_read_sys_reg(vcpu, CNTVOFF_EL2); in kvm_ptp_get_time()
/Linux-v6.1/arch/arm64/include/asm/
Dkvm_emulate.h387 return vcpu_read_sys_reg(vcpu, MPIDR_EL1) & MPIDR_HWID_BITMASK; in kvm_vcpu_get_mpidr_aff()
395 u64 sctlr = vcpu_read_sys_reg(vcpu, SCTLR_EL1); in kvm_vcpu_set_be()
407 return !!(vcpu_read_sys_reg(vcpu, SCTLR_EL1) & SCTLR_ELx_EE); in kvm_vcpu_is_be()
409 return !!(vcpu_read_sys_reg(vcpu, SCTLR_EL1) & SCTLR_EL1_E0E); in kvm_vcpu_is_be()
Dkvm_mmu.h195 return (vcpu_read_sys_reg(vcpu, SCTLR_EL1) & 0b101) == 0b101;
Dkvm_host.h604 u64 vcpu_read_sys_reg(const struct kvm_vcpu *vcpu, int reg);