On 27/2/26 21:36, Brian Cain wrote:
From: Brian Cain <[email protected]>
Signed-off-by: Brian Cain <[email protected]>
---
target/hexagon/cpu-param.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/target/hexagon/cpu-param.h b/target/hexagon/cpu-param.h
index 45ee7b46409..ccaf6a9d28d 100644
--- a/target/hexagon/cpu-param.h
+++ b/target/hexagon/cpu-param.h
@@ -23,4 +23,9 @@
#define TARGET_PHYS_ADDR_SPACE_BITS 36
#define TARGET_VIRT_ADDR_SPACE_BITS 32
+/*
+ * Hexagon processors have a strong memory model.
+ */
+#define TCG_GUEST_DEFAULT_MO (TCG_MO_ALL)
This definition is poisoned since commit 98c7c146988.
Commit 7dc2af9786e ("tcg: Remove the TCG_GUEST_DEFAULT_MO
definition globally") already sets
hexagon_tcg_ops::guest_default_memory_order = TCG_MO_ALL.
Maybe just drop this patch?