Re: [Xen-devel] [PATCH v6 15/22] arm/acpi: Permit access all Xen unused SPIs for Dom0

2016-03-25 Thread Shannon Zhao
On 2016/3/24 23:37, Julien Grall wrote: > Hi Shannon, > > On 24/03/16 15:01, Shannon Zhao wrote: >> On 2016年03月23日 02:18, Julien Grall wrote: >>> + * Dom0 configures the interrupt, set the interrupt type and route it to + * Dom0. + */ +for( i = NR_LOCAL_I

Re: [Xen-devel] [PATCH v6 15/22] arm/acpi: Permit access all Xen unused SPIs for Dom0

2016-03-24 Thread Julien Grall
Hi Shannon, On 24/03/16 15:01, Shannon Zhao wrote: On 2016年03月23日 02:18, Julien Grall wrote: + * Dom0 configures the interrupt, set the interrupt type and route it to + * Dom0. + */ +for( i = NR_LOCAL_IRQS; i < vgic_num_irqs(d); i++ ) +{ +desc = irq_to_desc(i); +

Re: [Xen-devel] [PATCH v6 15/22] arm/acpi: Permit access all Xen unused SPIs for Dom0

2016-03-24 Thread Shannon Zhao
On 2016年03月23日 02:18, Julien Grall wrote: > >> + * Dom0 configures the interrupt, set the interrupt type and >> route it to >> + * Dom0. >> + */ >> +for( i = NR_LOCAL_IRQS; i < vgic_num_irqs(d); i++ ) >> +{ >> +desc = irq_to_desc(i); >> +if( desc->action != NULL

Re: [Xen-devel] [PATCH v6 15/22] arm/acpi: Permit access all Xen unused SPIs for Dom0

2016-03-22 Thread Julien Grall
Hi Shannon, On 17/03/16 09:41, Shannon Zhao wrote: From: Shannon Zhao Permit access all Xen unused SPIs for Dom0 except the interrupts that Xen uses. You say exactly the same things with all "Xen unused SPIs for Dom0" and "except the interrupts that Xen uses". I would instead say: "Allow

[Xen-devel] [PATCH v6 15/22] arm/acpi: Permit access all Xen unused SPIs for Dom0

2016-03-19 Thread Shannon Zhao
From: Shannon Zhao Permit access all Xen unused SPIs for Dom0 except the interrupts that Xen uses. Then when Dom0 configures the interrupt, it could set the interrupt type and route it to Dom0. Signed-off-by: Shannon Zhao Reviewed-by: Stefano Stabellini --- xen/arch/arm/domain_build.c | 31 ++