]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/arm64: Add a testcase for handling of ZA on clone()
authorMark Brown <broonie@kernel.org>
Tue, 19 Apr 2022 11:22:47 +0000 (12:22 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 28 Apr 2022 16:57:12 +0000 (17:57 +0100)
commite9fbe0f6d87480b16374aea0363e4525c425c62e
tree0a77f65eb412518404baf93b48b1556d7a24dc64
parentd6331f3a45c8f6d5d76bb7f43931136e43e33678
selftests/arm64: Add a testcase for handling of ZA on clone()

Add a small testcase that attempts to do a clone() with ZA enabled and
verifies that it remains enabled with the same contents. We only check
one word in one horizontal vector of ZA since there's already other tests
that check for data corruption more broadly, we're just looking to make
sure that ZA is still enabled and it looks like the data got copied.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20220419112247.711548-40-broonie@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
tools/testing/selftests/arm64/fp/.gitignore
tools/testing/selftests/arm64/fp/Makefile
tools/testing/selftests/arm64/fp/za-fork-asm.S [new file with mode: 0644]
tools/testing/selftests/arm64/fp/za-fork.c [new file with mode: 0644]