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=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 7B253C5519F for ; Wed, 25 Nov 2020 12:29:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1DE2520789 for ; Wed, 25 Nov 2020 12:29:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="t6NEphUx" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729392AbgKYM3L (ORCPT ); Wed, 25 Nov 2020 07:29:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728143AbgKYM3L (ORCPT ); Wed, 25 Nov 2020 07:29:11 -0500 Received: from mail-ej1-x643.google.com (mail-ej1-x643.google.com [IPv6:2a00:1450:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9FE7C0613D4 for ; Wed, 25 Nov 2020 04:29:10 -0800 (PST) Received: by mail-ej1-x643.google.com with SMTP id o9so2786196ejg.1 for ; Wed, 25 Nov 2020 04:29:10 -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=hddbZosietvPAsnHP23A/ubJ9TPKAFFanPN6jxLs4SY=; b=t6NEphUxIKF0hBMXIZrd0vg7g6jIN6Y3QZ9wCliWjTZ0rgzKvYcEgO7pSwYFDh7J3f PaY+BLmaQE61kCCX7YWtT03COJCfNrR2Rql+Jytr60ujDaq2p5/47iDU/WMVhKDK905v +1PVroIETib/a3gkz9ABuwccJ+yBJ5FWJJ5LF3MAeqj/Oolxt3/vIfRABGoSJArFrMaW M4VMClPoXZaLVtuQrOGA/aUokBTCRE6epmneVHhdHvf+UIb/829xbtI9yFdFoMyozcDe PPX3Y2NZnF0vLBBatzz49dsgoC+z+Tk77ZyhjVUW67BASy7+THPRzsGAl1SiEZoU43n6 Yzow== 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=hddbZosietvPAsnHP23A/ubJ9TPKAFFanPN6jxLs4SY=; b=G3tGQ6AvuYt8vgpAiKyTRhf1Oy4neNcM5fB8vWj3FHH5N9t3YA493Mc8qO2nP7JJ5C 80QFB5qpX7xo1gGhdTSb3BI8yJWuF79EABiU0OKbBDQTDXX+HVr297QTeFqndr74MfRz MR8IO8yQr+p57A5TuCakfD0xyzrasdPgtgomGVEjQUPlIMnecQ+lBGa7IYJPOe7Sf7UM fTRdIYa3m52eF+YAhUOq5oa9egI5mPcFaLTOY24gv+7VzXIK/9Dk/qT9yMdIS72Rrmrp In84BD+wfJhQ4MMV+dCHVxfRzGTcKVlXmPs21dqjN7pyKnARPOo9ctNe8YcgzXwWjPaz KLgg== X-Gm-Message-State: AOAM533YG9qlVBzKRGt6pcUkDMesRXhqb8ph8VQpc2XIdtCDftgR/WHZ VUwyqpUVKxP83ULlLNnpaiYM3ZeXRujSHvRDiMp40Q== X-Google-Smtp-Source: ABdhPJxtRWGldej9h5hpcjUbdriItl5cAYppe19WBElhXOZwBO/z2VEQREO+KhByzJfQxcMRq4eDmHJ6//Dc3xV124M= X-Received: by 2002:a17:906:b847:: with SMTP id ga7mr1486813ejb.200.1606307349609; Wed, 25 Nov 2020 04:29:09 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Michal Simek Date: Wed, 25 Nov 2020 13:28:58 +0100 Message-ID: Subject: Re: [PATCH] arm64: dts: zynqmp: Fix pcie ranges description To: LKML , Michal Simek , git Cc: Kalyani Akula , Krzysztof Kozlowski , Laurent Pinchart , Manish Narani , Michael Tretter , Nava kishore Manne , 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: devicetree@vger.kernel.org =C3=BAt 29. 9. 2020 v 13:43 odes=C3=ADlatel Michal Simek napsal: > > DT schema is checking tuples which should be properly separated. The patc= h > is doing this separation to avoid the following warning: > ..yaml: axi: pcie@fd0e0000:ranges: [[33554432, 0, 3758096384, 0, > 3758096384, 0, 268435456, 1124073472, 6, 0, 6, 0, 2, 0]] is not valid und= er > any of the given schemas (Possible causes of the failure): > ...dt.yaml: axi: pcie@fd0e0000:ranges: True was expected > ...dt.yaml: axi: pcie@fd0e0000:ranges:0: [33554432, 0, 3758096384, 0, > 3758096384, 0, 268435456, 1124073472, 6, 0, 6, 0, 2, 0] is too long > > Signed-off-by: Michal Simek > --- > > I have seen one conversation about it but don't have link which I can poi= nt > to. > --- > arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts= /xilinx/zynqmp.dtsi > index 771f60e0346d..98073f3223e5 100644 > --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi > +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi > @@ -542,8 +542,8 @@ pcie: pcie@fd0e0000 { > <0x0 0xfd480000 0x0 0x1000>, > <0x80 0x00000000 0x0 0x1000000>; > reg-names =3D "breg", "pcireg", "cfg"; > - ranges =3D <0x02000000 0x00000000 0xe0000000 0x00= 000000 0xe0000000 0x00000000 0x10000000 /* non-prefetchable memory */ > - 0x43000000 0x00000006 0x00000000 0x0000= 0006 0x00000000 0x00000002 0x00000000>;/* prefetchable memory */ > + ranges =3D <0x02000000 0x00000000 0xe0000000 0x00= 000000 0xe0000000 0x00000000 0x10000000>,/* non-prefetchable memory */ > + <0x43000000 0x00000006 0x00000000 0x0000= 0006 0x00000000 0x00000002 0x00000000>;/* prefetchable memory */ > bus-range =3D <0x00 0xff>; > interrupt-map-mask =3D <0x0 0x0 0x0 0x7>; > interrupt-map =3D <0x0 0x0 0x0 0x1 &pcie_intc 0x1= >, > -- > 2.28.0 > 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