Re: [PATCH 11/27] Add book3s_64 Host MMU handling

2009-11-02 Thread Alexander Graf
Am 02.11.2009 um 00:39 schrieb Michael Neuling : +static void invalidate_pte(struct hpte_cache *pte) +{ +dprintk_mmu("KVM: Flushing SPT %d: 0x%llx (0x%llx) -> 0x%llx\n", +i, pte->pte.eaddr, pte->pte.vpage, pte->host_va); + +ppc_md.hpte_invalidate(pte->slot, pte->host_va, +

Re: [PATCH 11/27] Add book3s_64 Host MMU handling

2009-11-01 Thread Michael Neuling
> +static void invalidate_pte(struct hpte_cache *pte) > +{ > + dprintk_mmu("KVM: Flushing SPT %d: 0x%llx (0x%llx) -> 0x%llx\n", > + i, pte->pte.eaddr, pte->pte.vpage, pte->host_va); > + > + ppc_md.hpte_invalidate(pte->slot, pte->host_va, > +MMU_P

[PATCH 11/27] Add book3s_64 Host MMU handling

2009-10-30 Thread Alexander Graf
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 t