Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp332053pxu; Wed, 25 Nov 2020 04:30:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJzVC1hB68XDo/uzrZlwMgiv5wXJI53JE9WhOF+G90uXIIO/3LZ6hWIeOoTEeW/3WCrgNydA X-Received: by 2002:a17:906:b104:: with SMTP id u4mr2841797ejy.121.1606307454656; Wed, 25 Nov 2020 04:30:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606307454; cv=none; d=google.com; s=arc-20160816; b=wlS/8EAiQBaOI6OiSq1ElZhC9PwJdK85rDmrOJUJ95PEXNoptMj29gCy79Hnles0/G 5E2RUg9aH5lWlfNLy8KwoUYd1/17L5VB7rfLwD8iIi2FAol8D402VF65m7VgfckIEKUY Xu8NLN7uMDp1UIbCP8zDewsHjTdVwTj3Yg8wjSUabc87SuVBTp+YO3W9EvKvTGaZuz3o fEnOG3Xz96SAOyWaMOAezg7NWJeo/yMJ64OjipqYi8H5g39Lb9MIz7PcCe5ElMh9RkDL AKs8XRCSPXFE7S92CVFdmAL6+XorF/WLfahUAWgCCY8qW8Qs426o3QT8odGLvZcwAVXB A2JA== 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=hddbZosietvPAsnHP23A/ubJ9TPKAFFanPN6jxLs4SY=; b=kwhCENYA8nbxHCLa/cmFtqZpZeu4xyxSCoJIBX3eVjBIlDXld6JkM2LS5jBydm7pY6 Bohfu87K0DlLFp5D54HL3J2ny74qDJUUKz+23sozf1tBr8cSChVpD2N4Fr2zSwm3rSPt 7mJ26ZZ9iUoycV6mrtCt+nwe3D/TZsqFYiYxFjwlIkVKVjFNHjnZWgyh3IrXAlHnlFAL U03unDDh9+cX1RCG6rKFZ2v2a5BOZH55yeoqz6T2FCUiQP/kEI7L9sq4l5QbYavrlOLN DUF6uTlvpLgUluVSs0axJ+BJ1v7+kRa8DCehP/uFksk9r3TlK3opSkoPeJbmApbOl7Tz nZtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=t6NEphUx; 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 mj1si1180401ejb.54.2020.11.25.04.30.31; Wed, 25 Nov 2020 04:30:54 -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=t6NEphUx; 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 S1729404AbgKYM3L (ORCPT + 99 others); Wed, 25 Nov 2020 07:29:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729312AbgKYM3L (ORCPT ); Wed, 25 Nov 2020 07:29:11 -0500 Received: from mail-ej1-x642.google.com (mail-ej1-x642.google.com [IPv6:2a00:1450:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F63CC0613D6 for ; Wed, 25 Nov 2020 04:29:11 -0800 (PST) Received: by mail-ej1-x642.google.com with SMTP id 7so2793841ejm.0 for ; Wed, 25 Nov 2020 04:29:11 -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=lnSCtCJSDFOFESFpQH410vPZA8j0gx3s8PT5lt0DSrOABeDku0kGz4CYlyvSh1lEXq bWPJuIfucmi9vHzBfLFrV+NBDGsbjynXAMgjFFwGfSdTKcZn3BcY8EXHPfsvgBhFAmWC /KMcORObhVF4SBdPHdA+7C0eIFJcdsJp/5FQHTakk0tM4BpuWvIAkIVI9ySTGX2NtSeC L7zArTVQPx9aSYCTAbxOQKdoHbMj0XMKx2TJh6wDLrUsHo0Z3/3xDZWE5IHR5xB3bgkh hFfBq5VrnNF9HoMtCy0uA8x1NGgdwq7yQlkznCkE0ysfW6g/864H/B9awBptk/K5ZkAS 1Xvg== X-Gm-Message-State: AOAM531ZpIxHD04asRUsKSvB8fAY84Sl6Iqk5PIr6xJZh5krvwYILdq0 30+lMnCMmy4X9l+RulNH98Fxzs1F9XMwFSIKSSCd6amkAJqAOQ== 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: linux-kernel@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