> From: Paul Durrant > Sent: Saturday, August 4, 2018 1:22 AM > > This patch introduces the boilerplate for a new hypercall to allow a > domain to control IOMMU mappings for its own pages. > Whilst there is duplication of code between the native and compat entry > points which appears ripe for some form of combination, I think it is > better to maintain the separation as-is because the compat entry point > will necessarily gain complexity in subsequent patches. > > NOTE: This hypercall is only implemented for x86 and is currently > restricted by XSM to dom0. Its scope can be expanded in future > if need be. > > Signed-off-by: Paul Durrant <paul.durr...@citrix.com> [...]
> diff --git a/xen/arch/x86/iommu_op.c b/xen/arch/x86/iommu_op.c > new file mode 100644 > index 0000000000..744c0fce27 > --- /dev/null > +++ b/xen/arch/x86/iommu_op.c > @@ -0,0 +1,184 @@ > +/************************************************************ > ****************** > + * x86/iommu_op.c > + * > + * Paravirtualised IOMMU functionality although only x86 is supported, logic in this file is vendor agnostic. Better move to a common place now... Thanks Kevin _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel