public inbox for qemu-devel@nongnu.org
 help / color / mirror / Atom feed
From: Brian Cain <brian.cain@oss.qualcomm.com>
To: "Philippe Mathieu-Daudé" <philmd@linaro.org>
Cc: qemu-devel@nongnu.org,
	Richard Henderson <richard.henderson@linaro.org>,
	Pierrick Bouvier <pierrick.bouvier@linaro.org>,
	Paolo Bonzini <pbonzini@redhat.com>,
	Thomas Huth <thuth@redhat.com>, Anton Johansson <anjo@rev.ng>
Subject: Re: [PATCH v2 07/38] target/hexagon: Include missing 'exec/target_long.h' header
Date: Fri, 13 Mar 2026 09:16:23 -0500	[thread overview]
Message-ID: <CAEqNhNaFuVqtSvMmoMGwrvQULYVq229XR8kjipkZwigCPQO0YQ@mail.gmail.com> (raw)
In-Reply-To: <20260313062055.2188-8-philmd@linaro.org>

[-- Attachment #1: Type: text/plain, Size: 1831 bytes --]

On Fri, Mar 13, 2026 at 1:21 AM Philippe Mathieu-Daudé <philmd@linaro.org>
wrote:

> The "exec/target_long.h" header is indirectly included, pulled
> via "exec/cpu-defs.h". Include it explicitly otherwise we'd get
> when removing the latter:
>
>   ../target/hexagon/cpu.h:76:5: error: unknown type name ‘target_ulong’
>      76 |     target_ulong gpr[TOTAL_PER_THREAD_REGS];
>         |     ^~~~~~~~~~~~
>   ../target/hexagon/mmvec/mmvec.h:69:5: error: unknown type name
> ‘target_ulong’
>      69 |     target_ulong va[MAX_VEC_SIZE_BYTES];
>         |     ^~~~~~~~~~~~
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
>

Reviewed-by: Brian Cain <brian.cain@oss.qualcomm.com>

 target/hexagon/cpu.h         | 2 ++
>  target/hexagon/mmvec/mmvec.h | 3 +++
>  2 files changed, 5 insertions(+)
>
> diff --git a/target/hexagon/cpu.h b/target/hexagon/cpu.h
> index 85afd592778..7a91399fe02 100644
> --- a/target/hexagon/cpu.h
> +++ b/target/hexagon/cpu.h
> @@ -23,9 +23,11 @@
>  #include "cpu-qom.h"
>  #include "exec/cpu-common.h"
>  #include "exec/cpu-defs.h"
> +#include "exec/target_long.h"
>  #include "hex_regs.h"
>  #include "mmvec/mmvec.h"
>  #include "hw/core/registerfields.h"
> +#include "qemu/bitmap.h"
>
>  #ifndef CONFIG_USER_ONLY
>  #error "Hexagon does not support system emulation"
> diff --git a/target/hexagon/mmvec/mmvec.h b/target/hexagon/mmvec/mmvec.h
> index 52d470709c0..4a4f6cc9805 100644
> --- a/target/hexagon/mmvec/mmvec.h
> +++ b/target/hexagon/mmvec/mmvec.h
> @@ -18,6 +18,9 @@
>  #ifndef HEXAGON_MMVEC_H
>  #define HEXAGON_MMVEC_H
>
> +#include "exec/target_long.h"
> +#include "qemu/bitmap.h"
> +
>  #define MAX_VEC_SIZE_LOGBYTES 7
>  #define MAX_VEC_SIZE_BYTES  (1 << MAX_VEC_SIZE_LOGBYTES)
>
> --
> 2.53.0
>
>
>

[-- Attachment #2: Type: text/html, Size: 2899 bytes --]

  reply	other threads:[~2026-03-13 14:17 UTC|newest]

Thread overview: 89+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-13  6:20 [PATCH v2 00/38] target/cpu: Do not include 'exec/cpu-defs.h' anymore Philippe Mathieu-Daudé
2026-03-13  6:20 ` [PATCH v2 01/38] target/arm: Remove target_ulong use in hvf_handle_psci_call() Philippe Mathieu-Daudé
2026-03-13 16:23   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 02/38] target/ppc: Replace TARGET_PAGE_BITS -> qemu_target_page_bits() Philippe Mathieu-Daudé
2026-03-13 16:24   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 03/38] hw/s390x/vfio: " Philippe Mathieu-Daudé
2026-03-13 10:25   ` Thomas Huth
2026-03-13 14:05     ` Cédric Le Goater
2026-03-13 16:28   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 04/38] monitor/hmp: : Include missing 'exec/target_long.h' header Philippe Mathieu-Daudé
2026-03-13 10:28   ` Thomas Huth
2026-03-13 16:28   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 05/38] target-info: Include 'exec/cpu-defs.h' explicitly Philippe Mathieu-Daudé
2026-03-13 16:29   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 06/38] target/xtensa: Restrict inclusion of 'exec/cpu-defs.h' header Philippe Mathieu-Daudé
2026-03-13 16:30   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 07/38] target/hexagon: Include missing 'exec/target_long.h' header Philippe Mathieu-Daudé
2026-03-13 14:16   ` Brian Cain [this message]
2026-03-13 16:37   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 08/38] target/hppa: " Philippe Mathieu-Daudé
2026-03-13 16:37   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 09/38] target/i386: " Philippe Mathieu-Daudé
2026-03-13 16:37   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 10/38] target/m68k: " Philippe Mathieu-Daudé
2026-03-13 10:33   ` Thomas Huth
2026-03-13 16:37   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 11/38] target/mips: " Philippe Mathieu-Daudé
2026-03-13 16:37   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 12/38] target/ppc: " Philippe Mathieu-Daudé
2026-03-13 16:37   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 13/38] target/riscv: " Philippe Mathieu-Daudé
2026-03-13 16:37   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 14/38] target/sparc: " Philippe Mathieu-Daudé
2026-03-13 16:37   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 15/38] system/kvm_xen: Include missing 'exec/target_page.h' header Philippe Mathieu-Daudé
2026-03-13 16:37   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 16/38] hw/misc/cpc: Include missing 'hw/core/cpu.h' header Philippe Mathieu-Daudé
2026-03-13 10:34   ` Thomas Huth
2026-03-13 16:38   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 17/38] target/s390x/tcg: Include missing '*cpu.h' headers Philippe Mathieu-Daudé
2026-03-13 10:29   ` Thomas Huth
2026-03-13 16:38   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 18/38] exec/helper-head: Include missing 'exec/target_long.h' header Philippe Mathieu-Daudé
2026-03-13 16:38   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 19/38] target/cpu: Do not include 'exec/cpu-defs.h' anymore Philippe Mathieu-Daudé
2026-03-13 16:38   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 20/38] hw/alpha: Include full path to target 'cpu.h' header Philippe Mathieu-Daudé
2026-03-13 16:38   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 21/38] hw/arm: " Philippe Mathieu-Daudé
2026-03-13 16:39   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 22/38] hw/avr: " Philippe Mathieu-Daudé
2026-03-13 16:39   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 23/38] hw/hppa: " Philippe Mathieu-Daudé
2026-03-13 16:39   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 24/38] hw/i386: " Philippe Mathieu-Daudé
2026-03-13 16:39   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 25/38] hw/m68k: " Philippe Mathieu-Daudé
2026-03-13 10:29   ` Thomas Huth
2026-03-13 16:39   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 26/38] hw/microblaze: " Philippe Mathieu-Daudé
2026-03-13 16:39   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 27/38] hw/mips: " Philippe Mathieu-Daudé
2026-03-13 16:39   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 28/38] hw/or1k: " Philippe Mathieu-Daudé
2026-03-13 16:39   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 29/38] hw/ppc: " Philippe Mathieu-Daudé
2026-03-13 16:39   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 30/38] hw/riscv: " Philippe Mathieu-Daudé
2026-03-13 16:40   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 31/38] hw/s390x: " Philippe Mathieu-Daudé
2026-03-13 10:30   ` Thomas Huth
2026-03-13 16:40   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 32/38] hw/sh4: " Philippe Mathieu-Daudé
2026-03-13 16:40   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 33/38] hw/sparc: " Philippe Mathieu-Daudé
2026-03-13 16:40   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 34/38] hw/tricore: " Philippe Mathieu-Daudé
2026-03-13 16:40   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 35/38] hw/xtensa: " Philippe Mathieu-Daudé
2026-03-13 16:40   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 36/38] hw/misc/allwinner-cpucfg.c: make compilation unit common Philippe Mathieu-Daudé
2026-03-13 16:40   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 37/38] hw/avr: Build as common unit files Philippe Mathieu-Daudé
2026-03-13 16:40   ` Pierrick Bouvier
2026-03-13  6:20 ` [PATCH v2 38/38] hw/misc: Build 'mac_via' as common unit file Philippe Mathieu-Daudé
2026-03-13 10:32   ` Thomas Huth
2026-03-13 16:41   ` Pierrick Bouvier
2026-03-13 16:42 ` [PATCH v2 00/38] target/cpu: Do not include 'exec/cpu-defs.h' anymore Pierrick Bouvier
2026-03-23  9:54 ` Philippe Mathieu-Daudé

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAEqNhNaFuVqtSvMmoMGwrvQULYVq229XR8kjipkZwigCPQO0YQ@mail.gmail.com \
    --to=brian.cain@oss.qualcomm.com \
    --cc=anjo@rev.ng \
    --cc=pbonzini@redhat.com \
    --cc=philmd@linaro.org \
    --cc=pierrick.bouvier@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    --cc=thuth@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox