[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PULL 00/35] tcg patch queue
From: |
Peter Maydell |
Subject: |
Re: [PULL 00/35] tcg patch queue |
Date: |
Tue, 21 Sep 2021 10:28:47 +0100 |
On Mon, 20 Sept 2021 at 22:16, Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
> Forget this crap. The missing piece was:
>
> -- >8 --
> diff --git a/target/arm/cpu_tcg.c b/target/arm/cpu_tcg.c
> index 0d5adccf1a7..da348938407 100644
> --- a/target/arm/cpu_tcg.c
> +++ b/target/arm/cpu_tcg.c
> @@ -23,6 +23,11 @@
> #if !defined(CONFIG_USER_ONLY) || !defined(TARGET_AARCH64)
>
> #if !defined(CONFIG_USER_ONLY) && defined(CONFIG_TCG)
> +static bool arm_v7m_cpu_has_work(CPUState *cs)
> +{
> + return cs->interrupt_request & CPU_INTERRUPT_HARD;
> +}
Is this really all that's needed ? I would have expected
at least a check on the power_state.
-- PMM
- [PULL 25/35] target/s390x: Restrict has_work() handler to sysemu and TCG, (continued)
- [PULL 25/35] target/s390x: Restrict has_work() handler to sysemu and TCG, Richard Henderson, 2021/09/16
- [PULL 32/35] tcg/mips: Drop inline markers, Richard Henderson, 2021/09/16
- [PULL 20/35] target/openrisc: Restrict has_work() handler to sysemu, Richard Henderson, 2021/09/16
- [PULL 26/35] target/sh4: Restrict has_work() handler to sysemu, Richard Henderson, 2021/09/16
- [PULL 34/35] tcg/mips: Unset TCG_TARGET_HAS_direct_jump, Richard Henderson, 2021/09/16
- Re: [PULL 00/35] tcg patch queue, Peter Maydell, 2021/09/20
Re: [PULL 00/35] tcg patch queue, Richard Henderson, 2021/09/20