lib/test: introduce cpumask KUnit test suite
authorSander Vanheule <sander@svanheule.net>
Sat, 2 Jul 2022 16:08:26 +0000 (18:08 +0200)
committerakpm <akpm@linux-foundation.org>
Mon, 18 Jul 2022 00:31:41 +0000 (17:31 -0700)
commitc41e8866c28c4d1a88a085fc3c3d6ba403510804
treeae5c83a2f40d28e5d58407da17f7a1ea06dc27b7
parentb81dce77cedcea6f00292f02d4b1ebbfc2c5988d
lib/test: introduce cpumask KUnit test suite

Add a basic suite of tests for cpumask, providing some tests for empty and
completely filled cpumasks.

Link: https://lkml.kernel.org/r/c96980ec35c3bd23f17c3374bf42c22971545e85.1656777646.git.sander@svanheule.net
Signed-off-by: Sander Vanheule <sander@svanheule.net>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Suggested-by: Yury Norov <yury.norov@gmail.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Marco Elver <elver@google.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Valentin Schneider <vschneid@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/Kconfig.debug
lib/Makefile
lib/test_cpumask.c [new file with mode: 0644]