[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 35/35] exec: push BQL down to cpu->cpu_exec_inte
From: |
David Hildenbrand |
Subject: |
Re: [Qemu-devel] [PATCH 35/35] exec: push BQL down to cpu->cpu_exec_interrupt |
Date: |
Tue, 18 Sep 2018 09:48:03 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 |
> return false;
> diff --git a/target/s390x/excp_helper.c b/target/s390x/excp_helper.c
> index 931c0103c8..f2a93abf01 100644
> --- a/target/s390x/excp_helper.c
> +++ b/target/s390x/excp_helper.c
> @@ -480,10 +480,13 @@ bool s390_cpu_exec_interrupt(CPUState *cs, int
> interrupt_request)
> the parent EXECUTE insn. */
> return false;
> }
> + qemu_mutex_lock_iothread();
> if (s390_cpu_has_int(cpu)) {
> s390_cpu_do_interrupt(cs);
You can directly use s390_cpu_do_interrupt_locked() here.
> + qemu_mutex_unlock_iothread();
> return true;
> }
> + qemu_mutex_unlock_iothread();
> if (env->psw.mask & PSW_MASK_WAIT) {
> /* Woken up because of a floating interrupt but it has already
> * been delivered. Go back to sleep. */
>
--
Thanks,
David / dhildenb
- Re: [Qemu-devel] [PATCH 28/35] exec: access cpu->interrupt_request with atomics, (continued)
[Qemu-devel] [PATCH 12/35] hax: access cpu->interrupt_request with atomics, Emilio G. Cota, 2018/09/17
[Qemu-devel] [PATCH 14/35] whpx: access cpu->interrupt_request with atomics, Emilio G. Cota, 2018/09/17
[Qemu-devel] [PATCH 35/35] exec: push BQL down to cpu->cpu_exec_interrupt, Emilio G. Cota, 2018/09/17
[Qemu-devel] [PATCH 19/35] target/moxie: access cpu->interrupt_request with atomics, Emilio G. Cota, 2018/09/17
[Qemu-devel] [PATCH 21/35] target/openrisc: access cpu->interrupt_request with atomics, Emilio G. Cota, 2018/09/17
[Qemu-devel] [PATCH 24/35] target/sh4: access cpu->interrupt_request with atomics, Emilio G. Cota, 2018/09/17
[Qemu-devel] [PATCH 27/35] hw/sparc64: access cpu->interrupt_request with atomics, Emilio G. Cota, 2018/09/17
[Qemu-devel] [PATCH 26/35] target/unicore32: access cpu->interrupt_request with atomics, Emilio G. Cota, 2018/09/17