diff options
author | Thomas Huth <[email protected]> | 2015-11-20 09:11:45 +0100 |
---|---|---|
committer | Paul Mackerras <[email protected]> | 2015-12-09 16:05:01 +1100 |
commit | 760a7364f27d974d100118d88190e574626e18a6 (patch) | |
tree | 0467ed6b66ed1b5a33ac00eb19cb6e08903e36d9 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 1c9e3d51d5410acbc4fad70d59370ec2f13c6748 (diff) |
KVM: PPC: Fix emulation of H_SET_DABR/X on POWER8
In the old DABR register, the BT (Breakpoint Translation) bit
is bit number 61. In the new DAWRX register, the WT (Watchpoint
Translation) bit is bit number 59. So to move the DABR-BT bit
into the position of the DAWRX-WT bit, it has to be shifted by
two, not only by one. This fixes hardware watchpoints in gdb of
older guests that only use the H_SET_DABR/X interface instead
of the new H_SET_MODE interface.
Cc: [email protected] # v3.14+
Signed-off-by: Thomas Huth <[email protected]>
Reviewed-by: Laurent Vivier <[email protected]>
Reviewed-by: David Gibson <[email protected]>
Signed-off-by: Paul Mackerras <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions