summaryrefslogtreecommitdiffstats
path: root/arch/mips/bcm63xx
diff options
context:
space:
mode:
authorPaul Burton2013-06-15 17:34:40 +0200
committerRalf Baechle2013-06-21 18:07:03 +0200
commitc5e1503fd0428ed3a2e5e48734f47c9f4dfe5a3d (patch)
treeeee721bec54e7e879daf8736c78cdcd0b336dcb8 /arch/mips/bcm63xx
parentMIPS: powertv: Drop SYS_HAS_EARLY_PRINTK (diff)
downloadkernel-qcow2-linux-c5e1503fd0428ed3a2e5e48734f47c9f4dfe5a3d.tar.gz
kernel-qcow2-linux-c5e1503fd0428ed3a2e5e48734f47c9f4dfe5a3d.tar.xz
kernel-qcow2-linux-c5e1503fd0428ed3a2e5e48734f47c9f4dfe5a3d.zip
MIPS: Fix execution hazard during watchpoint register probe
Writing a value to a WatchLo* register creates an execution hazard, so if its value is then read before that hazard is cleared then said value may be invalid. The mips_probe_watch_registers function must therefore clear the execution hazard between setting the match bits in a WatchLo* register & reading the register back in order to check which are set. This fixes intermittent incorrect watchpoint register probing on some MIPS cores such as interAptiv & proAptiv. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Reviewed-by: James Hogan <james.hogan@imgtec.com> Acked-by: Steven J. Hill <Steven.Hill@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: http://patchwork.linux-mips.org/patch/5474/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/bcm63xx')
0 files changed, 0 insertions, 0 deletions