[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v7 14/28] xen/arm: ITS: Initialize physical ITS and export lpi support
On Mon, Sep 21, 2015 at 8:50 PM, Julien Grall <julien.grall@xxxxxxxxxx> wrote: > Hi Vijay, > > On 18/09/15 14:09, vijay.kilari@xxxxxxxxx wrote: >> From: Vijaya Kumar K <Vijaya.Kumar@xxxxxxxxxxxxxxxxxx> >> >> Initialize physical ITS if HW supports LPIs. >> >> Signed-off-by: Vijaya Kumar K <Vijaya.Kumar@xxxxxxxxxxxxxxxxxx> >> --- >> v7: - Export lpi support information to vgic-v3 driver from gic-v3. >> - Drop gic_lpi_supported() helper function >> - Add boot param to enable or disable physical ITS >> v6: - Updated lpi_supported gic_info member for GICv2 and GICv3 >> - Introduced helper gic_lpi_supported() and exported >> v5: - Made check of its dt node availability before >> setting lpi_supported flag >> --- >> xen/arch/arm/gic-v3.c | 38 >> ++++++++++++++++++++++++++++++++++--- >> xen/arch/arm/vgic-v3.c | 5 ++++- >> xen/include/asm-arm/gic_v3_defs.h | 4 +++- >> xen/include/asm-arm/vgic.h | 2 +- >> 4 files changed, 43 insertions(+), 6 deletions(-) >> >> diff --git a/xen/arch/arm/gic-v3.c b/xen/arch/arm/gic-v3.c >> index c4c77a7..ac8a0ea 100644 >> --- a/xen/arch/arm/gic-v3.c >> +++ b/xen/arch/arm/gic-v3.c >> @@ -55,6 +55,18 @@ static struct { >> } gicv3; >> >> static struct gic_info gicv3_info; >> +/* Enable/Disable ITS support */ >> +static bool_t its_enable = 1; >> +/* Availability of ITS support after successful ITS initialization */ >> +static bool_t its_enabled = 0; >> + >> +static void __init parse_its_param(char *s) >> +{ >> + if ( !parse_bool(s) ) >> + its_enable = 0; >> +} >> + >> +custom_param("its", parse_its_param); > > Why do you need a command line option to enable/disable the physical ITS? I have added this to remove ITS support?. Did I misunderstood it. May be I have to avoid generating its dt node to disable its for dom0? _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |