]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
target/microblaze: Define TCG_GUEST_DEFAULT_MO
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 19 Jun 2023 09:08:41 +0000 (11:08 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 26 Jun 2023 15:33:00 +0000 (17:33 +0200)
The microblaze architecture does not reorder instructions.
While there is an MBAR wait-for-data-access instruction,
this concerns synchronizing with DMA.

This should have been defined when enabling MTTCG.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar@zeroasic.com>
Fixes: d449561b130 ("configure: microblaze: Enable mttcg")
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/microblaze/cpu.h

index 3525de144cffa02139e638c34b26fff69559cc05..a7b040abd44789ba2af9499f7a591110aab3e5bc 100644 (file)
@@ -24,6 +24,9 @@
 #include "exec/cpu-defs.h"
 #include "qemu/cpu-float.h"
 
+/* MicroBlaze is always in-order. */
+#define TCG_GUEST_DEFAULT_MO  TCG_MO_ALL
+
 typedef struct CPUArchState CPUMBState;
 #if !defined(CONFIG_USER_ONLY)
 #include "mmu.h"