[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v6 52/73] s390x: convert to cpu_interrupt_request
From: |
Emilio G. Cota |
Subject: |
[Qemu-devel] [PATCH v6 52/73] s390x: convert to cpu_interrupt_request |
Date: |
Tue, 29 Jan 2019 19:47:50 -0500 |
Cc: Cornelia Huck <address@hidden>
Cc: Christian Borntraeger <address@hidden>
Cc: David Hildenbrand <address@hidden>
Cc: address@hidden
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Reviewed-by: Cornelia Huck <address@hidden>
Signed-off-by: Emilio G. Cota <address@hidden>
---
hw/intc/s390_flic.c | 2 +-
target/s390x/cpu.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/intc/s390_flic.c b/hw/intc/s390_flic.c
index bfb5cf1d07..d944824e67 100644
--- a/hw/intc/s390_flic.c
+++ b/hw/intc/s390_flic.c
@@ -189,7 +189,7 @@ static void qemu_s390_flic_notify(uint32_t type)
CPU_FOREACH(cs) {
S390CPU *cpu = S390_CPU(cs);
- cs->interrupt_request |= CPU_INTERRUPT_HARD;
+ cpu_interrupt_request_or(cs, CPU_INTERRUPT_HARD);
/* ignore CPUs that are not sleeping */
if (s390_cpu_get_state(cpu) != S390_CPU_STATE_OPERATING &&
diff --git a/target/s390x/cpu.c b/target/s390x/cpu.c
index 4d70ba785c..d1594c90d9 100644
--- a/target/s390x/cpu.c
+++ b/target/s390x/cpu.c
@@ -65,7 +65,7 @@ static bool s390_cpu_has_work(CPUState *cs)
return false;
}
- if (!(cs->interrupt_request & CPU_INTERRUPT_HARD)) {
+ if (!(cpu_interrupt_request(cs) & CPU_INTERRUPT_HARD)) {
return false;
}
--
2.17.1
- [Qemu-devel] [PATCH v6 41/73] i386/hax-all: convert to cpu_interrupt_request, (continued)
- [Qemu-devel] [PATCH v6 41/73] i386/hax-all: convert to cpu_interrupt_request, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 53/73] alpha: convert to cpu_interrupt_request, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 47/73] hppa: convert to cpu_interrupt_request, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 50/73] mips: convert to cpu_interrupt_request, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 56/73] openrisc: convert to cpu_interrupt_request, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 60/73] cpu: convert to interrupt_request, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 49/73] m68k: convert to cpu_interrupt_request, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 43/73] i386/hvf: convert to cpu_request_interrupt, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 59/73] accel/tcg: convert to cpu_interrupt_request, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 36/73] s390x: use cpu_reset_interrupt, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 52/73] s390x: convert to cpu_interrupt_request,
Emilio G. Cota <=
- [Qemu-devel] [PATCH v6 54/73] moxie: convert to cpu_interrupt_request, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 33/73] ppc: use cpu_reset_interrupt, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 66/73] riscv: convert to cpu_has_work_with_iothread_lock, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 64/73] mips: convert to cpu_has_work_with_iothread_lock, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 62/73] cpu: introduce cpu_has_work_with_iothread_lock, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 70/73] cpu: protect CPU state with cpu->lock instead of the BQL, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 44/73] ppc: convert to cpu_interrupt_request, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 58/73] microblaze: convert to cpu_interrupt_request, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 72/73] cpu: add async_run_on_cpu_no_bql, Emilio G. Cota, 2019/01/29
- [Qemu-devel] [PATCH v6 68/73] xtensa: convert to cpu_has_work_with_iothread_lock, Emilio G. Cota, 2019/01/29