[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



>>> On 24.01.19 at 10:43, <Paul.Durrant@xxxxxxxxxx> wrote:
>>  -----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.

Oh, indeed, right you are.

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®.