|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v4 14/17] xen/arm: ITS: Add domain specific ITS initialization
On Fri, 2015-07-10 at 13:12 +0530, vijay.kilari@xxxxxxxxx wrote:
> +void vgic_its_init(void)
> +{
> + if ( gic_lpi_supported() )
> + its_lpi_init(gic_nr_id_bits());
Ah, here is some code which tries to only enable this stuff when it is
needed.
I think for the time being this also needs to be gated on dom0, which in
practice means is_hardware_domain(d).
When PCI passthrough lands then this will be changed to gate on
is_hardware_domain(d) || some_option instead.
> +}
> +
> /*
> * Local variables:
> * mode: C
> diff --git a/xen/arch/arm/vgic-v3.c b/xen/arch/arm/vgic-v3.c
> index 4e14439..79dbfc4 100644
> --- a/xen/arch/arm/vgic-v3.c
> +++ b/xen/arch/arm/vgic-v3.c
> @@ -1217,6 +1217,9 @@ static int vgic_v3_domain_init(struct domain *d)
>
> d->arch.vgic.ctlr = VGICD_CTLR_DEFAULT;
>
> + if ( gic_lpi_supported() )
> + vits_domain_init(d);
and here as well. I suspect there will be other places too.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |