diff options
| author | Athira Rajeev <atrajeev@linux.vnet.ibm.com> | 2020-07-17 10:38:21 -0400 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-07-22 21:56:41 +1000 |
| commit | bfe3b1945d5e0531103b3d4ab3a367a1a156d99a (patch) | |
| tree | f696c7a6fea2eec0d5ced69c598091823390c921 /tools/perf/scripts/python | |
| parent | a64e697cef23b3d24bac700f6d66c8e2bf8efccc (diff) | |
| download | linux-bfe3b1945d5e0531103b3d4ab3a367a1a156d99a.tar.gz linux-bfe3b1945d5e0531103b3d4ab3a367a1a156d99a.zip | |
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 <atrajeev@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1594996707-3727-10-git-send-email-atrajeev@linux.vnet.ibm.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
