Skip to content

Commit

Permalink
Add book3s_64 Host MMU handling
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexander Graf authored and Benjamin Herrenschmidt committed Nov 5, 2009
1 parent 2f4cf5e commit 0d8dc68
Showing 1 changed file with 408 additions and 0 deletions.
Loading

0 comments on commit 0d8dc68

Please sign in to comment.