[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v9 59/74] microblaze: convert to cpu_interrupt_request
From: |
Edgar E. Iglesias |
Subject: |
Re: [PATCH v9 59/74] microblaze: convert to cpu_interrupt_request |
Date: |
Thu, 21 May 2020 18:46:05 +0200 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Thu, May 21, 2020 at 12:39:56PM -0400, Robert Foley wrote:
> From: "Emilio G. Cota" <address@hidden>
>
> Cc: "Edgar E. Iglesias" <address@hidden>
> Reviewed-by: Richard Henderson <address@hidden>
> Reviewed-by: Alex Bennée <address@hidden>
> Signed-off-by: Emilio G. Cota <address@hidden>
> Signed-off-by: Robert Foley <address@hidden>
Reviewed-by: Edgar E. Iglesias <address@hidden>
> ---
> target/microblaze/cpu.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/target/microblaze/cpu.c b/target/microblaze/cpu.c
> index 51e5c85b10..ce70f7d281 100644
> --- a/target/microblaze/cpu.c
> +++ b/target/microblaze/cpu.c
> @@ -84,7 +84,7 @@ static void mb_cpu_set_pc(CPUState *cs, vaddr value)
>
> static bool mb_cpu_has_work(CPUState *cs)
> {
> - return cs->interrupt_request & (CPU_INTERRUPT_HARD | CPU_INTERRUPT_NMI);
> + return cpu_interrupt_request(cs) & (CPU_INTERRUPT_HARD |
> CPU_INTERRUPT_NMI);
> }
>
> #ifndef CONFIG_USER_ONLY
> --
> 2.17.1
>
- [PATCH v9 52/74] nios: convert to cpu_interrupt_request, (continued)
- [PATCH v9 52/74] nios: convert to cpu_interrupt_request, Robert Foley, 2020/05/21
- [PATCH v9 55/74] moxie: convert to cpu_interrupt_request, Robert Foley, 2020/05/21
- [PATCH v9 56/74] sparc: convert to cpu_interrupt_request, Robert Foley, 2020/05/21
- [PATCH v9 58/74] unicore32: convert to cpu_interrupt_request, Robert Foley, 2020/05/21
- [PATCH v9 57/74] openrisc: convert to cpu_interrupt_request, Robert Foley, 2020/05/21
- [PATCH v9 54/74] alpha: convert to cpu_interrupt_request, Robert Foley, 2020/05/21
- [PATCH v9 61/74] cpu: convert to interrupt_request, Robert Foley, 2020/05/21
- [PATCH v9 60/74] accel/tcg: convert to cpu_interrupt_request, Robert Foley, 2020/05/21
- [PATCH v9 62/74] cpu: call .cpu_has_work with the CPU lock held, Robert Foley, 2020/05/21
- [PATCH v9 59/74] microblaze: convert to cpu_interrupt_request, Robert Foley, 2020/05/21
- Re: [PATCH v9 59/74] microblaze: convert to cpu_interrupt_request,
Edgar E. Iglesias <=
- [PATCH v9 63/74] cpu: introduce cpu_has_work_with_iothread_lock, Robert Foley, 2020/05/21
- [PATCH v9 64/74] ppc: convert to cpu_has_work_with_iothread_lock, Robert Foley, 2020/05/21
- [PATCH v9 65/74] mips: convert to cpu_has_work_with_iothread_lock, Robert Foley, 2020/05/21
- [PATCH v9 67/74] riscv: convert to cpu_has_work_with_iothread_lock, Robert Foley, 2020/05/21
- [PATCH v9 66/74] s390x: convert to cpu_has_work_with_iothread_lock, Robert Foley, 2020/05/21
- [PATCH v9 68/74] sparc: convert to cpu_has_work_with_iothread_lock, Robert Foley, 2020/05/21
- [PATCH v9 69/74] xtensa: convert to cpu_has_work_with_iothread_lock, Robert Foley, 2020/05/21
- [PATCH v9 70/74] cpu: rename all_cpu_threads_idle to qemu_tcg_rr_all_cpu_threads_idle, Robert Foley, 2020/05/21
- [PATCH v9 71/74] cpu: protect CPU state with cpu->lock instead of the BQL, Robert Foley, 2020/05/21
- [PATCH v9 72/74] cpus-common: release BQL earlier in run_on_cpu, Robert Foley, 2020/05/21