From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH 07/10] xen/arm: Force domains to use normal GICv2 driver on Hip04 platform Date: Mon, 03 Nov 2014 14:16:42 +0000 Message-ID: <54578E4A.4020907@linaro.org> References: <1415009522-6344-1-git-send-email-frediano.ziglio@huawei.com> <1415009522-6344-8-git-send-email-frediano.ziglio@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1415009522-6344-8-git-send-email-frediano.ziglio@huawei.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Frediano Ziglio , Ian Campbell , Stefano Stabellini , Tim Deegan Cc: zoltan.kiss@huawei.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Hi Frediano, FYI, this is only force DOM0 to use the normal GICv2 drivers. Do you have any plan to support hi-silicon vGIC in Xen? This would allow guest running with more than 8 cores. Regards, On 11/03/2014 10:11 AM, Frediano Ziglio wrote: > Until vGIC support is not implemented and tested, this will prevent > guest kernels to use their Hip04 driver, or crash when they don't > have any. > > Signed-off-by: Frediano Ziglio > --- > xen/arch/arm/gic-v2.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/xen/arch/arm/gic-v2.c b/xen/arch/arm/gic-v2.c > index e7bf331..d92e2c0 100644 > --- a/xen/arch/arm/gic-v2.c > +++ b/xen/arch/arm/gic-v2.c > @@ -641,6 +641,12 @@ static int gicv2_make_dt_node(const struct domain *d, > return -FDT_ERR_XEN(ENOENT); > } > > + if ( platform_has_quirk(PLATFORM_QUIRK_GICV2_16_CPU) ) > + { > + compatible = DT_COMPAT_GIC_CORTEX_A15; > + len = strlen((char*) compatible) + 1; > + } > + > res = fdt_begin_node(fdt, "interrupt-controller"); > if ( res ) > return res; > -- Julien Grall