From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 640E8C47247 for ; Tue, 5 May 2020 18:25:52 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2279B20663 for ; Tue, 5 May 2020 18:25:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="rRCNei/U"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="vttHBMHH" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2279B20663 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Subject:To:From:Message-ID:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=k44R2dLPrnODN5KQUze3CoFLbMR5YbP+KZSNrAB/5E4=; b=rRCNei/UhAaQ0k OXU79WQekG7HqKB5sg4aedz6xjDaPm6YnUh0QxQElO0B7Oo6p3veKFl16GPqa8exo1XGl/eAA3QSo uvYwHKNRhf/JygOCTjqMdks2RWd4HwcUA8p13m2REbpkKN3Ym2VIR/DlMStmXy3wdnyKdP1aHK1qj /nBcdR8+2iVXHlF2t8lMVFX8sop1w+nT3KGfP0Euhl798rEpOjg2Bbn42sacAFva9JKtLwXTOod/E aFZvqedHUXriPiqpdkCaR0iCIOHVbW+LgaOK0gGz5trJPxWi2UBPNfvCKZ5qyAlV6Jz0hExcR+RIZ Tf8y5H/ZoXL+F0MdKw9A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jW2GN-0002Qf-Qu; Tue, 05 May 2020 18:25:51 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jW2GF-0002Py-81 for linux-arm-kernel@lists.infradead.org; Tue, 05 May 2020 18:25:50 +0000 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8F77D20663; Tue, 5 May 2020 18:25:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588703141; bh=jzIUsSLxN9/RqRoiWQZZrzjBGLn9x2XEbfuMss1MUYg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=vttHBMHHF6Y3uQLnQ6fIYJtl8ebDcYYt3ObBGn5wTjdl0Y1VStUTA3MZauO+EJKJe qM3N0g1HMq1wHzaemj80+Ei8WhHJi65BwgUiwoq/n2/74uklztDpK2C+lokjGoYXQ2 VQ2C29FgyAt1rIYqsiqRsUnX3fspdm/3elUS07zs= Received: from 78.163-31-62.static.virginmediabusiness.co.uk ([62.31.163.78] helo=big-swifty.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jW2GB-009bx4-Te; Tue, 05 May 2020 19:25:40 +0100 Date: Tue, 05 May 2020 19:25:32 +0100 Message-ID: <86lfm6tf1f.wl-maz@kernel.org> From: Marc Zyngier To: Andre Przywara Subject: Re: [PATCH 07/16] arm64: dts: arm: Fix GIC compatible names In-Reply-To: <20200505165212.76466-8-andre.przywara@arm.com> References: <20200505165212.76466-1-andre.przywara@arm.com> <20200505165212.76466-8-andre.przywara@arm.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 EasyPG/1.0.0 Emacs/26 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-SA-Exim-Connect-IP: 62.31.163.78 X-SA-Exim-Rcpt-To: andre.przywara@arm.com, robh@kernel.org, liviu.dudau@arm.com, sudeep.holla@arm.com, lorenzo.pieralisi@arm.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, mark.rutland@arm.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200505_112549_117889_EE8FDA31 X-CRM114-Status: GOOD ( 18.35 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Rob Herring , Lorenzo Pieralisi , devicetree@vger.kernel.org, Liviu Dudau , Sudeep Holla , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, 05 May 2020 17:52:03 +0100, Andre Przywara wrote: > > The GIC DT binding only allows a certain combination of DT compatible > strings, mostly just consisting of one name. > > Drop the combination of multiple names and go with the > "arm,cortex-a15-gic" name for GICv2, as this seems to be the most widely > accepted string. "arm,gic-400" would be more correct, but was introduced > much later into the kernel's GIC driver. > > Signed-off-by: Andre Przywara > --- > arch/arm64/boot/dts/arm/foundation-v8-gicv2.dtsi | 2 +- > arch/arm64/boot/dts/arm/juno-base.dtsi | 2 +- > arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/arch/arm64/boot/dts/arm/foundation-v8-gicv2.dtsi b/arch/arm64/boot/dts/arm/foundation-v8-gicv2.dtsi > index 15fe81738e94..61a1750fcdd6 100644 > --- a/arch/arm64/boot/dts/arm/foundation-v8-gicv2.dtsi > +++ b/arch/arm64/boot/dts/arm/foundation-v8-gicv2.dtsi > @@ -6,7 +6,7 @@ > > / { > gic: interrupt-controller@2c001000 { > - compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic"; > + compatible = "arm,cortex-a15-gic"; > #interrupt-cells = <3>; > #address-cells = <2>; > interrupt-controller; > diff --git a/arch/arm64/boot/dts/arm/juno-base.dtsi b/arch/arm64/boot/dts/arm/juno-base.dtsi > index 3feefd61eb76..62392ab1f880 100644 > --- a/arch/arm64/boot/dts/arm/juno-base.dtsi > +++ b/arch/arm64/boot/dts/arm/juno-base.dtsi > @@ -69,7 +69,7 @@ > }; > > gic: interrupt-controller@2c010000 { > - compatible = "arm,gic-400", "arm,cortex-a15-gic"; > + compatible = "arm,cortex-a15-gic"; Why? GIC-400 is definitely the most correct compatible string. I'd rather see this compatible being generalised to the models rather than only referencing the A15 GIC. > reg = <0x0 0x2c010000 0 0x1000>, > <0x0 0x2c02f000 0 0x2000>, > <0x0 0x2c04f000 0 0x2000>, > diff --git a/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts b/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts > index c5d15cbd8cf6..f86f6451411f 100644 > --- a/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts > +++ b/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts > @@ -95,7 +95,7 @@ > }; > > gic: interrupt-controller@2c001000 { > - compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic"; > + compatible = "arm,cortex-a15-gic"; > #interrupt-cells = <3>; > #address-cells = <0>; > interrupt-controller; > -- > 2.17.1 > > Thanks, M. -- Jazz is not dead, it just smells funny. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel