]> xenbits.xensource.com Git - people/royger/xen.git/commit
amd-iommu: disable iommu_hap_pt_share with AMD IOMMUs
authorRoger Pau Monné <roger.pau@citrix.com>
Mon, 11 Aug 2014 12:57:09 +0000 (14:57 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 11 Aug 2014 12:57:09 +0000 (14:57 +0200)
commitc2ba3db31ef2d9f1e40e7b6c16cf3be3d671d555
treea88a233ecea3c845daa1c861a070e2285af05256
parent3af450fd2d9403f208d3ac6459716f027b8597ad
amd-iommu: disable iommu_hap_pt_share with AMD IOMMUs

According to the comment in p2m.h, AMD IOMMUs don't work correctly
with page types different than p2m_ram_rw when the p2m is shared
between HAP and IOMMU, so disable this sharing when using AMD IOMMUs.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
xen/drivers/passthrough/amd/iommu_init.c