Paul Burton 67acd8d5c6 MIPS: clear execution hazard after changing FTLB enable
On current P-series cores from Imagination the FTLB can be enabled or
disabled via a bit in the Config6 register, and an execution hazard is
created by changing the value of bit. The ftlb_disable function already
cleared that hazard but that does no good for other callers. Clear the
hazard in the set_ftlb_enable function that creates it, and only for the
cores where it applies.

This has the effect of reverting c982c6d6c48b ("MIPS: cpu-probe: Remove
cp0 hazard barrier when enabling the FTLB") which was incorrect.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Fixes: c982c6d6c48b ("MIPS: cpu-probe: Remove cp0 hazard barrier when enabling the FTLB")
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14023/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2016-09-29 18:59:49 +02:00
..
2016-02-19 09:51:43 +01:00
2016-08-03 08:16:30 +02:00
2013-11-26 12:12:27 +01:00
2016-04-03 12:32:09 +02:00
2016-09-29 18:59:49 +02:00
2016-08-19 17:22:26 +02:00
2016-05-28 12:35:11 +02:00
2016-05-28 12:35:09 +02:00
2016-05-28 12:35:09 +02:00
2015-11-11 08:36:36 +01:00