From patchwork Tue Sep 29 11:43:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 11805689 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3ED8B618 for ; Tue, 29 Sep 2020 11:45:02 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 EA002207F7 for ; Tue, 29 Sep 2020 11:45:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="CaK13kbW"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="O0++lOrl" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EA002207F7 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=NHEqbHNurLT1DxFAHTCKU7Uq9o/hd8sR5f6GY0e6blY=; b=CaK13kbWIr045t76Eq8JPxB57c LTmg42EWKPpwUVRtauUcYJdoD6U0ize5vQiLQEAa+a/6Jpp5B4AWiBXxRDIcrJPvApDkqfKUE1Z+b YlGI2FIG7QDWTSunFwJYwHbdxNBvsp4EnBu1NAiYvF+xO6OKglhTbyn1dMBBjgdXn//rRCUK80v+r +hSora0AW/DR5rWI/4fuaq4jsxf4vOt95W3VTQ/m1QksL0jjh4R+auVi29Rljs0ToyJYMY7Auam9j pxhp5g+Ha/C1YF1LeO7R3smDEeZq5TuyL5ydv12xlaow4Ty5ahjwi0ZwyXI5nGsYGoKfMvbwRIp9a PWsFaygQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNE2b-0004pX-MH; Tue, 29 Sep 2020 11:43:29 +0000 Received: from mail-ed1-x542.google.com ([2a00:1450:4864:20::542]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNE2Y-0004mQ-BQ for linux-arm-kernel@lists.infradead.org; Tue, 29 Sep 2020 11:43:27 +0000 Received: by mail-ed1-x542.google.com with SMTP id n22so5987209edt.4 for ; Tue, 29 Sep 2020 04:43:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+dyqjEM4Nfg9QjzaQRM4PsDpBxhgsJm9EEpCrS6WSrk=; b=O0++lOrlF2XUoAEtNzozVCcPXrdX7huM9vUeXKDytO2VKXxu0ZRnc0EpFX9PZxlNon 73iM1/M6/V7EO/ghCCnZUXpzvveURB9toTusdPOtKR2Eb9j8HH86IjGpK0ailyx/7glw sXi+37IDeJVNn5EFAMVzb8P3AOFo+sFtKJgv4QutZ6WIHevlqEbNfI38T8LHa5hYJvkf scNKi99pTqfzwaDwypeqtPpH7VurjDzn1VpCU/7YZbs+N5Bt03NBydp32SX8Y+BqK42G HiF+zVFa7xVmOO5cgNo+ie30kvsz8/xinJ1pw7QC1NLzlMHAocQ3NO0eTzpyvSVeSo8o Vspg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=+dyqjEM4Nfg9QjzaQRM4PsDpBxhgsJm9EEpCrS6WSrk=; b=iTK63lGtFJYMKABZGriK83Rdc4+b8wJeKoe/pB2PiLN1zmiVhf4MjQAVNukVR6TmdV AbwdsG4xXSlqzNIRj/y1MYBJEN+EiTzwD+YiApRgHpLLA9pa/pMShmxwAwUlRbcysQBW p1T6LdiNSZarFvmSLqrXwyc7gM3YwEUE5sG27y5V7es/gJELhKlA2UoGYulnwDtg5FcA d6mzZ4Jr34o4M/mRFEKS8wVMEf1yqhk46n76Nob9Q0s7HiaGVr9sEBottiQFJLCnHh5U SBHpRjGh3BXiWawrv0L5RTUU8l7+HjyNto5vy6EhdZ40HvfhmOuUwOO4wulraKD3pC0i DzCg== X-Gm-Message-State: AOAM532IDVNMKRcM1cB8QFSlagmP9TQ+jXsvxbL5ukxJTVPBa2bJXqPi Y+l9tGVPm4qZDIwmA6yNf73hhg== X-Google-Smtp-Source: ABdhPJwCkbYQryEp9zC575hahXkX43eYlCJKVmEK97uBI5MCJC/chZJXCBIYjPjwdb0tqSv08gc57A== X-Received: by 2002:a50:84e8:: with SMTP id 95mr2662684edq.99.1601379804636; Tue, 29 Sep 2020 04:43:24 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id lc2sm1777629ejb.86.2020.09.29.04.43.23 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 29 Sep 2020 04:43:24 -0700 (PDT) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Subject: [PATCH] arm64: dts: zynqmp: Fix pcie ranges description Date: Tue, 29 Sep 2020 13:43:22 +0200 Message-Id: X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200929_074326_510090_5796A409 X-CRM114-Status: GOOD ( 14.42 ) X-Spam-Score: 0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:542 listed in] [list.dnswl.org] 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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: devicetree@vger.kernel.org, Rajan Vaja , Nava kishore Manne , Michael Tretter , Krzysztof Kozlowski , Rob Herring , Manish Narani , Laurent Pinchart , Kalyani Akula , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DT schema is checking tuples which should be properly separated. The patch 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 under 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 Reviewed-by: Laurent Pinchart --- I have seen one conversation about it but don't have link which I can point 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 = "breg", "pcireg", "cfg"; - ranges = <0x02000000 0x00000000 0xe0000000 0x00000000 0xe0000000 0x00000000 0x10000000 /* non-prefetchable memory */ - 0x43000000 0x00000006 0x00000000 0x00000006 0x00000000 0x00000002 0x00000000>;/* prefetchable memory */ + ranges = <0x02000000 0x00000000 0xe0000000 0x00000000 0xe0000000 0x00000000 0x10000000>,/* non-prefetchable memory */ + <0x43000000 0x00000006 0x00000000 0x00000006 0x00000000 0x00000002 0x00000000>;/* prefetchable memory */ bus-range = <0x00 0xff>; interrupt-map-mask = <0x0 0x0 0x0 0x7>; interrupt-map = <0x0 0x0 0x0 0x1 &pcie_intc 0x1>,