44 lines
1.5 KiB
Diff
44 lines
1.5 KiB
Diff
|
|
From 1475170931ea2979a150fe4c1d3fc6b649eb3a6e Mon Sep 17 00:00:00 2001
|
||
|
|
From: Richard Henderson <richard.henderson@linaro.org>
|
||
|
|
Date: Tue, 12 Nov 2024 06:12:32 -0800
|
||
|
|
Subject: [PATCH] target/arm: Drop user-only special case in sve_stN_r
|
||
|
|
|
||
|
|
This path is reachable with plugins enabled, and provoked
|
||
|
|
with run-plugin-catch-syscalls-with-libinline.so.
|
||
|
|
|
||
|
|
Cc: qemu-stable@nongnu.org
|
||
|
|
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
|
||
|
|
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
|
||
|
|
Message-ID: <20241112141232.321354-1-richard.henderson@linaro.org>
|
||
|
|
(cherry picked from commit f27550804688da43c6e0d87b2f9e143adbf76271)
|
||
|
|
Signed-off-by: zhujun2 <zhujun2_yewu@cmss.chinamobile.com>
|
||
|
|
---
|
||
|
|
target/arm/tcg/sve_helper.c | 4 ----
|
||
|
|
1 file changed, 4 deletions(-)
|
||
|
|
|
||
|
|
diff --git a/target/arm/tcg/sve_helper.c b/target/arm/tcg/sve_helper.c
|
||
|
|
index f006d152cc..ce8134320b 100644
|
||
|
|
--- a/target/arm/tcg/sve_helper.c
|
||
|
|
+++ b/target/arm/tcg/sve_helper.c
|
||
|
|
@@ -6306,9 +6306,6 @@ void sve_stN_r(CPUARMState *env, uint64_t *vg, target_ulong addr,
|
||
|
|
|
||
|
|
flags = info.page[0].flags | info.page[1].flags;
|
||
|
|
if (unlikely(flags != 0)) {
|
||
|
|
-#ifdef CONFIG_USER_ONLY
|
||
|
|
- g_assert_not_reached();
|
||
|
|
-#else
|
||
|
|
/*
|
||
|
|
* At least one page includes MMIO.
|
||
|
|
* Any bus operation can fail with cpu_transaction_failed,
|
||
|
|
@@ -6339,7 +6336,6 @@ void sve_stN_r(CPUARMState *env, uint64_t *vg, target_ulong addr,
|
||
|
|
} while (reg_off & 63);
|
||
|
|
} while (reg_off <= reg_last);
|
||
|
|
return;
|
||
|
|
-#endif
|
||
|
|
}
|
||
|
|
|
||
|
|
mem_off = info.mem_off_first[0];
|
||
|
|
--
|
||
|
|
2.41.0.windows.1
|
||
|
|
|