]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: e500: refactor core-specific TLB code
authorScott Wood <scottwood@freescale.com>
Tue, 20 Dec 2011 15:34:34 +0000 (15:34 +0000)
committerAvi Kivity <avi@redhat.com>
Sun, 8 Apr 2012 09:51:12 +0000 (12:51 +0300)
commitaee924edde197ffc8e68a9c7b43e6ed8db5efd82
tree01ba127004f254e42b00760d6a540ba0db464f5b
parentbdfa68d3871c0d9ee4e70fbdb6c77189ff8984fa
KVM: PPC: e500: refactor core-specific TLB code

The PID handling is e500v1/v2-specific, and is moved to e500.c.

The MMU sregs code and kvmppc_core_vcpu_translate will be shared with
e500mc, and is moved from e500.c to e500_tlb.c.

Partially based on patches from Liu Yu <yu.liu@freescale.com>.

Signed-off-by: Scott Wood <scottwood@freescale.com>
[agraf: fix bisectability]
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/include/asm/kvm_host.h
arch/powerpc/kvm/e500.c
arch/powerpc/kvm/e500.h
arch/powerpc/kvm/e500_emulate.c
arch/powerpc/kvm/e500_tlb.c