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

Re: [Xen-devel] [RFC PATCH 7/9] iommu/arm: Add alloc_page_table platform callback



On Wed, Mar 22, 2017 at 5:49 PM, Jan Beulich <JBeulich@xxxxxxxx> wrote:
>>>> On 15.03.17 at 21:05, <olekstysh@xxxxxxxxx> wrote:
>> --- a/xen/include/xen/iommu.h
>> +++ b/xen/include/xen/iommu.h
>> @@ -181,6 +181,7 @@ struct iommu_ops {
>>      int __must_check (*unmap_page)(struct domain *d, unsigned long gfn);
>>      int __must_check (*unmap_pages)(struct domain *d, unsigned long gfn,
>>                                      unsigned long page_count);
>> +    int (*alloc_page_table)(struct domain *d);
>>      void (*free_page_table)(struct page_info *);
>>  #ifdef CONFIG_X86
>>      void (*update_ire_from_apic)(unsigned int apic, unsigned int reg, 
>> unsigned int value);
>
> As you can see in patch context here, we have x86-specific callbacks.
> If the new one is used on ARM only, it should be made ARM-only.

Agree. Will do.

-- 
Regards,

Oleksandr Tyshchenko

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

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