[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v7 37/73] openrisc: use cpu_reset_interrupt
|
From: |
Emilio G. Cota |
|
Subject: |
[Qemu-devel] [PATCH v7 37/73] openrisc: use cpu_reset_interrupt |
|
Date: |
Mon, 4 Mar 2019 13:17:37 -0500 |
From: Paolo Bonzini <address@hidden>
Cc: Stafford Horne <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Emilio G. Cota <address@hidden>
---
target/openrisc/sys_helper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/openrisc/sys_helper.c b/target/openrisc/sys_helper.c
index 0915e622e6..1f367de6f2 100644
--- a/target/openrisc/sys_helper.c
+++ b/target/openrisc/sys_helper.c
@@ -170,7 +170,7 @@ void HELPER(mtspr)(CPUOpenRISCState *env, target_ulong spr,
target_ulong rb)
env->ttmr = (rb & ~TTMR_IP) | ip;
} else { /* Clear IP bit. */
env->ttmr = rb & ~TTMR_IP;
- cs->interrupt_request &= ~CPU_INTERRUPT_TIMER;
+ cpu_reset_interrupt(cs, CPU_INTERRUPT_TIMER);
}
cpu_openrisc_timer_update(cpu);
--
2.17.1
- [Qemu-devel] [PATCH v7 13/73] alpha: convert to helper_cpu_halted_set, (continued)
- [Qemu-devel] [PATCH v7 13/73] alpha: convert to helper_cpu_halted_set, Emilio G. Cota, 2019/03/04
- [Qemu-devel] [PATCH v7 19/73] sh4: convert to cpu_halted, Emilio G. Cota, 2019/03/04
- [Qemu-devel] [PATCH v7 28/73] gdbstub: convert to cpu_halted, Emilio G. Cota, 2019/03/04
- [Qemu-devel] [PATCH v7 24/73] riscv: convert to cpu_halted, Emilio G. Cota, 2019/03/04
- [Qemu-devel] [PATCH v7 26/73] sparc: convert to cpu_halted, Emilio G. Cota, 2019/03/04
- [Qemu-devel] [PATCH v7 18/73] ppc: convert to cpu_halted, Emilio G. Cota, 2019/03/04
- [Qemu-devel] [PATCH v7 29/73] openrisc: convert to cpu_halted, Emilio G. Cota, 2019/03/04
- [Qemu-devel] [PATCH v7 31/73] cpu: convert to cpu_halted, Emilio G. Cota, 2019/03/04
- [Qemu-devel] [PATCH v7 27/73] xtensa: convert to cpu_halted, Emilio G. Cota, 2019/03/04
- [Qemu-devel] [PATCH v7 32/73] cpu: define cpu_interrupt_request helpers, Emilio G. Cota, 2019/03/04
- [Qemu-devel] [PATCH v7 37/73] openrisc: use cpu_reset_interrupt,
Emilio G. Cota <=
- [Qemu-devel] [PATCH v7 30/73] cpu-exec: convert to cpu_halted, Emilio G. Cota, 2019/03/04
- [Qemu-devel] [PATCH v7 22/73] m68k: convert to cpu_halted, Emilio G. Cota, 2019/03/04
- [Qemu-devel] [PATCH v7 17/73] arm: convert to cpu_halted, Emilio G. Cota, 2019/03/04
- [Qemu-devel] [PATCH v7 34/73] exec: use cpu_reset_interrupt, Emilio G. Cota, 2019/03/04
- [Qemu-devel] [PATCH v7 35/73] i386: use cpu_reset_interrupt, Emilio G. Cota, 2019/03/04
- [Qemu-devel] [PATCH v7 25/73] s390x: convert to cpu_halted, Emilio G. Cota, 2019/03/04
- [Qemu-devel] [PATCH v7 36/73] s390x: use cpu_reset_interrupt, Emilio G. Cota, 2019/03/04
- [Qemu-devel] [PATCH v7 33/73] ppc: use cpu_reset_interrupt, Emilio G. Cota, 2019/03/04
- [Qemu-devel] [PATCH v7 66/73] riscv: convert to cpu_has_work_with_iothread_lock, Emilio G. Cota, 2019/03/04
- [Qemu-devel] [PATCH v7 53/73] alpha: convert to cpu_interrupt_request, Emilio G. Cota, 2019/03/04