Re: [Xen-devel] [PATCH 6/7] x86: add iommu_op to query reserved ranges

2018-03-19 Thread Jan Beulich
>>> On 19.03.18 at 16:36, wrote: >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: 19 March 2018 15:14 >> >> >>> On 12.02.18 at 11:47, wrote: >> > --- a/xen/arch/x86/iommu_op.c >> > +++ b/xen/arch/x86/iommu_op.c >> > @@ -22,6 +22,58 @@ >>

Re: [Xen-devel] [PATCH 6/7] x86: add iommu_op to query reserved ranges

2018-03-19 Thread Jan Beulich
>>> On 19.03.18 at 16:13, wrote: >> From: Jan Beulich [mailto:jbeul...@suse.com] >> Sent: 19 March 2018 14:10 >> >> >>> On 12.02.18 at 11:47, wrote: >> > +for ( j = 0; \ >> > + j < min_t(unsigned int,

Re: [Xen-devel] [PATCH 6/7] x86: add iommu_op to query reserved ranges

2018-03-19 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 19 March 2018 15:14 > To: Paul Durrant > Cc: Andrew Cooper ; Wei Liu > ; George Dunlap ; Ian > Jackson

Re: [Xen-devel] [PATCH 6/7] x86: add iommu_op to query reserved ranges

2018-03-19 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 19 March 2018 14:10 > To: Paul Durrant > Cc: Andrew Cooper ; Wei Liu > ; George Dunlap ; Ian > Jackson

Re: [Xen-devel] [PATCH 6/7] x86: add iommu_op to query reserved ranges

2018-03-19 Thread Jan Beulich
>>> On 12.02.18 at 11:47, wrote: > --- a/xen/arch/x86/iommu_op.c > +++ b/xen/arch/x86/iommu_op.c > @@ -22,6 +22,58 @@ > #include > #include > #include > +#include > + > +struct get_rdm_ctxt { > +unsigned int max_entries; > +unsigned int nr_entries; > +

Re: [Xen-devel] [PATCH 6/7] x86: add iommu_op to query reserved ranges

2018-03-19 Thread Jan Beulich
>>> On 12.02.18 at 11:47, wrote: > --- a/xen/arch/x86/iommu_op.c > +++ b/xen/arch/x86/iommu_op.c > @@ -22,6 +22,58 @@ > #include > #include > #include > +#include > + > +struct get_rdm_ctxt { > +unsigned int max_entries; > +unsigned int nr_entries; > +

Re: [Xen-devel] [PATCH 6/7] x86: add iommu_op to query reserved ranges

2018-02-22 Thread Tian, Kevin
itrix.com>; Tim (Xen.org) <t...@xen.org>; Jan Beulich > > <jbeul...@suse.com> > > Subject: RE: [Xen-devel] [PATCH 6/7] x86: add iommu_op to query > reserved > > ranges > > > > > From: Paul Durrant > > > Sent: Monday, February 12, 2

Re: [Xen-devel] [PATCH 6/7] x86: add iommu_op to query reserved ranges

2018-02-13 Thread Paul Durrant
x.com>; George Dunlap <george.dun...@citrix.com>; > Andrew Cooper <andrew.coop...@citrix.com>; Ian Jackson > <ian.jack...@citrix.com>; Tim (Xen.org) <t...@xen.org>; Jan Beulich > <jbeul...@suse.com> > Subject: RE: [Xen-devel] [PATCH 6/7] x86: add iommu_op t

Re: [Xen-devel] [PATCH 6/7] x86: add iommu_op to query reserved ranges

2018-02-12 Thread Tian, Kevin
> From: Paul Durrant > Sent: Monday, February 12, 2018 6:47 PM > > Certain areas of memory, such as RMRRs, must be mapped 1:1 > (i.e. BFN == MFN) through the IOMMU. > > This patch adds an iommu_op to allow these ranges to be queried. > > Signed-off-by: Paul Durrant >