#!/bin/bash perf record -e raw_syscalls:sys_enter $@ se.0xinfinity.dev/distro/kernel/atom?h=master'/> 2023-11-23T14:16:15Z kselftest/arm64: Fix output formatting for za-fork 2023-11-23T14:16:15Z Mark Brown broonie@kernel.org 2023-11-16T12:52:29Z urn:sha1:460e462d22542adfafd8a5bc979437df73f1cbf3 The za-fork test does not output a newline when reporting the result of the one test it runs, causing the counts printed by kselftest to be included in the test name. Add the newline. Fixes: 266679ffd867 ("kselftest/arm64: Convert za-fork to use kselftest.h") Cc: <stable@vger.kernel.org> # 6.4.x Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20231116-arm64-fix-za-fork-output-v1-1-42c03d4f5759@kernel.org Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> kselftest/arm64: Convert za-fork to use kselftest.h 2023-04-11T20:10:51Z Mark Brown broonie@kernel.org 2023-04-06T16:19:12Z urn:sha1:266679ffd867cb247c36717ea4d7998e9304823b Now that kselftest.h can be used with nolibc convert the za-fork test to use it. We do still have to open code ksft_print_msg() but that's not the end of the world. Some of the advantage comes from using printf() which we could have been using already. This does change the output when tests are skipped, bringing it in line with the standard kselftest output by removing the test name - we move from ok 0 skipped to ok 1 # SKIP fork_test The old output was not following KTAP format for skips, and the numbering was not standard or consistent with the reported plan. Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org> selftests/arm64: Add a testcase for handling of ZA on clone() 2022-04-28T16:57:12Z Mark Brown broonie@kernel.org 2022-04-19T11:22:47Z urn:sha1:212b0426bc361eede2f9ce43fb2a5b01070000a1 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>