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 @@ >> > #include >> > #include >> > #include >> >

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, (_d_)->nr_entries, \ >> > +

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 ; Stefano Stabellini > ; xen-devel@lists.xenproject.org; Konrad Rzeszutek > Wilk ; Tim (Xen.org) > Subject: Re

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 ; Stefano Stabellini > ; xen-devel@lists.xenproject.org; Konrad Rzeszutek > Wilk ; Tim (Xen.org) > Subject: Re

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; > +XEN_GUEST_HANDLE(xen_iommu_

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; > +XEN_GUEST_HANDLE(xen_iommu_

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

2018-02-23 Thread Jan Beulich
>>> On 23.02.18 at 06:23, wrote: >> From: Paul Durrant [mailto:paul.durr...@citrix.com] >> Sent: Tuesday, February 13, 2018 5:25 PM >> > From: Tian, Kevin [mailto:kevin.t...@intel.com] >> > Sent: 13 February 2018 06:52 >> > > From: Paul Durrant >> > > Sent: Monday, February 12, 2018 6:47 PM >> >

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

2018-02-22 Thread Tian, Kevin
lists.xenproject.org > > Cc: Stefano Stabellini ; Wei Liu > > ; George Dunlap ; > > Andrew Cooper ; Ian Jackson > > ; Tim (Xen.org) ; Jan Beulich > > > > Subject: RE: [Xen-devel] [PATCH 6/7] x86: add iommu_op to query > reserved > > ranges > > > > &g

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

2018-02-13 Thread Paul Durrant
Beulich > > Subject: RE: [Xen-devel] [PATCH 6/7] x86: add iommu_op to query reserved > ranges > > > 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) thr

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 > --- > Cc: Jan Beulich > Cc

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

2018-02-12 Thread Paul Durrant
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 --- Cc: Jan Beulich Cc: Andrew Cooper Cc: George Dunlap Cc: Ian Jackson Cc: Konrad Rzeszutek Wilk Cc: