[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH for-4.12] iommu: fix order of arguments in iommu_map call at iommu_hwdom_init


  • To: 'Jan Beulich' <JBeulich@xxxxxxxx>, Roger Pau Monne <roger.pau@xxxxxxxxxx>
  • From: Paul Durrant <Paul.Durrant@xxxxxxxxxx>
  • Date: Thu, 24 Jan 2019 09:43:00 +0000
  • Accept-language: en-GB, en-US
  • Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 24 Jan 2019 09:43:06 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHUs0am3ngQgb9wukKJ9TTaFrmWFaW+GoiAgAARByA=
  • Thread-topic: [PATCH for-4.12] iommu: fix order of arguments in iommu_map call at iommu_hwdom_init

> -----Original Message-----
> From: Jan Beulich [mailto:JBeulich@xxxxxxxx]
> Sent: 24 January 2019 09:41
> To: Roger Pau Monne <roger.pau@xxxxxxxxxx>
> Cc: Paul Durrant <Paul.Durrant@xxxxxxxxxx>; xen-devel <xen-
> devel@xxxxxxxxxxxxxxxxxxxx>
> Subject: Re: [PATCH for-4.12] iommu: fix order of arguments in iommu_map
> call at iommu_hwdom_init
> 
> >>> On 23.01.19 at 19:08, <roger.pau@xxxxxxxxxx> wrote:
> > The order of the page_order and the flags parameters are inverted in
> > the call to iommu_map made in iommu_hwdom_init.
> >
> > Fixes: e8afe1124cc1 ("iommu: elide flushing for higher order map/unmap
> operations")
> > Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
> 
> Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
> 
> If you don't mind I'd convert to PAGE_ORDER_4K while committing.

No, I don't think that's correct is it? This code is common, not x86 specific 
and so 4K may not be the base order.

  Paul

> 
> Jan

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.