> -----Original Message----- > From: Xen-devel [mailto:xen-devel-boun...@lists.xenproject.org] On Behalf > Of Woods, Brian > Sent: 20 December 2018 19:46 > To: Paul Durrant <paul.durr...@citrix.com>; xen-devel@lists.xenproject.org > Cc: Andrew Cooper <andrew.coop...@citrix.com>; Wei Liu > <wei.l...@citrix.com>; Suthikulpanit, Suravee > <suravee.suthikulpa...@amd.com>; Roger Pau Monne <roger....@citrix.com> > Subject: Re: [Xen-devel] [PATCH v5 1/4] amd-iommu: add flush iommu_ops > > From: Paul Durrant <paul.durr...@citrix.com> > Sent: Monday, December 17, 2018 3:22 AM > To: xen-devel@lists.xenproject.org > Cc: Paul Durrant; Suthikulpanit, Suravee; Woods, Brian; Andrew Cooper; Wei > Liu; Roger Pau Monné > Subject: [PATCH v5 1/4] amd-iommu: add flush iommu_ops > > The iommu_ops structure contains two methods for flushing: 'iotlb_flush' > and > 'iotlb_flush_all'. This patch adds implementations of these for AMD > IOMMUs. > > The iotlb_flush method takes a base DFN and a (4k) page count, but the > flush needs to be done by page order (i.e. 0, 9 or 18). Because a flush > operation is fairly expensive to perform, the code calculates the minimum > order single flush that will cover the specified page range rather than > performing multiple flushes. > > Signed-off-by: Paul Durrant <paul.durr...@citrix.com> > Reviewed-by: Jan Beulich <jbeul...@suse.com> > > Acked-by: Brian Woods <brian.wo...@amd.com>
Thanks Brian, Paul > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xenproject.org > https://lists.xenproject.org/mailman/listinfo/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel