diff options
author | Lars Povlsen <lars.povlsen@microchip.com> | 2020-02-06 10:45:40 +0100 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2020-04-09 18:55:59 +0200 |
commit | 7048bb13b2d6309ef8386fca665247d3afa36ab0 (patch) | |
tree | 236eb7433c2c06d3469b0bce455f1e569ef3095f /drivers/w1-eeprom | |
parent | ea148789318c8152acb0a3974d4a8342dbd6b901 (diff) |
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: Ramin Seyed-Moussavi <ramin.moussavi@yacoub.de>
Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: Lars Povlsen <lars.povlsen@microchip.com>
Diffstat (limited to 'drivers/w1-eeprom')
0 files changed, 0 insertions, 0 deletions