Re: [Xen-devel] [PATCH v7 1/6] iommu: introduce the concept of DFN...

2018-09-13 Thread Paul Durrant
> -Original Message- > From: Roger Pau Monne > Sent: 12 September 2018 13:15 > To: Paul Durrant > Cc: xen-devel@lists.xenproject.org; Kevin Tian ; > Stefano Stabellini ; Wei Liu ; > Suravee Suthikulpanit ; Julien Grall > ; Jan Beulich > Subject: Re: [Xen-

Re: [Xen-devel] [PATCH v7 1/6] iommu: introduce the concept of DFN...

2018-09-12 Thread Roger Pau Monné
On Wed, Sep 12, 2018 at 12:30:23PM +0100, Paul Durrant wrote: > diff --git a/xen/include/xen/iommu.h b/xen/include/xen/iommu.h > index e35d941f3c..19d5d55d79 100644 > --- a/xen/include/xen/iommu.h > +++ b/xen/include/xen/iommu.h > @@ -23,11 +23,37 @@ > #include > #include > #include > +#inclu

Re: [Xen-devel] [PATCH v7 1/6] iommu: introduce the concept of DFN...

2018-09-12 Thread Paul Durrant
> -Original Message- > From: Andrew Cooper > Sent: 12 September 2018 12:49 > To: Paul Durrant ; xen-devel@lists.xenproject.org > Cc: Kevin Tian ; Stefano Stabellini > ; Wei Liu ; Suravee > Suthikulpanit ; Julien Grall > ; Jan Beulich > Subject: Re: [Xen-

Re: [Xen-devel] [PATCH v7 1/6] iommu: introduce the concept of DFN...

2018-09-12 Thread Andrew Cooper
On 12/09/18 12:30, Paul Durrant wrote: > diff --git a/xen/include/xen/iommu.h b/xen/include/xen/iommu.h > index e35d941f3c..19d5d55d79 100644 > --- a/xen/include/xen/iommu.h > +++ b/xen/include/xen/iommu.h > @@ -23,11 +23,37 @@ > #include > #include > #include > +#include > #include > #in

[Xen-devel] [PATCH v7 1/6] iommu: introduce the concept of DFN...

2018-09-12 Thread Paul Durrant
...meaning 'device DMA frame number' i.e. a frame number mapped in the IOMMU (rather than the MMU) and hence used for DMA address translation. This patch is a largely cosmetic change that substitutes the terms 'gfn' and 'gaddr' for 'dfn' and 'daddr' in all the places where the frame number or addr