Ravi Bangoria 3d2ffcdd2a powerpc/watchpoint: Workaround P10 DD1 issue with VSX-32 byte instructions
POWER10 DD1 has an issue where it generates watchpoint exceptions when
it shouldn't. The conditions where this occur are:

 - octword op
 - ending address of DAWR range is less than starting address of op
 - those addresses need to be in the same or in two consecutive 512B
   blocks
 - 'op address + 64B' generates an address that has a carry into bit
   52 (crosses 2K boundary)

Handle such spurious exception by considering them as extraneous and
emulating/single-steeping instruction without generating an event.

[ravi: Fixed build warning reported by lkp@intel.com]
Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201106045650.278987-1-ravi.bangoria@linux.ibm.com
2020-12-11 00:09:10 +11:00
..
2020-08-07 18:48:15 -07:00
2020-12-09 23:48:14 +11:00
2020-10-16 12:21:15 -07:00
2020-12-09 23:48:14 +11:00
2020-12-04 01:01:09 +11:00
2020-10-08 21:17:12 +11:00
2020-07-27 00:01:30 +10:00
2020-06-05 12:39:30 -07:00
2020-05-26 23:36:57 +10:00
2020-06-05 12:39:30 -07:00
2020-12-05 21:49:52 +11:00
2020-11-25 23:17:31 +11:00
2020-12-05 21:49:52 +11:00
2020-05-26 23:36:51 +10:00
2020-12-04 01:01:19 +11:00
2020-11-25 23:17:31 +11:00