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)
commit812aa68ef7d4d71bed996468ead665092a3f8de9
treefdd76165b5188d5ae607b2c02592e3f8e150f5aa
parent08a022ad3dfafc7e33d4529015e14bb75179cacc
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