Home
last modified time | relevance | path

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

/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()
216 mdscr = vcpu_read_sys_reg(vcpu, MDSCR_EL1); in kvm_arm_setup_debug()
220 mdscr = vcpu_read_sys_reg(vcpu, MDSCR_EL1); in kvm_arm_setup_debug()
237 mdscr = vcpu_read_sys_reg(vcpu, MDSCR_EL1); in kvm_arm_setup_debug()
261 mdscr = vcpu_read_sys_reg(vcpu, MDSCR_EL1); in kvm_arm_setup_debug()
271 if (vcpu_read_sys_reg(vcpu, MDSCR_EL1) & (DBG_MDSCR_KDE | DBG_MDSCR_MDE)) in kvm_arm_setup_debug()
278 trace_kvm_arm_set_dreg32("MDSCR_EL1", vcpu_read_sys_reg(vcpu, MDSCR_EL1)); in kvm_arm_setup_debug()
H A Dat.c112 tcr = vcpu_read_sys_reg(vcpu, TCR_EL1); in setup_s1_walk()
114 vcpu_read_sys_reg(vcpu, TTBR1_EL1) : in setup_s1_walk()
115 vcpu_read_sys_reg(vcpu, TTBR0_EL1)); in setup_s1_walk()
120 tcr = vcpu_read_sys_reg(vcpu, TCR_EL2); in setup_s1_walk()
122 vcpu_read_sys_reg(vcpu, TTBR1_EL2) : in setup_s1_walk()
123 vcpu_read_sys_reg(vcpu, TTBR0_EL2)); in setup_s1_walk()
711 vcpu_read_sys_reg(vcpu, MAIR_EL1) : in compute_par_s1()
712 vcpu_read_sys_reg(vcpu, MAIR_EL2)); in compute_par_s1()
718 vcpu_read_sys_reg(vcpu, SCTLR_EL1) : in compute_par_s1()
719 vcpu_read_sys_reg(vcpu, SCTLR_EL2)); in compute_par_s1()
[all …]
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 Dpauth.c63 u64 tcr = vcpu_read_sys_reg(vcpu, TCR_EL2); in effective_tbi()
90 u64 tcr = vcpu_read_sys_reg(vcpu, TCR_EL2); in compute_bottom_pac()
158 u64 sctlr = vcpu_read_sys_reg(vcpu, SCTLR_EL2); in kvm_auth_eretax()
163 *elr = ptr = vcpu_read_sys_reg(vcpu, ELR_EL2); in kvm_auth_eretax()
H A Dnested.c326 u64 vtcr = vcpu_read_sys_reg(vcpu, VTCR_EL2); in kvm_walk_nested_s2()
337 wi.baddr = vcpu_read_sys_reg(vcpu, VTTBR_EL2); in kvm_walk_nested_s2()
341 wi.be = vcpu_read_sys_reg(vcpu, SCTLR_EL2) & SCTLR_ELx_EE; in kvm_walk_nested_s2()
564 vttbr = vcpu_read_sys_reg(vcpu, VTTBR_EL2); in lookup_s2_mmu()
565 vtcr = vcpu_read_sys_reg(vcpu, VTCR_EL2); in lookup_s2_mmu()
566 hcr = vcpu_read_sys_reg(vcpu, HCR_EL2); in lookup_s2_mmu()
647 s2_mmu->tlb_vttbr = vcpu_read_sys_reg(vcpu, VTTBR_EL2) & ~VTTBR_CNP_BIT; in get_s2_mmu_nested()
648 s2_mmu->tlb_vtcr = vcpu_read_sys_reg(vcpu, VTCR_EL2); in get_s2_mmu_nested()
649 s2_mmu->nested_stage2_enabled = vcpu_read_sys_reg(vcpu, HCR_EL2) & HCR_VM; in get_s2_mmu_nested()
H A Dsys_regs.c138 u64 vcpu_read_sys_reg(const struct kvm_vcpu *vcpu, int reg) in vcpu_read_sys_reg() function
324 p->regval = vcpu_read_sys_reg(vcpu, r->reg); in access_rw()
402 val = vcpu_read_sys_reg(vcpu, r->reg); in access_vm_reg()
2026 p->regval = vcpu_read_sys_reg(vcpu, reg); in access_csselr()
2038 csselr = vcpu_read_sys_reg(vcpu, CSSELR_EL1); in access_ccsidr()
2200 p->regval = vcpu_read_sys_reg(vcpu, ELR_EL1); in access_elr()
2263 p->regval = vcpu_read_sys_reg(vcpu, ZCR_EL2); in access_zcr_el2()
3029 vttbr = vcpu_read_sys_reg(vcpu, VTTBR_EL2); in handle_vmalls12e1is()
3048 u64 vttbr = vcpu_read_sys_reg(vcpu, VTTBR_EL2); in handle_ripas2e1is()
3123 u64 vttbr = vcpu_read_sys_reg(vcpu, VTTBR_EL2); in handle_ipas2e1is()
[all …]
H A Dhandle_exit.c45 if (vcpu_read_sys_reg(vcpu, HCR_EL2) & HCR_HCD) in handle_hvc()
H A Demulate-nested.c2359 spsr = vcpu_read_sys_reg(vcpu, SPSR_EL2); in kvm_emulate_nested_eret()
/linux/arch/arm64/include/asm/
H A Dkvm_emulate.h455 u64 sctlr = vcpu_read_sys_reg(vcpu, SCTLR_EL1); in kvm_vcpu_set_be()
467 return !!(vcpu_read_sys_reg(vcpu, SCTLR_EL1) & SCTLR_ELx_EE); in kvm_vcpu_is_be()
469 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;
H A Dkvm_host.h1015 u64 vcpu_read_sys_reg(const struct kvm_vcpu *vcpu, int reg);
/linux/arch/arm64/kvm/hyp/
H A Dexception.c28 return vcpu_read_sys_reg(vcpu, reg); in __vcpu_read_sys_reg()