]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/powerpc: Suggest memtrace instead of /dev/mem for ci memory
authorJordan Niethe <jniethe5@gmail.com>
Thu, 25 Feb 2021 03:21:07 +0000 (14:21 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 8 Apr 2021 11:17:44 +0000 (21:17 +1000)
commite66e94cd853228a693c5e4aa693281fd2a024516
treefdd76165b5188d5ae607b2c02592e3f8e150f5aa
parent9316ec13a7b22eebd428a7beb3d1b040508e7b9e
selftests/powerpc: Suggest memtrace instead of /dev/mem for ci memory

The suggested alternative for getting cache-inhibited memory with 'mem='
and /dev/mem is pretty hacky. Also, PAPR guests do not allow system
memory to be mapped cache-inhibited so despite /dev/mem being available
this will not work which can cause confusion.  Instead recommend using
the memtrace buffers. memtrace is only available on powernv so there
will not be any chance of trying to do this in a guest.

Signed-off-by: Jordan Niethe <jniethe5@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210225032108.1458352-2-jniethe5@gmail.com
tools/testing/selftests/powerpc/alignment/alignment_handler.c