Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp101744pxb; Thu, 21 Jan 2021 02:20:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJwOhmOBf8JAOWo6xHswFDXonuxOoWNo9j/eFwvWyV6dynrrFGXEWu5aLBHxyfgllWyAO6RB X-Received: by 2002:a17:906:5618:: with SMTP id f24mr8750542ejq.517.1611224435950; Thu, 21 Jan 2021 02:20:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611224435; cv=none; d=google.com; s=arc-20160816; b=nUurfquoajNZjz9kp39crj3otIpTyL3uF0oa9VtE1drOOn9FpLRStuDcXju06AxIhp F8sEDVkn/QIqE7Z6PRahw25jpHXo+og0OalY1UVWfMmpy6VIvxkC2pP9o5zzrFSW6xg7 YrmPkIOCMAv6VW9LLYuHrZ8M1Zq/337SS7onG9NSdaNdvwaY42JXK/G5QfIxZoCMoYjq T9kTENmLbSaMxFA1YszILH7spQu1Vkvzrlc/qYJhcRJ8rR5Aos2+Lx6JCzTfYSdkG70l YJOsnrFms0kkHXJaHSISOp5TmpTjYMbTxBBlSDEJLnj12iVGKhRKU34WDDAnP8zHO1s1 K8OA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=RD/8ns8LC0PdbNWt+iQG/KV2R5v83Sdo9CyiF4bWX1o=; b=BTs3SIb7y5Y+2BywRPn/FBR4/kSwuab/G0gwwPV8etexKuos+8e2boIehdQMjp1B5W w27wG00slt+pAVlEKCBtUfO9VjO7RC2BD+IswneLBShvhFl11ZUBwFEztdW3931bKJ/T D6M/6XmHHBp9D+DrD5+J3i9ADsQiGrBfMd2toVdJYjCSwZDw4SNJfEcvnXDw/Mg7RPHN 5aEz+52FKp7XnE+sr4O2i2qF+AbgVntlQ2hGSopQ+wclFE3NljgT7nqzHEqxDNEW5kQE uEI9Kjgh+cSJxETkCgvY3x20yxvdbFRVLXXAMFYi7RL4IBL9C0DZhG/1mCMGGhD6JfPM tu+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b="vf5Jbu/q"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a19si1913545eds.49.2021.01.21.02.20.11; Thu, 21 Jan 2021 02:20:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b="vf5Jbu/q"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729011AbhAUKTR (ORCPT + 99 others); Thu, 21 Jan 2021 05:19:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729092AbhAUKS1 (ORCPT ); Thu, 21 Jan 2021 05:18:27 -0500 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C56DDC061757 for ; Thu, 21 Jan 2021 02:17:46 -0800 (PST) Received: by mail-ed1-x532.google.com with SMTP id d22so1808990edy.1 for ; Thu, 21 Jan 2021 02:17:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=RD/8ns8LC0PdbNWt+iQG/KV2R5v83Sdo9CyiF4bWX1o=; b=vf5Jbu/q5u7SHlc4hZuiryXWtFKPfUFP+bZ3uqbgPYpdThKM6PeiFDtm3XSaqfM/da 6cEK56z+I7PBPiHlgyInHRJy+T3ZxrE5XGHWK3FoBuTSGr1amVlZCEN5G9e509Em8fp/ aVy4ldv+lK/7wOc2TUUj4c+eeFd1O8pXnQqFGh7xOs3qWXrt/wpx4hAZHTkRs4hPp6WI ENCxzR8T/G6Gq06iD/pxtGB+WGz0kWzQZLjIaKN/FqZmGkIy9rdr0/CE/71yqzYDGp7M n/SxSoAXoUIn48J3NGOXFQfmLpXueEYEzEOQdPK1PNfkl0bNKNtkgcnRlcGM51Epb5Jg T9uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=RD/8ns8LC0PdbNWt+iQG/KV2R5v83Sdo9CyiF4bWX1o=; b=ma08Py58VlkKOoW3hGWLjGhccyLIvdbP9pf10UcrZVcZPFA89J1H9lFTSdYHbiziMT ToVKwqaiJUnmldvCAvd9aw99kOiPT32jQAAbVEKfYZ60ymJMrA/zt9nNyVsiS40Ii1sJ DAnuQK4SD2UI+b2qSIPujd6G//fSf9ozUEmeigiuaElgA/haUb/1xvzZpEVFRlNanOA+ omRp/jEmfHTrRGhRINEJrF8vyYjMsT0KGbGmZmWuM8MTt2KQgy2pra9zf3vp7FmJmvr2 Smhf2JwT2tKSTlDLvqhV6w3kcyTxPISp0fCREmK7dZp0Tn+exuH9mvfDRnpnWJ2GRejB pLqA== X-Gm-Message-State: AOAM531ZSaS4GflWwZUxtQAOBjHNA6p6FbOKp/1GIPqjnMwPfktNdpu/ it+XJXp9GYpBECb5M3r0doNHl+rdwmRvtH21BuVucy9tZhpLjQ== X-Received: by 2002:a50:c94c:: with SMTP id p12mr4465602edh.154.1611224265265; Thu, 21 Jan 2021 02:17:45 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Michal Simek Date: Thu, 21 Jan 2021 11:17:34 +0100 Message-ID: Subject: Re: [PATCH] arm64: dts: zynqmp: Add address-cells property to interrupt controllers To: LKML , Michal Simek , git Cc: Andre Przywara , Kalyani Akula , Krzysztof Kozlowski , Laurent Pinchart , Manish Narani , Rajan Vaja , Rob Herring , DTML , linux-arm Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org st 2. 12. 2020 v 15:14 odes=C3=ADlatel Michal Simek napsal: > > The commit 3eb619b2f7d8 ("scripts/dtc: Update to upstream version > v1.6.0-11-g9d7888cbf19c") updated dtc version which also contained DTC > commit > "81e0919a3e21 checks: Add interrupt provider test" > where reasons for this checking are mentioned as > "A missing #address-cells property is less critical, but creates > ambiguities when used in interrupt-map properties, so warn about this as > well now." > > That's why add address-cells property to gic and gpio nodes to get rid of > this warning. > > CC: Andre Przywara > Signed-off-by: Michal Simek > --- > > I was grepping DTSes in the kernel and most of them list it as 0. > In gicv3 case where its node is added it needs to be filled property that= 's > why also non 0 values are there. > Definitely please let me know if 0 is not the right value here. > > Based on https://lore.kernel.org/r/cover.1606917949.git.michal.simek@xili= nx.com/ > > --- > arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts= /xilinx/zynqmp.dtsi > index 14a2e69cf98b..5b2051ac6965 100644 > --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi > +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi > @@ -368,6 +368,7 @@ fpd_dma_chan8: dma@fd570000 { > > gic: interrupt-controller@f9010000 { > compatible =3D "arm,gic-400"; > + #address-cells =3D <0>; > #interrupt-cells =3D <3>; > reg =3D <0x0 0xf9010000 0x0 0x10000>, > <0x0 0xf9020000 0x0 0x20000>, > @@ -574,6 +575,7 @@ gem3: ethernet@ff0e0000 { > gpio: gpio@ff0a0000 { > compatible =3D "xlnx,zynqmp-gpio-1.0"; > status =3D "disabled"; > + #address-cells =3D <0>; > #gpio-cells =3D <0x2>; > gpio-controller; > interrupt-parent =3D <&gic>; > -- > 2.29.2 > Applied. M --=20 Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Xilinx Microblaze Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs