diff options
author | Athira Rajeev <[email protected]> | 2020-07-17 10:38:21 -0400 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2020-07-22 21:56:41 +1000 |
commit | bfe3b1945d5e0531103b3d4ab3a367a1a156d99a (patch) | |
tree | f696c7a6fea2eec0d5ced69c598091823390c921 /arch/powerpc/lib/test_emulate_step.c | |
parent | a64e697cef23b3d24bac700f6d66c8e2bf8efccc (diff) |
powerpc/perf: Ignore the BHRB kernel address filtering for P10
Commit bb19af816025 ("powerpc/perf: Prevent kernel address leak to
userspace via BHRB buffer") added a check in bhrb_read() to filter
the kernel address from BHRB buffer. This patch modified it to avoid
that check for PowerISA v3.1 based processors, since PowerISA v3.1
allows only MSR[PR]=1 address to be written to BHRB buffer.
Signed-off-by: Athira Rajeev <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/powerpc/lib/test_emulate_step.c')
0 files changed, 0 insertions, 0 deletions