diff options
author | Richard Henderson | 2020-06-26 05:31:36 +0200 |
---|---|---|
committer | Peter Maydell | 2020-06-26 15:31:12 +0200 |
commit | c4af8ba19b9d22aac79cab679a20b159af9d6809 (patch) | |
tree | dc2e0d9d4724f2409a56a543f17f3a9072092d65 /target/arm/cpu.h | |
parent | target/arm: Add mte helpers for sve scatter/gather memory ops (diff) | |
download | qemu-c4af8ba19b9d22aac79cab679a20b159af9d6809.tar.gz qemu-c4af8ba19b9d22aac79cab679a20b159af9d6809.tar.xz qemu-c4af8ba19b9d22aac79cab679a20b159af9d6809.zip |
target/arm: Complete TBI clearing for user-only for SVE
There are a number of paths by which the TBI is still intact
for user-only in the SVE helpers.
Because we currently always set TBI for user-only, we do not
need to pass down the actual TBI setting from above, and we
can remove the top byte in the inner-most primitives, so that
none are forgotten. Moreover, this keeps the "dirty" pointer
around at the higher levels, where we need it for any MTE checking.
Since the normal case, especially for user-only, goes through
RAM, this clearing merely adds two insns per page lookup, which
will be completely in the noise.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200626033144.790098-39-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/cpu.h')
0 files changed, 0 insertions, 0 deletions