]> xenbits.xensource.com Git - qemu-xen.git/commit
target/openrisc: Reorg tlb lookup
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 23 May 2018 06:14:02 +0000 (23:14 -0700)
committerStafford Horne <shorne@gmail.com>
Tue, 3 Jul 2018 13:40:33 +0000 (22:40 +0900)
commitf0655423ca72797fc12763c6a46b69d3eae90a1c
treeec0691f3c34d7d002fc05b2ae881f58377dff47e
parent1cc9e5d896695091eeb126f5c578b02ddd0fc0e4
target/openrisc: Reorg tlb lookup

While openrisc has a split i/d tlb, qemu does not.  Perform a
lookup on both i & d tlbs in parallel and put the composite
rights into qemu's tlb.  This avoids ping-ponging the qemu tlb
between EXEC and READ.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Stafford Horne <shorne@gmail.com>
target/openrisc/cpu.h
target/openrisc/mmu.c