diff options
author | Jordan Niethe <jniethe5@gmail.com> | 2021-02-25 14:21:06 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-04-08 21:17:44 +1000 |
commit | 08a022ad3dfafc7e33d4529015e14bb75179cacc (patch) | |
tree | 58eb0f81eec45425d1101b6438154efa92e2225a /arch/powerpc/perf/isa207-common.c | |
parent | acd4dfeb49c8ec1071b1e67683c5779e97fdc5b9 (diff) |
powerpc/powernv/memtrace: Allow mmaping trace buffers
Let the memory removed from the linear mapping to be used for the trace
buffers be mmaped. This is a useful way of providing cache-inhibited
memory for the alignment_handler selftest.
Signed-off-by: Jordan Niethe <jniethe5@gmail.com>
[mpe: make memtrace_mmap() static as noticed by lkp@intel.com]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210225032108.1458352-1-jniethe5@gmail.com
Diffstat (limited to 'arch/powerpc/perf/isa207-common.c')
0 files changed, 0 insertions, 0 deletions