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=-17.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 33D62C04FF3 for ; Mon, 24 May 2021 07:20:32 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2A818610CE for ; Mon, 24 May 2021 07:20:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2A818610CE Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5B3A982E87; Mon, 24 May 2021 09:20:29 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="dFQ8dt8a"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 403D082E91; Mon, 24 May 2021 09:20:27 +0200 (CEST) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 73E6A82E85 for ; Mon, 24 May 2021 09:20:23 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: by mail.kernel.org (Postfix) with ESMTPSA id EFCF3610CE; Mon, 24 May 2021 07:20:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1621840822; bh=a7XNbo1FMEdjvK4Uz/AZww+5JTdrul4D5SfaGH9/xak=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dFQ8dt8aQwhvvtphqsF32hzwBcAS4UEYBo7/HMlyHBKFqozIc51TixFpPEKd1BHP6 wDH1Q+a9dIPk0hHYy/GjTgsK1uo8tsr6g1TV4IGFB6YRmI0CbMboYEpTT03HPJQL6T klfKVNPzZBAKucqfyMcn+6HUYUWrEn0m5n79167J++nhxFsqI0auTXez+Ybcv6zGza D8NcYOMBPUp+h5hvVEeXu0HVDoI1wgfZeBFb7QmhW8vsUuGY41l0lGoSMPMgJ5sFFF GAT2s5Rql7sK19fXkJz2s+Lrfkhg5aiykOu4ntA8XsFXu2SqOLr3m/BKCX3ujVya88 YH+SCzjWRxZCg== Received: by pali.im (Postfix) id 9047F70C; Mon, 24 May 2021 09:20:19 +0200 (CEST) Date: Mon, 24 May 2021 09:20:19 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Stefan Roese , Konstantin Porotchkin Cc: Marek =?utf-8?B?QmVow7pu?= , u-boot@lists.denx.de Subject: Re: [PATCH 6/6] arm: a37xx: pci: Increase PCIe MEM size from 16 MiB to 128 MiB - 64 KiB Message-ID: <20210524072019.f2ows52ug5hrcbzc@pali> References: <20210517063956.30905-1-pali@kernel.org> <20210517063956.30905-6-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210517063956.30905-6-pali@kernel.org> User-Agent: NeoMutt/20180716 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean On Monday 17 May 2021 08:39:56 Pali Rohár wrote: > For some configurations with more PCIe cards and PCIe bridges 16 MiB of > PCIe MEM space is not enough. Since TF-A already allocates a 128 MiB CPU > window for PCIe and IO port space is only 64 KiB in total, use all the > remaining space for PCIe MEM. > > Signed-off-by: Pali Rohár > Reviewed-by: Marek Behún > --- > arch/arm/dts/armada-37xx.dtsi | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/arch/arm/dts/armada-37xx.dtsi b/arch/arm/dts/armada-37xx.dtsi > index b7d325b40577..f85fe38ad11c 100644 > --- a/arch/arm/dts/armada-37xx.dtsi > +++ b/arch/arm/dts/armada-37xx.dtsi > @@ -333,9 +333,9 @@ > > bus-range = <0 0xff>; > ranges = <0x82000000 0 0xe8000000 > - 0 0xe8000000 0 0x1000000 /* Port 0 MEM */ > - 0x81000000 0 0xe9000000 > - 0 0xe9000000 0 0x10000>; /* Port 0 IO*/ > + 0 0xe8000000 0 0xefff0000 /* Port 0 MEM */ Ou, this is mistake. Size should be 0xefff0000-0xe8000000 = 0x7ff0000. I will send a new patch version. > + 0x81000000 0 0xefff0000 > + 0 0xefff0000 0 0x10000>; /* Port 0 IO*/ > }; > }; > }; > -- > 2.20.1 >