diff options
| author | Ravi Bangoria <[email protected]> | 2020-09-02 09:59:41 +0530 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2020-09-15 22:13:19 +1000 |
| commit | edc8dd99b29e4d705c45e2a3a6c01b096ee056db (patch) | |
| tree | a4c11d255b80af1ef92b189c4a53b4c65ca7c113 /tools/perf/scripts/python | |
| parent | 9b6b7c680cc20971444d9f836e49fc98848bcd0a (diff) | |
powerpc/watchpoint: Move DAWR detection logic outside of hw_breakpoint.c
Power10 hw has multiple DAWRs but hw doesn't tell which DAWR caused
the exception. So we have a sw logic to detect that in hw_breakpoint.c.
But hw_breakpoint.c gets compiled only with CONFIG_HAVE_HW_BREAKPOINT=Y.
Move DAWR detection logic outside of hw_breakpoint.c so that it can be
reused when CONFIG_HAVE_HW_BREAKPOINT is not set.
Signed-off-by: Ravi Bangoria <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions