Home
last modified time | relevance | path

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

/linux/arch/arm64/kvm/
A Ddebug.c157 unsigned long mdscr, orig_mdcr_el2 = vcpu->arch.mdcr_el2; in kvm_arm_setup_debug() local
190 mdscr = vcpu_read_sys_reg(vcpu, MDSCR_EL1); in kvm_arm_setup_debug()
191 mdscr |= DBG_MDSCR_SS; in kvm_arm_setup_debug()
192 vcpu_write_sys_reg(vcpu, mdscr, MDSCR_EL1); in kvm_arm_setup_debug()
194 mdscr = vcpu_read_sys_reg(vcpu, MDSCR_EL1); in kvm_arm_setup_debug()
195 mdscr &= ~DBG_MDSCR_SS; in kvm_arm_setup_debug()
196 vcpu_write_sys_reg(vcpu, mdscr, MDSCR_EL1); in kvm_arm_setup_debug()
212 mdscr = vcpu_read_sys_reg(vcpu, MDSCR_EL1); in kvm_arm_setup_debug()
213 mdscr |= DBG_MDSCR_MDE; in kvm_arm_setup_debug()
214 vcpu_write_sys_reg(vcpu, mdscr, MDSCR_EL1); in kvm_arm_setup_debug()
/linux/tools/testing/selftests/kvm/aarch64/
A Ddebug-exceptions.c53 uint32_t mdscr; in install_wp() local
62 mdscr = read_sysreg(mdscr_el1) | MDSCR_KDE | MDSCR_MDE; in install_wp()
63 write_sysreg(mdscr, mdscr_el1); in install_wp()
70 uint32_t mdscr; in install_hw_bp() local
79 mdscr = read_sysreg(mdscr_el1) | MDSCR_KDE | MDSCR_MDE; in install_hw_bp()
80 write_sysreg(mdscr, mdscr_el1); in install_hw_bp()
86 uint32_t mdscr; in install_ss() local
90 mdscr = read_sysreg(mdscr_el1) | MDSCR_KDE | MDSCR_SS; in install_ss()
91 write_sysreg(mdscr, mdscr_el1); in install_ss()
/linux/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/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()

Completed in 7 milliseconds