[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH 33/35] target/ppc: do not acquire the BQL to call cpu_
From: |
Emilio G. Cota |
Subject: |
[Qemu-ppc] [PATCH 33/35] target/ppc: do not acquire the BQL to call cpu_interrupt |
Date: |
Mon, 17 Sep 2018 12:31:01 -0400 |
It's not needed anymore.
Cc: David Gibson <address@hidden>
Cc: Alexander Graf <address@hidden>
Cc: address@hidden
Signed-off-by: Emilio G. Cota <address@hidden>
---
target/ppc/helper_regs.h | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/target/ppc/helper_regs.h b/target/ppc/helper_regs.h
index 5efd18049e..801eba83e7 100644
--- a/target/ppc/helper_regs.h
+++ b/target/ppc/helper_regs.h
@@ -101,13 +101,7 @@ static inline void hreg_compute_hflags(CPUPPCState *env)
static inline void cpu_interrupt_exittb(CPUState *cs)
{
- if (!qemu_mutex_iothread_locked()) {
- qemu_mutex_lock_iothread();
- cpu_interrupt(cs, CPU_INTERRUPT_EXITTB);
- qemu_mutex_unlock_iothread();
- } else {
- cpu_interrupt(cs, CPU_INTERRUPT_EXITTB);
- }
+ cpu_interrupt(cs, CPU_INTERRUPT_EXITTB);
}
static inline int hreg_store_msr(CPUPPCState *env, target_ulong value,
--
2.17.1
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 04/35] target/ppc: use cpu_reset_interrupt, (continued)
- [Qemu-ppc] [PATCH 35/35] exec: push BQL down to cpu->cpu_exec_interrupt, Emilio G. Cota, 2018/09/17
- [Qemu-ppc] [PATCH 34/35] exec: push BQL down to cpu->do_interrupt, Emilio G. Cota, 2018/09/17
- [Qemu-ppc] [PATCH 22/35] target/ppc: access cpu->interrupt_request with atomics, Emilio G. Cota, 2018/09/17
- [Qemu-ppc] [PATCH 33/35] target/ppc: do not acquire the BQL to call cpu_interrupt,
Emilio G. Cota <=
- Re: [Qemu-ppc] [PATCH 00/35] exec: drop BQL from interrupt handling, David Hildenbrand, 2018/09/18
- Re: [Qemu-ppc] [PATCH 00/35] exec: drop BQL from interrupt handling, Mark Cave-Ayland, 2018/09/20