Home
last modified time | relevance | path

Searched refs:mdscr (Results 1 – 3 of 3) sorted by relevance

/arch/arm64/kvm/
Ddebug.c169 unsigned long mdscr, orig_mdcr_el2 = vcpu->arch.mdcr_el2; in kvm_arm_setup_debug() local
213 mdscr = vcpu_read_sys_reg(vcpu, MDSCR_EL1); in kvm_arm_setup_debug()
214 mdscr |= DBG_MDSCR_SS; in kvm_arm_setup_debug()
215 vcpu_write_sys_reg(vcpu, mdscr, MDSCR_EL1); in kvm_arm_setup_debug()
217 mdscr = vcpu_read_sys_reg(vcpu, MDSCR_EL1); in kvm_arm_setup_debug()
218 mdscr &= ~DBG_MDSCR_SS; in kvm_arm_setup_debug()
219 vcpu_write_sys_reg(vcpu, mdscr, MDSCR_EL1); in kvm_arm_setup_debug()
234 mdscr = vcpu_read_sys_reg(vcpu, MDSCR_EL1); in kvm_arm_setup_debug()
235 mdscr |= DBG_MDSCR_MDE; in kvm_arm_setup_debug()
236 vcpu_write_sys_reg(vcpu, mdscr, MDSCR_EL1); in kvm_arm_setup_debug()
[all …]
/arch/arc/boot/dts/
Dabilis_tb10x.dtsi217 tb10x_mdsc0: tb10x-mdscr@ff300000 {
218 compatible = "abilis,tb100-mdscr";
220 tb100-mdscr-manage-tsin;
222 tb10x_mscr0: tb10x-mdscr@ff307000 {
223 compatible = "abilis,tb100-mdscr";
226 tb10x_scr0: tb10x-mdscr@ff30e000 {
227 compatible = "abilis,tb100-mdscr";
229 tb100-mdscr-manage-tsin;
231 tb10x_scr1: tb10x-mdscr@ff312000 {
232 compatible = "abilis,tb100-mdscr";
[all …]
/arch/arm64/kernel/
Ddebug-monitors.c37 static void mdscr_write(u32 mdscr) in mdscr_write() argument
41 write_sysreg(mdscr, mdscr_el1); in mdscr_write()
82 u32 mdscr, enable = 0; in enable_debug_monitors() local
94 mdscr = mdscr_read(); in enable_debug_monitors()
95 mdscr |= enable; in enable_debug_monitors()
96 mdscr_write(mdscr); in enable_debug_monitors()
103 u32 mdscr, disable = 0; in disable_debug_monitors() local
115 mdscr = mdscr_read(); in disable_debug_monitors()
116 mdscr &= disable; in disable_debug_monitors()
117 mdscr_write(mdscr); in disable_debug_monitors()