]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/powerpc: Allow choice of CI memory location in alignment_handler test
authorJordan Niethe <jniethe5@gmail.com>
Wed, 20 May 2020 02:11:02 +0000 (12:11 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 22 Jun 2020 00:37:59 +0000 (10:37 +1000)
commit501dccfe67e2ce72d9f2bb596b854b441070858c
tree57456525fcd72f6797411d7ff6bf85eb881b2a0f
parent5aec8e063f3d6ce701da3437e774a41cb0b08999
selftests/powerpc: Allow choice of CI memory location in alignment_handler test

The alignment handler selftest needs cache-inhibited memory and
currently /dev/fb0 is relied on to provided this. This prevents running
the test on systems without /dev/fb0 (e.g., mambo). Read the commandline
arguments for an optional path to be used instead, as well as an
optional offset to be for mmaping this path.

Signed-off-by: Jordan Niethe <jniethe5@gmail.com>
Tested-by: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200520021103.19798-1-jniethe5@gmail.com
tools/testing/selftests/powerpc/alignment/alignment_handler.c