[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v7 33/73] ppc: use cpu_reset_interrupt
From: |
Emilio G. Cota |
Subject: |
[Qemu-devel] [PATCH v7 33/73] ppc: use cpu_reset_interrupt |
Date: |
Mon, 4 Mar 2019 13:17:33 -0500 |
From: Paolo Bonzini <address@hidden>
Cc: David Gibson <address@hidden>
Cc: address@hidden
Acked-by: David Gibson <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/ppc/excp_helper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/ppc/excp_helper.c b/target/ppc/excp_helper.c
index d0092cc13d..484ac9b9e8 100644
--- a/target/ppc/excp_helper.c
+++ b/target/ppc/excp_helper.c
@@ -931,7 +931,7 @@ bool ppc_cpu_exec_interrupt(CPUState *cs, int
interrupt_request)
if (interrupt_request & CPU_INTERRUPT_HARD) {
ppc_hw_interrupt(env);
if (env->pending_interrupts == 0) {
- cs->interrupt_request &= ~CPU_INTERRUPT_HARD;
+ cpu_reset_interrupt(cs, CPU_INTERRUPT_HARD);
}
return true;
}
--
2.17.1
- [Qemu-devel] [PATCH v7 27/73] xtensa: convert to cpu_halted, (continued)
- [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, 2019/03/04
- [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 <=
- [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
- [Qemu-devel] [PATCH v7 51/73] nios: convert to cpu_interrupt_request, Emilio G. Cota, 2019/03/04
- [Qemu-devel] [PATCH v7 47/73] hppa: convert to cpu_interrupt_request, Emilio G. Cota, 2019/03/04
- [Qemu-devel] [PATCH v7 61/73] cpu: call .cpu_has_work with the CPU lock held, Emilio G. Cota, 2019/03/04
- [Qemu-devel] [PATCH v7 59/73] accel/tcg: convert to cpu_interrupt_request, Emilio G. Cota, 2019/03/04
- [Qemu-devel] [PATCH v7 38/73] arm: convert to cpu_interrupt_request, Emilio G. Cota, 2019/03/04
- [Qemu-devel] [PATCH v7 49/73] m68k: convert to cpu_interrupt_request, Emilio G. Cota, 2019/03/04
- [Qemu-devel] [PATCH v7 54/73] moxie: convert to cpu_interrupt_request, Emilio G. Cota, 2019/03/04
- [Qemu-devel] [PATCH v7 42/73] i386/whpx-all: convert to cpu_interrupt_request, Emilio G. Cota, 2019/03/04