linux-user/aarch64: Reset target data on MADV_DONTNEED
commitdbbf89751b14aa5d281bad3af273e9ffaae82262
authorVitaly Buka <vitalybuka@google.com>
Mon, 11 Jul 2022 22:00:28 +0000 (11 15:00 -0700)
committerLaurent Vivier <laurent@vivier.eu>
Thu, 11 Aug 2022 09:34:17 +0000 (11 11:34 +0200)
tree79285544e4a484e0631a97263a6d7bf5caa37790
parenta6b1c53e79d08a99a28cc3e67a3e1a7c34102d6b
linux-user/aarch64: Reset target data on MADV_DONTNEED

aarch64 stores MTE tags in target_date, and they should be reset by
MADV_DONTNEED.

Signed-off-by: Vitaly Buka <vitalybuka@google.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220711220028.2467290-1-vitalybuka@google.com>
[lv: fix code style issues]
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
accel/tcg/translate-all.c
include/exec/cpu-all.h
linux-user/mmap.c