• Alexander Graf's avatar
    Add book3s_64 Host MMU handling · 0d8dc681
    Alexander Graf authored
    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: default avatarAlexander Graf <agraf@suse.de>
    Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
    0d8dc681
book3s_64_mmu_host.c 10.1 KB