|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 for 4.5] xen/arm: Add support for GICv3 for domU
Hi Ian, On 05/11/2014 10:24, Ian Campbell wrote:
Just saying temporary doesn't say anything about when this has been added and will be removed. "Xen 4.5" gives explicitly the time and show that we want to remove soon. + * hardware GIC. Only the value XEN_DOMCTL_CONFIG_GIC_DEFAULT + * is allowed. The DOMCTL will return the actual version of the + * GIC. + */ + if ( domctl->u.configuredomain.gic_version != XEN_DOMCTL_CONFIG_GIC_DEFAULT ) + return -EOPNOTSUPP; I consider that explicitly asking for a version of the GIC in Xen 4.5 is invalid. The user should only be able to use the default GIC. As the DOMCTL is not set in stone, the developer should not start to consider that XEN_DOMCTL_CONFIG_GIC_V{2,3} will be valid in the future. +#define GUEST_GICV3_GICR0_BASE 0x03020000ULL /* vCPU0 - vCPU15 */Don't we only support 8 cpus today? I don't mind reserving space for more, and I'd be pleasantly surprised if 16 actually worked ;-) I just copied used the code of Vijay. I suspect we could easily bump the number supported VCPUs to 16. But I didn't test it. 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 |