diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2014-11-17 09:31:07 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-11-19 18:22:08 +0100 |
commit | 6a8dff6ab16c903b0d8ef5fbf21543f39bf5d675 (patch) | |
tree | 3faa8cc35a0550e326af511bce32ae69013b4830 /arch/mips/lib | |
parent | 58563817cfed0432e9a54476d5fc6c3aeba475e4 (diff) | |
download | linux-6a8dff6ab16c903b0d8ef5fbf21543f39bf5d675.tar.bz2 |
MIPS: tlb-r4k: Add missing HTW stop/start sequences
HTW needs to stop and start again whenever the EntryHI register
changes otherwise an inflight HTW operation might use the new
EntryHI register for updating an old entry and that could lead
to crashes or even a machine check exception. We fix this by
ensuring the HTW has stop whenever the EntryHI register is about
to change
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: <stable@vger.kernel.org> # v3.17+
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8511/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/lib')
0 files changed, 0 insertions, 0 deletions