]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: PPC: e500: Support large page mappings of PFNMAP vmas.
authorScott Wood <scottwood@freescale.com>
Tue, 14 Jun 2011 23:34:39 +0000 (18:34 -0500)
committerAvi Kivity <avi@redhat.com>
Tue, 12 Jul 2011 10:16:36 +0000 (13:16 +0300)
commit9973d54eeafcd1c3a2e89f0f59280c4c1e03e73b
tree80a68f063e34b88d217fb669227cd1e537c884d2
parent59c1f4e35c3db6c7ea5a04503a43bcbeb98977df
KVM: PPC: e500: Support large page mappings of PFNMAP vmas.

This allows large pages to be used on guest mappings backed by things like
/dev/mem, resulting in a significant speedup when guest memory
is mapped this way (it's useful for directly-assigned MMIO, too).

This is not a substitute for hugetlbfs integration, but is useful for
configurations where devices are directly assigned on chips without an
IOMMU -- in these cases, we need guest physical and true physical to
match, and be contiguous, so static reservation and mapping via /dev/mem
is the most straightforward way to set things up.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/e500_tlb.c