]> xenbits.xensource.com Git - xen.git/commit
amd iommu: dynamic page table depth adjustment.
authorWei Wang <wei.wang2@amd.com>
Wed, 9 Feb 2011 08:57:12 +0000 (08:57 +0000)
committerWei Wang <wei.wang2@amd.com>
Wed, 9 Feb 2011 08:57:12 +0000 (08:57 +0000)
commit76bb33a03ee333e57b91620132df7a61c31c5097
tree09891fad09592fdabf6a12e77d0856828c1411b5
parent45c717772e3bd02e2a188f4cf66bb8d521b92b71
amd iommu: dynamic page table depth adjustment.

IO Page table growth is triggered by amd_iommu_map_page and grows to
upper level. I have tested it well for different devices (nic and gfx)
and different guests (linux and Win7) with different guest memory
sizes (512M, 1G, 4G and above).

Signed-off-by: Wei Wang <wei.wang2@amd.com>
xen/drivers/passthrough/amd/iommu_map.c
xen/drivers/passthrough/amd/pci_amd_iommu.c
xen/include/asm-x86/hvm/svm/amd-iommu-defs.h