[PATCH v5 7/7] kselftest/arm64/mte: add MTE_STORE_ONLY testcases
Mark Brown
broonie at kernel.org
Wed Jun 11 06:02:35 PDT 2025
On Wed, Jun 11, 2025 at 10:48:02AM +0100, Yeoreum Yun wrote:
> @@ -144,7 +178,7 @@ static int check_file_memory_mapping(int mem_type, int mode, int mapping, int ta
> close(fd);
> return KSFT_FAIL;
> }
> - result = check_mte_memory(ptr, sizes[run], mode, tag_check, atag_check);
> + result = check_mte_memory(ptr, sizes[run], mode, tag_check, atag_check, tag_op);
> mte_clear_tags((void *)ptr, sizes[run]);
> munmap((void *)map_ptr, map_size);
> close(fd);
check_file_memory_mapping() looks like it also has the issue from the
other series with skips being upgraded to fails, looks like there's more
instances.
> @@ -106,11 +115,11 @@ int main(void)
> int i;
>
> ksft_print_header();
> - ksft_set_plan(5);
> + ksft_set_plan(8);
>
This should probably have been ARRAY_SIZE() to start off with, sorry.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20250611/295a1f52/attachment.sig>
More information about the linux-arm-kernel
mailing list