Skip to content
Commit 7048bb13 authored by Lars Povlsen's avatar Lars Povlsen Committed by Daniel Schwierzeck
Browse files

mips: vcoreiii: Fix cache coherency issues



This patch fixes an stability issue seen on some vcoreiii targets,
which was root caused to a cache inconsistency situation.

The inconsistency was caused by having kuseg pointing to NOR area but
used as a stack/gd/heap area during initialization, while only
relatively late remapping the RAM area into kuseg position.

The fix is to initialize the DDR right after the TLB setup, and then
remapping it into position before gd/stack/heap usage.

Reported-by: default avatarRamin Seyed-Moussavi <ramin.moussavi@yacoub.de>
Reviewed-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: default avatarHoratiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: default avatarLars Povlsen <lars.povlsen@microchip.com>
parent ea148789
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment