summaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authorStafford Horne2022-06-15 01:43:56 +0200
committerStafford Horne2022-09-04 08:02:57 +0200
commit6a0fc96ad2b16a264ead6b696bdb91a963450dbb (patch)
treebc0788cebe1049a888fce15c29ba1c0cfdc57867 /configs
parenttarget/openrisc: Add interrupted CPU to log (diff)
downloadqemu-6a0fc96ad2b16a264ead6b696bdb91a963450dbb.tar.gz
qemu-6a0fc96ad2b16a264ead6b696bdb91a963450dbb.tar.xz
qemu-6a0fc96ad2b16a264ead6b696bdb91a963450dbb.zip
target/openrisc: Enable MTTCG
This patch enables multithread TCG for OpenRISC. Since the or1k shared syncrhonized timer can be updated from each vCPU via helpers we use a mutex to synchronize updates. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'configs')
-rw-r--r--configs/targets/or1k-softmmu.mak1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/targets/or1k-softmmu.mak b/configs/targets/or1k-softmmu.mak
index 263e970870..432f855a30 100644
--- a/configs/targets/or1k-softmmu.mak
+++ b/configs/targets/or1k-softmmu.mak
@@ -1,3 +1,4 @@
TARGET_ARCH=openrisc
+TARGET_SUPPORTS_MTTCG=y
TARGET_BIG_ENDIAN=y
TARGET_NEED_FDT=y