armv7: invalidate TLB entries as they are added/modified
commit3f39cd2920ccc3286cda152f7abc08590ae49f66
authorDavid Hendricks <dhendrix@chromium.org>
Tue, 30 Apr 2013 23:01:50 +0000 (30 16:01 -0700)
committerDavid Hendricks <dhendrix@chromium.org>
Wed, 1 May 2013 21:57:16 +0000 (1 23:57 +0200)
tree00b7f1bd9271b02a4bde11b62d9ba8d4476825f1
parent5c2025c40f747c383e6106799f06c4a92cd07201
armv7: invalidate TLB entries as they are added/modified

The old approach was to invalidate the entire TLB every time we set up
a table entry. This worked because we didn't turn the MMU on until
after we had set everything up. This patch uses the TLBIMVAA wrapper
to invalidate each entry as it's added/modified.

Change-Id: I27654a543a2015574d910e15d48b3d3845fdb6d1
Signed-off-by: David Hendricks <dhendrix@chromium.org>
Reviewed-on: http://review.coreboot.org/3166
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Tested-by: build bot (Jenkins)
src/arch/armv7/lib/mmu.c