From: Alexei Starovoitov Date: Sat, 7 Jun 2025 02:21:43 +0000 (-0700) Subject: Merge branch 'selftests-bpf-fix-a-few-test-failures-with-arm64-64kb-page' X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d365993c2daac9068443e39e52e57d20cbccf49a;p=thirdparty%2Fkernel%2Flinux.git Merge branch 'selftests-bpf-fix-a-few-test-failures-with-arm64-64kb-page' Yonghong Song says: ==================== selftests/bpf: Fix a few test failures with arm64 64KB page My local arm64 host has 64KB page size and the VM to run test_progs also has 64KB page size. There are a few self tests assuming 4KB page and failed in my environment. Patch 1 reduced long assert logs so if the test fails, developers can check logs easily. Patches 2-4 fixed three selftest failures. Changelogs: v3 -> v4: - v3: https://lore.kernel.org/bpf/20250606213048.340421-1-yonghong.song@linux.dev/ - In v3, I tried to use __kconfig with CONFIG_ARM64_64K_PAGES to decide to have 4K or 64K aligned. But CI seems unhappy about this. Most likely the reason is due to lskel. So in v4, simply adjust/increase numbers to 64K aligned for test_ringbuf_write test. v2 -> v3: - v2: https://lore.kernel.org/bpf/20250606174139.3036576-1-yonghong.song@linux.dev/ - Fix veristat failure with bpf object file test_ringbuf_write.bpf.o. v1 -> v2: - v1: https://lore.kernel.org/bpf/20250606032309.444401-1-yonghong.song@linux.dev/ - Fix a problem with selftest release build, basically from BUILD_BUG_ON to ASSERT_LT. ==================== Link: https://patch.msgid.link/20250607013605.1550284-1-yonghong.song@linux.dev Signed-off-by: Alexei Starovoitov --- d365993c2daac9068443e39e52e57d20cbccf49a