Home
last modified time | relevance | path

Searched refs:pmscr_el1 (Results 1 – 2 of 2) sorted by relevance

/arch/arm64/kvm/hyp/
Ddebug-sr.c88 static void __hyp_text __debug_save_spe_nvhe(u64 *pmscr_el1) in __debug_save_spe_nvhe() argument
93 *pmscr_el1 = 0; in __debug_save_spe_nvhe()
111 *pmscr_el1 = read_sysreg_s(SYS_PMSCR_EL1); in __debug_save_spe_nvhe()
120 static void __hyp_text __debug_restore_spe_nvhe(u64 pmscr_el1) in __debug_restore_spe_nvhe() argument
122 if (!pmscr_el1) in __debug_restore_spe_nvhe()
129 write_sysreg_s(pmscr_el1, SYS_PMSCR_EL1); in __debug_restore_spe_nvhe()
183 __debug_save_spe_nvhe(&vcpu->arch.host_debug_state.pmscr_el1); in __debug_switch_to_guest()
205 __debug_restore_spe_nvhe(vcpu->arch.host_debug_state.pmscr_el1); in __debug_switch_to_host()
/arch/arm64/include/asm/
Dkvm_host.h289 u64 pmscr_el1; member