On 10/18/2026 11:09 PM, Brian Cain wrote:
> Signed-off-by: Brian Cain <[email protected]>
> ---
>  configs/targets/hexagon-softmmu.mak | 1 +
>  target/hexagon/cpu.c                | 3 +--
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/configs/targets/hexagon-softmmu.mak 
> b/configs/targets/hexagon-softmmu.mak
> index 1ba6420d205..633b7b3f8b7 100644
> --- a/configs/targets/hexagon-softmmu.mak
> +++ b/configs/targets/hexagon-softmmu.mak
> @@ -8,3 +8,4 @@ TARGET_NOT_USING_LEGACY_NATIVE_ENDIAN_API=y
>  TARGET_NEED_FDT=y
>  CONFIG_SEMIHOSTING=y
>  CONFIG_ARM_COMPATIBLE_SEMIHOSTING=y
> +TARGET_SUPPORTS_MTTCG=y

This one is not needed since introduction of TCGCPUOps.mttcg_supported:
https://gitlab.com/qemu-project/qemu/-/commit/a3d40b5effafdd299d1850f0c9956f60199b5b56

You can remove this makefile change.

> diff --git a/target/hexagon/cpu.c b/target/hexagon/cpu.c
> index 896d72825a6..0416c37515b 100644
> --- a/target/hexagon/cpu.c
> +++ b/target/hexagon/cpu.c
> @@ -809,9 +809,8 @@ void hexagon_cpu_do_unaligned_access(CPUState *cs, vaddr 
> addr,
>  #endif
>  
>  static const TCGCPUOps hexagon_tcg_ops = {
> -    /* MTTCG not yet supported: require strict ordering */
>      .guest_default_memory_order = TCG_MO_ALL,
> -    .mttcg_supported = false,
> +    .mttcg_supported = true,
>      .initialize = hexagon_translate_init,
>      .translate_code = hexagon_translate_code,
>      .get_tb_cpu_state = hexagon_get_tb_cpu_state,

For the rest,
Reviewed-by: Pierrick Bouvier <[email protected]>


Reply via email to