From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751569AbbDLK6L (ORCPT ); Sun, 12 Apr 2015 06:58:11 -0400 Received: from inca-roads.misterjones.org ([213.251.177.50]:34896 "EHLO inca-roads.misterjones.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751509AbbDLK6H (ORCPT ); Sun, 12 Apr 2015 06:58:07 -0400 To: Brent Wang Subject: Re: [PATCH 3/3] arm64: dts: Add dts files for Hisilicon Hi6220 SoC X-PHP-Originating-Script: 0:main.inc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 12 Apr 2015 11:57:35 +0100 From: Marc Zyngier Cc: Mark Rutland , , , Catalin Marinas , , Will Deacon , , , , , , , , , , , , , , , , , Bintian Wang , Pawel Moll , , , , , , , , , , , , , , , Organization: ARM Ltd In-Reply-To: References: <1423128277-10297-1-git-send-email-bintian.wang@huawei.com> <1423128277-10297-4-git-send-email-bintian.wang@huawei.com> <20150205193017.GF20735@leverpostej> Message-ID: <7a9107efdfe64b0d9e9d93421595badb@www.loen.fr> User-Agent: Roundcube Webmail/0.7.2 X-SA-Exim-Connect-IP: X-SA-Exim-Rcpt-To: wangbintian@gmail.com, mark.rutland@arm.com, dan.zhao@hisilicon.com, btw@mail.itp.ac.cn, catalin.marinas@arm.com, wangbinghui@hisilicon.com, will.deacon@arm.com, huxinwei@huawei.com, khilman@linaro.org, haojian.zhuang@linaro.org, yanhaifeng@gmail.com, rob.herring@linaro.org, mturquette@linaro.org, victor.lixin@hisilicon.com, xuwei5@hisilicon.com, jh80.chung@samsung.com, sledge.yanwei@huawei.com, kong.kongxinwei@hisilicon.com, heyunlei@huawei.com, w.f@huawei.com, zhangfei.gao@linaro.org, z.liuxinliang@huawei.com, devicetree@vger.kernel.org, bintian.wang@huawei.com, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, puck.chen@hisilicon.com, olof@lixom.net, robh+dt@kernel.org, linux@arm.linux.org.uk, zhenwei.wang@hisilicon.com, linux-arm-kernel@lists.infradead.org, guodong.xu@linaro.org, tomeu.vizoso@collabora.com, sboyd@codeaurora.org, linux-kernel@vger.kernel.org, galak@codeaurora.org, xuejiancheng@huawei.com, xuyiping@hisilicon.com, liguozhu@hisilicon.com X-SA-Exim-Mail-From: marc.zyngier@arm.com X-SA-Exim-Scanned: No (on cheepnis.misterjones.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2015-04-12 07:40, Brent Wang wrote: > Hello Mark, > > 2015-02-06 16:42 GMT+08:00 Brent Wang : > [...] >>> >>>> + gic: interrupt-controller@f6800000 { >>>> + compatible = "arm,gic-400", "arm,cortex-a15-gic"; >>> >>> Surely there's no need for the "arm,cortex-a15-gic" fallback entry? >>> What >>> am I missing? >> Remove it in next version. > After remove "arm,cortex-a15-gic", I get the following error during > kernel booting: > ----- > kvm [1]: Using HYP init bounce page @396d9000 > kvm [1]: error: no compatible GIC node found > kvm [1]: error initializing Hyp mode: -19 > ----- > > Check code "virt/kvm/arm/vgic.c", gicv2 only "cortex-a15-gic" and > gicv3 support kvm now, > so I think we should keep it, how about your idea? Please look at commit 0f37247574b3 that is queued for merge in 4.1. It adds the required compatibility strings to KVM, so Mark is perfectly right to ask you to drop this "cortex-a15-gic" from your DT. This DT won't be merged before 4.1 anyway, so there is no point trying to make it work with older kernels. Thanks, M. -- Fast, cheap, reliable. Pick two. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Zyngier Subject: Re: [PATCH 3/3] arm64: dts: Add dts files for Hisilicon Hi6220 SoC Date: Sun, 12 Apr 2015 11:57:35 +0100 Message-ID: <7a9107efdfe64b0d9e9d93421595badb@www.loen.fr> References: <1423128277-10297-1-git-send-email-bintian.wang@huawei.com> <1423128277-10297-4-git-send-email-bintian.wang@huawei.com> <20150205193017.GF20735@leverpostej> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Brent Wang Cc: Mark Rutland , dan.zhao@hisilicon.com, btw@mail.itp.ac.cn, Catalin Marinas , wangbinghui@hisilicon.com, Will Deacon , huxinwei@huawei.com, khilman@linaro.org, haojian.zhuang@linaro.org, yanhaifeng@gmail.com, rob.herring@linaro.org, mturquette@linaro.org, victor.lixin@hisilicon.com, xuwei5@hisilicon.com, jh80.chung@samsung.com, sledge.yanwei@huawei.com, kong.kongxinwei@hisilicon.com, heyunlei@huawei.com, w.f@huawei.com, zhangfei.gao@linaro.org, z.liuxinliang@huawei.com, devicetree@vger.kernel.org, Bintian Wang , Pawel Moll , ijc+devicetree@hellion.org.uk, puck.chen@hisilicon.com, olof@lixom.net, robh+dt@kernel.org, linux@arm.linux.org.uk, zhenwei.wang@hisilicon.com, linux-arm-kernel@lists.infradead.org, gu List-Id: devicetree@vger.kernel.org On 2015-04-12 07:40, Brent Wang wrote: > Hello Mark, > > 2015-02-06 16:42 GMT+08:00 Brent Wang : > [...] >>> >>>> + gic: interrupt-controller@f6800000 { >>>> + compatible = "arm,gic-400", "arm,cortex-a15-gic"; >>> >>> Surely there's no need for the "arm,cortex-a15-gic" fallback entry? >>> What >>> am I missing? >> Remove it in next version. > After remove "arm,cortex-a15-gic", I get the following error during > kernel booting: > ----- > kvm [1]: Using HYP init bounce page @396d9000 > kvm [1]: error: no compatible GIC node found > kvm [1]: error initializing Hyp mode: -19 > ----- > > Check code "virt/kvm/arm/vgic.c", gicv2 only "cortex-a15-gic" and > gicv3 support kvm now, > so I think we should keep it, how about your idea? Please look at commit 0f37247574b3 that is queued for merge in 4.1. It adds the required compatibility strings to KVM, so Mark is perfectly right to ask you to drop this "cortex-a15-gic" from your DT. This DT won't be merged before 4.1 anyway, so there is no point trying to make it work with older kernels. Thanks, M. -- Fast, cheap, reliable. Pick two. From mboxrd@z Thu Jan 1 00:00:00 1970 From: marc.zyngier@arm.com (Marc Zyngier) Date: Sun, 12 Apr 2015 11:57:35 +0100 Subject: [PATCH 3/3] arm64: dts: Add dts files for Hisilicon Hi6220 SoC In-Reply-To: References: <1423128277-10297-1-git-send-email-bintian.wang@huawei.com> <1423128277-10297-4-git-send-email-bintian.wang@huawei.com> <20150205193017.GF20735@leverpostej> Message-ID: <7a9107efdfe64b0d9e9d93421595badb@www.loen.fr> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 2015-04-12 07:40, Brent Wang wrote: > Hello Mark, > > 2015-02-06 16:42 GMT+08:00 Brent Wang : > [...] >>> >>>> + gic: interrupt-controller at f6800000 { >>>> + compatible = "arm,gic-400", "arm,cortex-a15-gic"; >>> >>> Surely there's no need for the "arm,cortex-a15-gic" fallback entry? >>> What >>> am I missing? >> Remove it in next version. > After remove "arm,cortex-a15-gic", I get the following error during > kernel booting: > ----- > kvm [1]: Using HYP init bounce page @396d9000 > kvm [1]: error: no compatible GIC node found > kvm [1]: error initializing Hyp mode: -19 > ----- > > Check code "virt/kvm/arm/vgic.c", gicv2 only "cortex-a15-gic" and > gicv3 support kvm now, > so I think we should keep it, how about your idea? Please look at commit 0f37247574b3 that is queued for merge in 4.1. It adds the required compatibility strings to KVM, so Mark is perfectly right to ask you to drop this "cortex-a15-gic" from your DT. This DT won't be merged before 4.1 anyway, so there is no point trying to make it work with older kernels. Thanks, M. -- Fast, cheap, reliable. Pick two.