* [Qemu-devel] [PATCH] tcg/tci: Add TCG_TARGET_DEFAULT_MO
@ 2017-09-07 17:54 Richard Henderson
2017-09-07 18:01 ` Peter Maydell
0 siblings, 1 reply; 2+ messages in thread
From: Richard Henderson @ 2017-09-07 17:54 UTC (permalink / raw)
To: qemu-devel; +Cc: peter.maydell
Missed being added as part of 71650df7b0ee.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
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 */
--
2.13.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] tcg/tci: Add TCG_TARGET_DEFAULT_MO
2017-09-07 17:54 [Qemu-devel] [PATCH] tcg/tci: Add TCG_TARGET_DEFAULT_MO Richard Henderson
@ 2017-09-07 18:01 ` Peter Maydell
0 siblings, 0 replies; 2+ messages in thread
From: Peter Maydell @ 2017-09-07 18:01 UTC (permalink / raw)
To: Richard Henderson; +Cc: QEMU Developers
On 7 September 2017 at 18:54, Richard Henderson
<richard.henderson@linaro.org> wrote:
> Missed being added as part of 71650df7b0ee.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-09-07 18:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-07 17:54 [Qemu-devel] [PATCH] tcg/tci: Add TCG_TARGET_DEFAULT_MO Richard Henderson
2017-09-07 18:01 ` Peter Maydell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).