]> Pileus Git - ~andy/linux/commit
Add book3s_64 Host MMU handling
authorAlexander Graf <agraf@suse.de>
Fri, 30 Oct 2009 05:47:11 +0000 (05:47 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 5 Nov 2009 05:49:54 +0000 (16:49 +1100)
commit0d8dc681c84aa88ddc3d2fe5b6029f8eb3d11ecf
tree7d297550ca76ffe8bd19a0279a742e2640b9677f
parent2f4cf5e42d13974763276e918618f76a4188e391
Add book3s_64 Host MMU handling

We designed the Book3S port of KVM as modular as possible. Most
of the code could be easily used on a Book3S_32 host as well.

The main difference between 32 and 64 bit cores is the MMU. To keep
things well separated, we treat the book3s_64 MMU as one possible compile
option.

This patch adds all the MMU helpers the rest of the code needs in
order to modify the host's MMU, like setting PTEs and segments.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kvm/book3s_64_mmu_host.c [new file with mode: 0644]