|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH for Xen 4.5] xen/arm: Add support for GICv3 for domU
Hi Jan, On 31/10/2014 09:02, Jan Beulich wrote: + domctl->u.configuredomain.gic_version = gic_version; + + /* TODO: Make the copy generic for all ARCH domctl */ + if ( __copy_to_guest(u_domctl, domctl, 1) )With just a single field needing copying, __copy_field_to_guest() would be quite a bit more efficient. The configuredomain structure contains only a field and I plan to rework this code for Xen 4.6 to make this copy generic within the function (see the TODO). Anyway, for this use case using __copy_field_to_guest is not more efficient for ARM.
It's a bit like xen_domctl_setvcpuextstate which is defined only for x86 while the name seem pretty common. I think we have to stay consistent in this header and not defining DOMCTL which is not used for a specific architecture. Regards, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |