Re: [Xen-devel] [PATCH 2/7] iommu: make use of type-safe BFN and MFN in exported functions

2018-07-10 Thread Jan Beulich
>>> On 10.07.18 at 16:58, wrote: > On Tue, Jul 10, 2018 at 3:34 PM, Jan Beulich wrote: > On 10.07.18 at 16:29, wrote: >>> On Thu, Mar 15, 2018 at 3:44 PM, Jan Beulich wrote: > --- a/xen/arch/x86/mm.c > +++ b/xen/arch/x86/mm.c > @@ -2676,13 +2676,12 @@ static int

Re: [Xen-devel] [PATCH 2/7] iommu: make use of type-safe BFN and MFN in exported functions

2018-07-10 Thread George Dunlap
On Tue, Jul 10, 2018 at 3:34 PM, Jan Beulich wrote: On 10.07.18 at 16:29, wrote: >> On Thu, Mar 15, 2018 at 3:44 PM, Jan Beulich wrote: --- a/xen/arch/x86/mm.c +++ b/xen/arch/x86/mm.c @@ -2676,13 +2676,12 @@ static int _get_page_type(struct page_info *page, >> unsigned long

Re: [Xen-devel] [PATCH 2/7] iommu: make use of type-safe BFN and MFN in exported functions

2018-07-10 Thread Andrew Cooper
On 10/07/18 15:34, Jan Beulich wrote: On 10.07.18 at 16:29, wrote: >> On Thu, Mar 15, 2018 at 3:44 PM, Jan Beulich wrote: --- a/xen/arch/x86/mm.c +++ b/xen/arch/x86/mm.c @@ -2676,13 +2676,12 @@ static int _get_page_type(struct page_info *page, >> unsigned long type,

Re: [Xen-devel] [PATCH 2/7] iommu: make use of type-safe BFN and MFN in exported functions

2018-07-10 Thread Jan Beulich
>>> On 10.07.18 at 16:29, wrote: > On Thu, Mar 15, 2018 at 3:44 PM, Jan Beulich wrote: >>> --- a/xen/arch/x86/mm.c >>> +++ b/xen/arch/x86/mm.c >>> @@ -2676,13 +2676,12 @@ static int _get_page_type(struct page_info *page, > unsigned long type, >>> struct domain *d =

Re: [Xen-devel] [PATCH 2/7] iommu: make use of type-safe BFN and MFN in exported functions

2018-07-10 Thread George Dunlap
On Thu, Mar 15, 2018 at 3:44 PM, Jan Beulich wrote: >> --- a/xen/arch/x86/mm.c >> +++ b/xen/arch/x86/mm.c >> @@ -2676,13 +2676,12 @@ static int _get_page_type(struct page_info *page, >> unsigned long type, >> struct domain *d = page_get_owner(page); >> if ( d && is_pv_domain(d)

Re: [Xen-devel] [PATCH 2/7] iommu: make use of type-safe BFN and MFN in exported functions

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

Re: [Xen-devel] [PATCH 2/7] iommu: make use of type-safe BFN and MFN in exported functions

2018-03-15 Thread Jan Beulich
>>> On 12.02.18 at 11:47, wrote: > This patch modifies the declaration of the entry points to the IOMMU > sub-system to use bfn_t and mfn_t in place of unsigned long. A subsequent > patch will similarly modify the methods in the iommu_ops structure. > > NOTE: Since (with

[Xen-devel] [PATCH 2/7] iommu: make use of type-safe BFN and MFN in exported functions

2018-02-12 Thread Paul Durrant
This patch modifies the declaration of the entry points to the IOMMU sub-system to use bfn_t and mfn_t in place of unsigned long. A subsequent patch will similarly modify the methods in the iommu_ops structure. NOTE: Since (with this patch applied) bfn_t is now in use, the patch also