android_kernel_motorola_sm6375/tools/testing
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Sandipan Das 5299edbfc1 selftests/powerpc: Fix online CPU selection
[ Upstream commit dfa03fff86027e58c8dba5c03ae68150d4e513ad ]

The size of the CPU affinity mask must be large enough for
systems with a very large number of CPUs. Otherwise, tests
which try to determine the first online CPU by calling
sched_getaffinity() will fail. This makes sure that the size
of the allocated affinity mask is dependent on the number of
CPUs as reported by get_nprocs_conf().

Fixes: 3752e453f6 ("selftests/powerpc: Add tests of PMU EBBs")
Reported-by: Shirisha Ganta <[email protected]>
Signed-off-by: Sandipan Das <[email protected]>
Reviewed-by: Kamalesh Babulal <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/a408c4b8e9a23bb39b539417a21eb0ff47bb5127.1596084858.git.sandipan@linux.ibm.com
Signed-off-by: Sasha Levin <[email protected]>
2020-08-19 08:16:18 +02:00
..
fault-injection
ktest ktest: Add timeout for ssh sync testing 2020-03-18 07:17:51 +01:00
nvdimm tools/test/nvdimm: Fix out of tree build 2020-04-29 16:32:59 +02:00
radix-tree xarray: Fix early termination of xas_for_each_marked 2020-04-17 10:50:18 +02:00
scatterlist
selftests selftests/powerpc: Fix online CPU selection 2020-08-19 08:16:18 +02:00
vsock