From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH v3 4/8] xen/arm: Add support for DTBs with strange names of Hip04 GICv2 Date: Fri, 07 Nov 2014 13:36:10 +0000 Message-ID: <545CCACA.7050406@linaro.org> References: <1415180475-8339-1-git-send-email-frediano.ziglio@huawei.com> <1415180475-8339-5-git-send-email-frediano.ziglio@huawei.com> <545A2A96.8060105@linaro.org> <545B4380.3050209@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <545B4380.3050209@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Zoltan Kiss , Stefano Stabellini Cc: zoltan.kiss@huawei.com, Ian Campbell , Tim Deegan , xen-devel@lists.xen.org, Frediano Ziglio , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org Hi Zoltan, On 06/11/2014 09:46, Zoltan Kiss wrote: > > > On 05/11/14 14:52, Stefano Stabellini wrote: >> On Wed, 5 Nov 2014, Julien Grall wrote: >>> Hi Frediano, >>> >>> On 11/05/2014 09:41 AM, Frediano Ziglio wrote: >>>> This name can appear in some Linux kernel repos. Not very fortunate, >>>> but to avoid others spending an hour to spot that few characters >>>> difference it worth to work around it. >>> >>> Linux upstream is using "hisilicon,hip04-intc" to detect the hisilicon >>> interrupt controller. So it's not a workaround. >>> >>> Which kernel is using the "*,hip04-gic"? >> >> Good question, but what really matters is the string that u-boot (or any >> other firmware/bootloader) is going to use, right? So, which one is it? > We are using the DTB from the kernel source, even when loading a bare > metal kernel. I've looked around, the *gic version seems to exist only > in internal repos, as far as I can see. Including the one Frediano > started to use for porting. Therefore, I don't insist to keep both, but > as I mentioned in the commit message, it would still provide some > benefit, and given that it's just a 3 line change which just extend a > few listings, I think we should keep it. > Of course with a different commit message, which clears that this is the > official name of it. If it's only used in your internal repo, we shouldn't support this compatible string in Xen. Nothing prevent someone in the future to use this compatible for a completely different purpose (for instance a different GIC driver). We aim to support only official bindings to avoid a such issue. Regards, -- Julien Grall