[PATCH] Added missing TARGETS in kselftest top level Makefile

2023-09-30 Thread Abhinav
Some TARGETS were missing in selftests top level Makefile.Added those. Signed-off-by: Abhinav --- tools/testing/selftests/Makefile | 11 +++ 1 file changed, 11 insertions(+) diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile index 8d9b2341b79a..14050f39cc5e

Re: [PATCH v1 11/20] arm64: enable ARCH_HAS_PKEYS on arm64

2023-09-30 Thread kernel test robot
/scm/linux/kernel/git/arm64/linux.git for-next/core patch link: https://lore.kernel.org/r/20230927140123.5283-12-joey.gouly%40arm.com patch subject: [PATCH v1 11/20] arm64: enable ARCH_HAS_PKEYS on arm64 config: arm64-randconfig-001-20230930 (https://download.01.org/0day-ci/archive/20230930

[PATCH] selftests:proc add missing field KSM in smaps_rollup[] array

2023-09-30 Thread Swarup Laxman Kotiaklapudi
Missing field KSM is added in g_smaps_rollup[] array as it fixes assert in function test_proc_pid_smaps_rollup() Without this patchset test fails for "proc-empty-vm" as can be seen below: $make TARGETS="proc" kselftest ... selftests: proc: proc-empty-vm proc-empty-vm: proc-empty-vm.c:299:

Re: [PATCH v1 09/20] arm64: define VM_PKEY_BIT* for arm64

2023-09-30 Thread kernel test robot
/scm/linux/kernel/git/arm64/linux.git for-next/core patch link: https://lore.kernel.org/r/20230927140123.5283-10-joey.gouly%40arm.com patch subject: [PATCH v1 09/20] arm64: define VM_PKEY_BIT* for arm64 config: arm64-randconfig-001-20230930 (https://download.01.org/0day-ci/archive/20230930

Re: [PATCH 1/2] kunit: Add param generator macro for zero terminated arrays

2023-09-30 Thread David Gow
On Wed, 27 Sept 2023 at 06:02, Michal Wajdeczko wrote: > > The existing macro KUNIT_ARRAY_PARAM can produce parameter > generator function but only when we fully know the definition > of the array. However, there might be cases where we would like > to generate test params based on externaly

Re: [PATCH 2/2] kunit: Allow to filter entries from zero terminated arrays

2023-09-30 Thread David Gow
On Wed, 27 Sept 2023 at 06:02, Michal Wajdeczko wrote: > > In some cases we may want to generate params based on existing > zero terminated array, but with some entries filtered out. > Extend macro KUNIT_ZERO_ARRAY_PARAM to accept filter function > and provide example how to use it. > > $