On 18/01/2019 16:03, Paul Durrant wrote:
> diff --git a/xen/include/xen/iommu.h b/xen/include/xen/iommu.h
> index cdc8021cbd..82fb86c7ff 100644
> --- a/xen/include/xen/iommu.h
> +++ b/xen/include/xen/iommu.h
> @@ -111,17 +111,17 @@ enum
>  #define IOMMU_FLUSHF_modified (1u << _IOMMU_FLUSHF_modified)
>  
>  int __must_check iommu_map(struct domain *d, dfn_t dfn, mfn_t mfn,
> -                           unsigned int page_order, unsigned int flags,
> +                           unsigned int page_count, unsigned int flags,
>                             unsigned int *flush_flags);

I'd take the opportunity to make page_count an unsigned long, as we can
now sensibly issue a single call for an entire BAR, and some graphics
card BARs are getting to be a ludicrous size.

Otherwise, LGTM and can also be fixed on commit.

~Andrew

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to