Searched refs:mdcr_el2 (Results 1 – 10 of 10) sorted by relevance
/linux/arch/arm64/kvm/ |
A D | debug.c | 24 static DEFINE_PER_CPU(u64, mdcr_el2); 68 __this_cpu_write(mdcr_el2, kvm_call_hyp_ret(__kvm_get_mdcr_el2)); in kvm_arm_init_debug() 90 vcpu->arch.mdcr_el2 = __this_cpu_read(mdcr_el2) & MDCR_EL2_HPMN_MASK; in kvm_arm_setup_mdcr_el2() 91 vcpu->arch.mdcr_el2 |= (MDCR_EL2_TPM | in kvm_arm_setup_mdcr_el2() 101 vcpu->arch.mdcr_el2 |= MDCR_EL2_TDE; in kvm_arm_setup_mdcr_el2() 111 vcpu->arch.mdcr_el2 |= MDCR_EL2_TDA; in kvm_arm_setup_mdcr_el2() 113 trace_kvm_arm_set_dreg32("MDCR_EL2", vcpu->arch.mdcr_el2); in kvm_arm_setup_mdcr_el2() 157 unsigned long mdscr, orig_mdcr_el2 = vcpu->arch.mdcr_el2; in kvm_arm_setup_debug() 237 if (has_vhe() && orig_mdcr_el2 != vcpu->arch.mdcr_el2) in kvm_arm_setup_debug() 238 write_sysreg(vcpu->arch.mdcr_el2, mdcr_el2); in kvm_arm_setup_debug()
|
/linux/arch/arm64/kvm/hyp/nvhe/ |
A D | pkvm.c | 117 vcpu->arch.mdcr_el2 |= mdcr_set; in pvm_init_traps_aa64dfr0() 118 vcpu->arch.mdcr_el2 &= ~mdcr_clear; in pvm_init_traps_aa64dfr0() 134 vcpu->arch.mdcr_el2 |= mdcr_set; in pvm_init_traps_aa64mmfr0() 169 vcpu->arch.mdcr_el2 &= ~(MDCR_EL2_RES0); in pvm_init_trap_regs()
|
A D | debug-sr.c | 114 return read_sysreg(mdcr_el2); in __kvm_get_mdcr_el2()
|
/linux/arch/arm64/kvm/hyp/include/hyp/ |
A D | switch.h | 101 vcpu->arch.mdcr_el2_host = read_sysreg(mdcr_el2); in __activate_traps_common() 102 write_sysreg(vcpu->arch.mdcr_el2, mdcr_el2); in __activate_traps_common() 107 write_sysreg(vcpu->arch.mdcr_el2_host, mdcr_el2); in __deactivate_traps_common()
|
/linux/arch/arm64/kvm/hyp/vhe/ |
A D | debug-sr.c | 25 return read_sysreg(mdcr_el2); in __kvm_get_mdcr_el2()
|
/linux/arch/arm64/kernel/ |
A D | hyp-stub.S | 119 mrs x0, mdcr_el2 122 msr mdcr_el2, x0
|
/linux/arch/arm64/include/asm/ |
A D | el2_setup.h | 80 msr mdcr_el2, x2 // Configure debug traps
|
A D | kvm_host.h | 292 u64 mdcr_el2; member
|
/linux/ |
A D | System.map | 129604 ffff8000118c7838 d mdcr_el2
|
A D | .tmp_System.map | 129604 ffff8000118c7838 d mdcr_el2
|
Completed in 313 milliseconds