diff options
author | 2021-01-08 16:12:54 +0000 | |
---|---|---|
committer | 2021-01-21 09:36:23 +0000 | |
commit | e1663372d5ffaa3fc79b7932878c5c860f735412 (patch) | |
tree | 2deb028365b0aafaae4f106ed3fced176f581112 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: arm64: Use the reg_to_encoding() macro instead of sys_reg() (diff) | |
download | wireguard-linux-e1663372d5ffaa3fc79b7932878c5c860f735412.tar.xz wireguard-linux-e1663372d5ffaa3fc79b7932878c5c860f735412.zip |
KVM: arm64: Compute TPIDR_EL2 ignoring MTE tag
KASAN in HW_TAGS mode will store MTE tags in the top byte of the
pointer. When computing the offset for TPIDR_EL2 we don't want anything
in the top byte, so remove the tag to ensure the computation is correct
no matter what the tag.
Fixes: 94ab5b61ee16 ("kasan, arm64: enable CONFIG_KASAN_HW_TAGS")
Signed-off-by: Steven Price <steven.price@arm.com>
[maz: added comment]
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210108161254.53674-1-steven.price@arm.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions