[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v9 34/74] ppc: use cpu_reset_interrupt
From: |
Robert Foley |
Subject: |
[PATCH v9 34/74] ppc: use cpu_reset_interrupt |
Date: |
Thu, 21 May 2020 12:39:31 -0400 |
From: Paolo Bonzini <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>
Signed-off-by: Robert Foley <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 4c7da88682..5fee92c310 100644
--- a/target/ppc/excp_helper.c
+++ b/target/ppc/excp_helper.c
@@ -1021,7 +1021,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
- [PATCH v9 24/74] mips: convert to cpu_halted, (continued)
- [PATCH v9 24/74] mips: convert to cpu_halted, Robert Foley, 2020/05/21
- [PATCH v9 25/74] riscv: convert to cpu_halted, Robert Foley, 2020/05/21
- [PATCH v9 28/74] xtensa: convert to cpu_halted, Robert Foley, 2020/05/21
- [PATCH v9 29/74] gdbstub: convert to cpu_halted, Robert Foley, 2020/05/21
- [PATCH v9 30/74] openrisc: convert to cpu_halted, Robert Foley, 2020/05/21
- [PATCH v9 26/74] s390x: convert to cpu_halted, Robert Foley, 2020/05/21
- [PATCH v9 27/74] sparc: convert to cpu_halted, Robert Foley, 2020/05/21
- [PATCH v9 31/74] cpu-exec: convert to cpu_halted, Robert Foley, 2020/05/21
- [PATCH v9 32/74] cpu: convert to cpu_halted, Robert Foley, 2020/05/21
- [PATCH v9 33/74] cpu: define cpu_interrupt_request helpers, Robert Foley, 2020/05/21
- [PATCH v9 34/74] ppc: use cpu_reset_interrupt,
Robert Foley <=
- [PATCH v9 35/74] exec: use cpu_reset_interrupt, Robert Foley, 2020/05/21
- [PATCH v9 36/74] i386: use cpu_reset_interrupt, Robert Foley, 2020/05/21
- [PATCH v9 37/74] s390x: use cpu_reset_interrupt, Robert Foley, 2020/05/21
- [PATCH v9 38/74] openrisc: use cpu_reset_interrupt, Robert Foley, 2020/05/21
- [PATCH v9 39/74] arm: convert to cpu_interrupt_request, Robert Foley, 2020/05/21
- [PATCH v9 40/74] i386: convert to cpu_interrupt_request, Robert Foley, 2020/05/21
- [PATCH v9 41/74] i386/kvm: convert to cpu_interrupt_request, Robert Foley, 2020/05/21
- [PATCH v9 42/74] i386/hax-all: convert to cpu_interrupt_request, Robert Foley, 2020/05/21
- [PATCH v9 43/74] i386/whpx-all: convert to cpu_interrupt_request, Robert Foley, 2020/05/21
- [PATCH v9 44/74] i386/hvf: convert to cpu_request_interrupt, Robert Foley, 2020/05/21