>>> On 21.09.18 at 17:20, <roger....@citrix.com> wrote: > And just rely on arch_iommu_hwdom_init to setup the correct inclusive > mappings as it's done for Intel. > > AMD has code in amd_iommu_hwdom_init to setup inclusive mappings up to > max_pdx, remove this since it's now a duplication of > arch_iommu_hwdom_init. Note that AMD mapped every page with a valid > mfn up to max_pdx, arch_iommu_hwdom_init will only do so for memory > below 4GB, so this is a functional change for AMD. > > Move the default setting of iommu_hwdom_{inclusive/reserved} to > arch_iommu_hwdom_init since the defaults are now the same for both > Intel and AMD. > > Reported-by: Paul Durrant <paul.durr...@citrix.com> > Signed-off-by: Roger Pau Monné <roger....@citrix.com>
Reviewed-by: Jan Beulich <jbeul...@suse.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel