]> git.proxmox.com Git - qemu.git/commit - hw/ppc/e500.c
PPC: E500: Use MAS registers instead of internal TLB representation
authorAlexander Graf <agraf@suse.de>
Thu, 16 Jun 2011 16:45:43 +0000 (18:45 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 17 Jun 2011 00:58:34 +0000 (02:58 +0200)
commitd1e256fe47be3dd43f38a8ec50f860506f975baf
tree65ca8c18c1b31ec8e6fa33d502f85535e8984023
parent8018dc63aab936f1a5cff6e707289116ea97c423
PPC: E500: Use MAS registers instead of internal TLB representation

The natural format for e500 cores to do TLB manipulation with are the MAS
registers. Instead of converting them into some internal representation
and back again when the guest reads them, we can just keep the data
identical to the way the guest passed it to us.

The main advantage of this approach is that we're getting closer to being
able to share MMU data with KVM using shared memory, so that we don't need
to copy lots of MMU data back and forth all the time. For this to work
however, another patch is required that gets rid of the TLB union, as that
destroys our memory layout that needs to be identical with the kernel one.

Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppce500_mpc8544ds.c
target-ppc/cpu.h
target-ppc/helper.c
target-ppc/op_helper.c