diff options
| author | Ravi Bangoria <[email protected]> | 2020-07-23 14:38:09 +0530 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2020-07-26 23:34:19 +1000 |
| commit | 8f45ca3f8b87c4810674fbfe65de6d041ee0baee (patch) | |
| tree | e11fd5f522bc2f641ffa1f2fdc56e0cc8793821f /tools/perf/scripts/python/flamegraph.py | |
| parent | dc1cedca54704d336c333b5398daaf13b23e391b (diff) | |
powerpc/watchpoint: Set CPU_FTR_DAWR1 based on pa-features bit
As per the PAPR, bit 0 of byte 64 in pa-features property indicates
availability of 2nd DAWR registers. i.e. If this bit is set, 2nd
DAWR is present, otherwise not. Host generally uses "cpu-features",
which masks "pa-features". But "cpu-features" are still not used for
guests and thus this change is mostly applicable for guests only.
Signed-off-by: Ravi Bangoria <[email protected]>
Tested-by: Jordan Niethe <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions