Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3138620pxj; Mon, 10 May 2021 20:08:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwmrRXkfgjd5BKdYeoY37zA0nwF05PNujuIFmV3zG2l4JutuCDkpRNErByn8dqlrjstPBdl X-Received: by 2002:a17:906:a06:: with SMTP id w6mr29046457ejf.32.1620702536888; Mon, 10 May 2021 20:08:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620702536; cv=none; d=google.com; s=arc-20160816; b=rS4oLYg341hYBiP9H4RxZHaKfZlRbTTpOQ+rT7G9UYBsfWmkpObtk++PMox7iRIwK2 vDIGAioGLwru62W7v9qifaZSPt9oAPQhl3u6TAQUeFuMnHdnyeU5TcOZvciWf/QusRY3 agSQyjZYgDvIIjy/jq5PmDRr0cqHnGY/vZ0aPw7EAmXydutvtZDSSBHxlRRlbv+7ytoH xP5U/Wv5+FjDMm1KqnYtZtXpQglSw/3AiL4mwuiOgqicYRJ7IKh/vg6aHiNqwZUuxg+f HnKRMwZwKLPalAgM2RffvNdP3EvtrsAbFDJxwrd/HfEsUnj5Sfok6ZDsKD35SDIFLO0V QWLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=PhPelosvPaNw7yOIciGp7uh8oGfF4RBs3odPLvwkBHA=; b=c5OVOPKLAKl+GdKlOaW1DrhymW+T1kuijjkcuzhyDljzhSnowgIslYNSwRgiWrZiaV kULysbDtB4rvYXsYf04gL9JBiLN+GsrzIrrzhrNT5N25EurU4UVrbjsRG4HZwW8543LS Gfmgb30nEn0UkLYo0Ko5cTmHW/umj9S9bh7OUCO2shJn+KeYjN4GttsV+ngPA+0A6ALS xY2D6ynAHCaFcvWKUvYVq1pvg32ImvujQpdTqDzt8Ck0joW2Zb5cuXC+m4bEmkwHlnC+ 1eS5x/Abq3MiqmP3sm5jlwSBJSMFYGAtLHDQxcZkjayv7ESAg7xRhsUnPF/GKH7G47s3 iJ7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XnG6NjRj; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t19si1253085edd.260.2021.05.10.20.08.32; Mon, 10 May 2021 20:08:56 -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=@kernel.org header.s=k20201202 header.b=XnG6NjRj; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230002AbhEKDIL (ORCPT + 99 others); Mon, 10 May 2021 23:08:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:50552 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229465AbhEKDIK (ORCPT ); Mon, 10 May 2021 23:08:10 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id ABDA161004; Tue, 11 May 2021 03:07:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1620702424; bh=Dl3YW3teGKKFwFsnU3XVBmdwvV1e/pCsXI5071YVVyQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XnG6NjRjzEzULKYDV1rv2mRoLTS+f/rA9knulz6KAyV1swYFgVP60BcaFdwnWFL31 ZOMx5Lm9D/UULcMDGtumOIX8Rv5tBlipj0zYZG7FfMNx0wkUSIK8MsTh+Uf4etyu02 zP4op0Rr3EAgBAKH9Cc6SUrlui9pQvvBh9xx9rTvUHbjBaGErzYwobNljvLmggyqZV JlqI4NmHRZifq2toZti97R6wqtyl2F+WxUSPRMHg7U3alHdHbe144EPwJLxRkOHXoK UELbt+Dq6i2P9kmB0SsmJtqm0D46ipidWgnYxCdmhqywemJA9FvE8XlgN4Z866srmD wKnGBQX0WaVqg== Date: Tue, 11 May 2021 11:06:59 +0800 From: Shawn Guo To: Kornel Duleba , Claudiu Manoil Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, leoyang.li@nxp.com, robh+dt@kernel.org, mw@semihalf.com, tn@semihalf.com, upstream@semihalf.com Subject: Re: [PATCH] arm64: dts: fsl-ls1028a: Correct ECAM PCIE window ranges Message-ID: <20210511030658.GG3425@dragon> References: <20210407123438.224551-1-mindal@semihalf.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210407123438.224551-1-mindal@semihalf.com> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org + Claudiu On Wed, Apr 07, 2021 at 02:34:38PM +0200, 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 Claudiu, Do you have any comment on this? Shawn > --- > 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 >