From bcf57618a8d3bbb7ce5d1019b08a546b0f3aa570 Mon Sep 17 00:00:00 2001 From: Sergey Fedorov Date: Tue, 13 Feb 2018 22:43:17 -0500 Subject: [PATCH] target-arm: fix write helper for TLBI ALLE1IS TLBI ALLE1IS is an operation that does invalidate TLB entries on all PEs in the same Inner Sharable domain, not just on the current CPU. So we must use tlbiall_is_write() here. Backports commit 2a6332d968297266dbabf9d33f959e3a5efdd0f9 from qemu --- qemu/target-arm/helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu/target-arm/helper.c b/qemu/target-arm/helper.c index 09a5da9b..398b6366 100644 --- a/qemu/target-arm/helper.c +++ b/qemu/target-arm/helper.c @@ -2131,7 +2131,7 @@ static const ARMCPRegInfo v8_cp_reginfo[] = { NULL, NULL, tlbiall_write }, { "TLBI_ALLE1IS", 0,8,3, 1,4,4, ARM_CP_STATE_AA64, ARM_CP_NO_RAW, PL2_W, 0, NULL, 0, 0, {0, 0}, - NULL, NULL, tlbiall_write }, + NULL, NULL, tlbiall_is_write }, { "TLBI_VMALLE1IS", 0,8,3, 1,0,0, ARM_CP_STATE_AA64, ARM_CP_NO_RAW, PL1_W, 0, NULL, 0, 0, {0, 0}, NULL, NULL, tlbiall_is_write },