Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/arm64/kvm/
A Ddebug.c215 mdscr = vcpu_read_sys_reg(vcpu, MDSCR_EL1); in kvm_arm_setup_debug()
216 mdscr |= DBG_MDSCR_SS; in kvm_arm_setup_debug()
217 vcpu_write_sys_reg(vcpu, mdscr, MDSCR_EL1); in kvm_arm_setup_debug()
219 mdscr = vcpu_read_sys_reg(vcpu, MDSCR_EL1); in kvm_arm_setup_debug()
220 mdscr &= ~DBG_MDSCR_SS; in kvm_arm_setup_debug()
221 vcpu_write_sys_reg(vcpu, mdscr, MDSCR_EL1); in kvm_arm_setup_debug()
236 mdscr = vcpu_read_sys_reg(vcpu, MDSCR_EL1); in kvm_arm_setup_debug()
237 mdscr |= DBG_MDSCR_MDE; in kvm_arm_setup_debug()
238 vcpu_write_sys_reg(vcpu, mdscr, MDSCR_EL1); in kvm_arm_setup_debug()
260 mdscr = vcpu_read_sys_reg(vcpu, MDSCR_EL1); in kvm_arm_setup_debug()
[all …]
/linux-6.3-rc2/arch/arc/boot/dts/
A 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 …]
/linux-6.3-rc2/arch/arm64/kernel/
A 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()
/linux-6.3-rc2/tools/testing/selftests/kvm/aarch64/
A Ddebug-exceptions.c143 uint32_t mdscr; in enable_monitor_debug_exceptions() local
147 mdscr = read_sysreg(mdscr_el1) | MDSCR_KDE | MDSCR_MDE; in enable_monitor_debug_exceptions()
148 write_sysreg(mdscr, mdscr_el1); in enable_monitor_debug_exceptions()
226 uint32_t mdscr; in install_ss() local
230 mdscr = read_sysreg(mdscr_el1) | MDSCR_KDE | MDSCR_SS; in install_ss()
231 write_sysreg(mdscr, mdscr_el1); in install_ss()

Completed in 10 milliseconds