Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp245693pxb; Fri, 16 Apr 2021 04:46:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFB1Xfbrjkbf44P7lIPEfsqPVg+dShwRMlSUrQeBNq14/K/mLNq/kS8mtzg2yOPNm0SAAv X-Received: by 2002:aa7:8389:0:b029:209:da1c:17b5 with SMTP id u9-20020aa783890000b0290209da1c17b5mr7610818pfm.29.1618573608501; Fri, 16 Apr 2021 04:46:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618573608; cv=none; d=google.com; s=arc-20160816; b=SU1frhwy1hBX3V4u/gyXrtVnYJz0xZiWTBjsoyEN83H24CEGzSCr+xrn8lJ6E/YxSN Booj/p36Jln6W3GL3qOLX0UI5Y3s4tXxONrE6NKZh36bd6ZEZgQttT3PHt4jc3ut/A7Y gp5dQGDPmQWLuNTIGHunD1y3Vjr4/OHDlIrGqKWXK17fb29bgDhVu3e+SQmlR0Q9VdI0 u/apxjxcX7NezQpylq7/Up2BGEKpJIhyv1AmRL14pyfxpdvWkRGxjhsKBXDb+ufJ0MT8 qircnRszxSJObFzPN1wKxnfqLt+J4stNmGszMnZP9JhfT593BWV76S9305B3QIRiElH8 KTkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Hb0KNXdt3Vcrzc5KdIrNFouVnhjw8ZSpLxSSHlTslNk=; b=PT4Pm04KvhFTqEMvb7gPKw4DKnvBGuvPrkuEkNv9Zl1OMUymzXe9diB4x1VLuYicT9 B6gdyi/4eNvVZs1OR3TzpQoaBv7Ku4B9dHruXWDV5MhgZqwNlqnCcporlZIM9+8TglMl ui9I02JwlUKtcHS2PrD3qFlRgVRosX5UFmJXc0GYUz05gTI7eV7SwSbeyTlV7S5eLgMq TZ1howGLqEiF2dOj3q/qItC8LGu2eH3wu5a+c3vxPAYe1bmlwwBjsQnvTEKBvKbY/oKs bC9G8S+J0/C6nJep8Tc5wiCbi3OIPIPOD24WSoFbbnfgo6vXYVm45vPAbpK9VBID9p7r +GLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=1CrS3ARf; 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 u133si6095513pgc.332.2021.04.16.04.46.36; Fri, 16 Apr 2021 04:46:48 -0700 (PDT) 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=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=1CrS3ARf; 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 S242481AbhDPLhH (ORCPT + 99 others); Fri, 16 Apr 2021 07:37:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235505AbhDPLhG (ORCPT ); Fri, 16 Apr 2021 07:37:06 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89E52C061574 for ; Fri, 16 Apr 2021 04:36:40 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id g5so34958940ejx.0 for ; Fri, 16 Apr 2021 04:36:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Hb0KNXdt3Vcrzc5KdIrNFouVnhjw8ZSpLxSSHlTslNk=; b=1CrS3ARf/IicOTk7a/Jq1L7OsbXDkq5GWYi+GfggyosXhEL2PyquxsrZKNCJ4jIFdQ 8Lh+motFbf6pIZk5KhVAMJsRYlK7y1aEbHHZ49Tf8uLHjK+nk+RX09nyn4OFIqExM1b/ 8VKqYwfg6s0X565kxCuXEzau/tH/z+siqcmzPx11e+T7jt63fhJRchq2VQWr43wn5dVq T1atCVnVAfy2ieptlq29dfCUNosyUs+xH0+xoryHRj+DZJgUyCavmbCnpx4uLbrWDrY5 juTUWNo+mE3ER9Lw7AOANchVB4YdeqP7foo79XafynTf4cMAOWIVdXXy5S+KrAs46RBA /4Xw== 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; bh=Hb0KNXdt3Vcrzc5KdIrNFouVnhjw8ZSpLxSSHlTslNk=; b=InNd/h+mu3zryN3rpqjgV76RcnGHp/BciGMuWOJrrfUgLOp3bwIt/7lBWRtQSfTN2m gaEy4pWIiNR1uAsYb3KBWZ98sv3Zt5nch16CYZOi65yEXPEj0le6GaNc9Xvkbhp/qUcL pqwaa3EUjFUwYNxWT+I+TP0qGU/e5P7UVmX5wlpWER3HyjvypUA9k52zoc0rP2wENLfm RRaPqSCjUP6MiTLCLrNMUdeZqoY2tqEq/STRyzYbBllZrSi0PTLPoVIK2hwAT1WYgPIu UclYTeombtpFai0KmGngdeIwsqMG2huy9IzmU96s07zs4pEBfPB0g3ret7NDHMAyp0Mj rJnQ== X-Gm-Message-State: AOAM532hMQEKChFX2HkmeDiwcNq8rPl2AqUhWQNrS63HAZwR9YMQqnHq RDwHWq3hMaeeEerdVPYNFzd3m9E6ez2a7mJ0YcqzbQ== X-Received: by 2002:a17:906:26d4:: with SMTP id u20mr8286680ejc.114.1618572999322; Fri, 16 Apr 2021 04:36:39 -0700 (PDT) MIME-Version: 1.0 References: <20210407123438.224551-1-mindal@semihalf.com> In-Reply-To: <20210407123438.224551-1-mindal@semihalf.com> From: =?UTF-8?Q?Kornel_Dul=C4=99ba?= Date: Fri, 16 Apr 2021 13:36:28 +0200 Message-ID: Subject: Re: [PATCH] arm64: dts: fsl-ls1028a: Correct ECAM PCIE window ranges To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: shawnguo@kernel.org, leoyang.li@nxp.com, robh+dt@kernel.org, Marcin Wojtas , Tomasz Nowicki , upstream@semihalf.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Wed, Apr 7, 2021 at 2:35 PM Kornel Duleba wrote: > > Currently all PCIE windows point to bus address 0x0, which does not match > the values obtained from hardware during EA. > Replace those values with CPU addresses, since in reality we > have a 1:1 mapping between the two. > > Signed-off-by: Kornel Duleba > --- > arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > index 262fbad8f0ec..85c62a6fabb6 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > @@ -994,19 +994,19 @@ pcie@1f0000000 { /* Integrated Endpoint Root Complex */ > msi-map = <0 &its 0x17 0xe>; > iommu-map = <0 &smmu 0x17 0xe>; > /* PF0-6 BAR0 - non-prefetchable memory */ > - ranges = <0x82000000 0x0 0x00000000 0x1 0xf8000000 0x0 0x160000 > + ranges = <0x82000000 0x1 0xf8000000 0x1 0xf8000000 0x0 0x160000 > /* PF0-6 BAR2 - prefetchable memory */ > - 0xc2000000 0x0 0x00000000 0x1 0xf8160000 0x0 0x070000 > + 0xc2000000 0x1 0xf8160000 0x1 0xf8160000 0x0 0x070000 > /* PF0: VF0-1 BAR0 - non-prefetchable memory */ > - 0x82000000 0x0 0x00000000 0x1 0xf81d0000 0x0 0x020000 > + 0x82000000 0x1 0xf81d0000 0x1 0xf81d0000 0x0 0x020000 > /* PF0: VF0-1 BAR2 - prefetchable memory */ > - 0xc2000000 0x0 0x00000000 0x1 0xf81f0000 0x0 0x020000 > + 0xc2000000 0x1 0xf81f0000 0x1 0xf81f0000 0x0 0x020000 > /* PF1: VF0-1 BAR0 - non-prefetchable memory */ > - 0x82000000 0x0 0x00000000 0x1 0xf8210000 0x0 0x020000 > + 0x82000000 0x1 0xf8210000 0x1 0xf8210000 0x0 0x020000 > /* PF1: VF0-1 BAR2 - prefetchable memory */ > - 0xc2000000 0x0 0x00000000 0x1 0xf8230000 0x0 0x020000 > + 0xc2000000 0x1 0xf8230000 0x1 0xf8230000 0x0 0x020000 > /* BAR4 (PF5) - non-prefetchable memory */ > - 0x82000000 0x0 0x00000000 0x1 0xfc000000 0x0 0x400000>; > + 0x82000000 0x1 0xfc000000 0x1 0xfc000000 0x0 0x400000>; > > enetc_port0: ethernet@0,0 { > compatible = "fsl,enetc"; > -- > 2.31.1 > Have you had a chance to to review the patch? Any questions or remarks? Regards, Kornel