Re: [Xen-devel] [PATCH v2 3/4] iommu: elide flushing for higher order map/unmap operations

2018-12-04 Thread Jan Beulich
>>> On 04.12.18 at 17:53, wrote: >> From: Xen-devel [mailto:xen-devel-boun...@lists.xenproject.org] On Behalf >> Of Jan Beulich >> Sent: 04 December 2018 16:02 >> >> >>> On 04.12.18 at 16:36, wrote: >> >> From: Jan Beulich [mailto:jbeul...@suse.com] >> >> Sent: 04 December 2018 15:17 >> >> >>

Re: [Xen-devel] [PATCH v2 3/4] iommu: elide flushing for higher order map/unmap operations

2018-12-04 Thread Paul Durrant
m (Xen.org) ; George Dunlap ; > Julien Grall ; Suravee Suthikulpanit > ; xen-devel de...@lists.xenproject.org>; Ian Jackson ; Brian > Woods ; Roger Pau Monne > Subject: Re: [Xen-devel] [PATCH v2 3/4] iommu: elide flushing for higher > order map/unmap operations > > >&

Re: [Xen-devel] [PATCH v2 3/4] iommu: elide flushing for higher order map/unmap operations

2018-12-04 Thread Jan Beulich
>>> On 04.12.18 at 16:36, wrote: >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: 04 December 2018 15:17 >> >> >>> On 03.12.18 at 18:40, wrote: >> > --- a/xen/arch/arm/p2m.c >> > +++ b/xen/arch/arm/p2m.c >> > @@ -971,8 +971,17 @@ static int __p2m_set_entry(struct p2m_domain *p2m, >> >

Re: [Xen-devel] [PATCH v2 3/4] iommu: elide flushing for higher order map/unmap operations

2018-12-04 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 04 December 2018 15:17 > To: Paul Durrant > Cc: Brian Woods ; Suravee Suthikulpanit > ; Julien Grall ; > Andrew Cooper ; Roger Pau Monne > ; Wei Liu ; George Dunlap > ; Ian Jackson ; Kevin > Tian ; Stefano

Re: [Xen-devel] [PATCH v2 3/4] iommu: elide flushing for higher order map/unmap operations

2018-12-04 Thread Jan Beulich
>>> On 03.12.18 at 18:40, wrote: > This patch removes any implicit flushing that occurs in the implementation > of map and unmap operations and adds new iommu_map/unmap() wrapper > functions. To maintain sematics of the iommu_legacy_map/unmap() wrapper > functions, these are modified to call the

[Xen-devel] [PATCH v2 3/4] iommu: elide flushing for higher order map/unmap operations

2018-12-03 Thread Paul Durrant
This patch removes any implicit flushing that occurs in the implementation of map and unmap operations and adds new iommu_map/unmap() wrapper functions. To maintain sematics of the iommu_legacy_map/unmap() wrapper functions, these are modified to call the new wrapper functions and then perform an