diff options
author | Ravi Bangoria <ravi.bangoria@linux.ibm.com> | 2020-07-23 12:08:06 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-07-26 16:34:18 +0300 |
commit | f3c832f1350bcf1e6906113ee3168066f4235dbe (patch) | |
tree | d3f55175fdc1dd0cd4c06e0f7485ed05a204da4e /lib/mpi/mpi-cmp.c | |
parent | f6780ce619f8daa285760302d56e95892087bd1f (diff) | |
download | linux-f3c832f1350bcf1e6906113ee3168066f4235dbe.tar.xz |
powerpc/watchpoint: Fix DAWR exception for CACHEOP
'ea' returned by analyse_instr() needs to be aligned down to cache
block size for CACHEOP instructions. analyse_instr() does not set
size for CACHEOP, thus size also needs to be calculated manually.
Fixes: 27985b2a640e ("powerpc/watchpoint: Don't ignore extraneous exceptions blindly")
Fixes: 74c6881019b7 ("powerpc/watchpoint: Prepare handler to handle more than one watchpoint")
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/20200723090813.303838-4-ravi.bangoria@linux.ibm.com
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions