[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] tcg/tci: Add TCG_TARGET_DEFAULT_MO
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH] tcg/tci: Add TCG_TARGET_DEFAULT_MO |
Date: |
Thu, 7 Sep 2017 19:01:41 +0100 |
On 7 September 2017 at 18:54, Richard Henderson
<address@hidden> wrote:
> Missed being added as part of 71650df7b0ee.
>
> Signed-off-by: Richard Henderson <address@hidden>
> ---
> tcg/tci/tcg-target.h | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/tcg/tci/tcg-target.h b/tcg/tci/tcg-target.h
> index 06963288dc..8df628a319 100644
> --- a/tcg/tci/tcg-target.h
> +++ b/tcg/tci/tcg-target.h
> @@ -192,4 +192,9 @@ static inline void flush_icache_range(uintptr_t start,
> uintptr_t stop)
> {
> }
>
> +/* We could notice __i386__ or __s390x__ and reduce the barriers depending
> + on the host. But if you want performance, you use the normal backend.
> + We prefer consistency across hosts on this. */
> +#define TCG_TARGET_DEFAULT_MO (0)
> +
> #endif /* TCG_TARGET_H */
Applied to master as a travis build fix, thanks.
-- PMM