diff options
author | Peter Collingbourne <pcc@google.com> | 2022-11-04 02:10:40 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-11-29 10:26:07 +0100 |
commit | c911f0d4687947915f04024aa01803247fcf7f1a (patch) | |
tree | 885642137cf684a9563263f0c88a475e553f6f30 /lib/locking-selftest-hardirq.h | |
parent | KVM: arm64: unify the tests for VMAs in memslots when MTE is enabled (diff) | |
download | linux-c911f0d4687947915f04024aa01803247fcf7f1a.tar.xz linux-c911f0d4687947915f04024aa01803247fcf7f1a.zip |
KVM: arm64: permit all VM_MTE_ALLOWED mappings with MTE enabled
Certain VMMs such as crosvm have features (e.g. sandboxing) that depend
on being able to map guest memory as MAP_SHARED. The current restriction
on sharing MAP_SHARED pages with the guest is preventing the use of
those features with MTE. Now that the races between tasks concurrently
clearing tags on the same page have been fixed, remove this restriction.
Note that this is a relaxation of the ABI.
Signed-off-by: Peter Collingbourne <pcc@google.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221104011041.290951-8-pcc@google.com
Diffstat (limited to 'lib/locking-selftest-hardirq.h')
0 files changed, 0 insertions, 0 deletions