On Wed, 28 Sep 2022 16:45:17 +0100, Mark Brown wrote: > Currently we set -march=armv8.5+memtag when building the MTE selftests, > allowing the compiler to emit v8.5 and MTE instructions for anything it > generates. This means that we may get code that will generate SIGILLs when > run on older systems rather than skipping on non-MTE systems as should be > the case. Most toolchains don't select any incompatible instructions but > I have seen some reports which suggest that some may be appearing which do > so. This is also potentially problematic in that if the compiler chooses to > emit any MTE instructions for the C code it may interfere with the MTE > usage we are trying to test. > > [...] Applied to arm64 (for-next/kselftest), thanks! [1/1] kselftest/arm64: Don't enable v8.5 for MTE selftest builds https://git.kernel.org/arm64/c/55c8a987dd73 -- Catalin