]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
Invalidate INIT_RAM TLB mappings
authorAndy Fleming <afleming@freescale.com>
Wed, 27 Feb 2008 20:29:58 +0000 (14:29 -0600)
committerAndrew Fleming-AFLEMING <afleming@freescale.com>
Wed, 27 Feb 2008 22:28:48 +0000 (16:28 -0600)
commit21fae8b2b4e4e6e648796e07e20ab13e9cb18923
tree280445d2d3f54d770a75c717247f6d014afb7fd4
parent347b7938d3e561eb215aa386c37fb5acb5a383c6
Invalidate INIT_RAM TLB mappings

Commit 0db37dc...  (and some others) changed the INIT_RAM TLB
mappings to be unguarded.  This collided with an existing "bug"
where the mappings for the INIT_RAM were being kept around.
This meant that speculative loads to those addresses were
succeeding in the TLB, and going out to the bus, where they
were causing an exception (there's nothing at that address). The
Flash code was coincidentally causing such a speculative load.
Rather than go back to mapping the INIT RAM as guarded, we fix
it so that the entries for the INIT_RAM are invalidated.  Thus
the speculative loads will fail in the TLB, and have no effect.

Signed-off-by: Andy Fleming <afleming@freescale.com>
cpu/mpc85xx/start.S