Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp972065rwl; Fri, 7 Apr 2023 08:05:48 -0700 (PDT) X-Google-Smtp-Source: AKy350ba9yYjsCsdgCiKkbJ5qG52cZfQrnP64b6qReHr8yze/GLr0LMIIxddNWBbtiDZOKGAz/p2 X-Received: by 2002:a17:906:3ec7:b0:895:58be:957 with SMTP id d7-20020a1709063ec700b0089558be0957mr2346014ejj.2.1680879948609; Fri, 07 Apr 2023 08:05:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680879948; cv=none; d=google.com; s=arc-20160816; b=yzQfzF7TY2I08ashm/ypUnSz538KYuXkof5Vp0pPIaTOG4b2sNdzcfkeA9IyiRtcVC D9neKjHj1J8KH9Xa92/lfm83f8ISWO4WHLN++EUO6DmNqxkH6/wlwzo7BpASzgyiUQJ7 A8/qw2Gu1ob+ypx/BkVOtG3u65t4WLuXNS6Q38A9NzK/UaWDWWTItOWl7zM6o2MBQhvv qf1S7ZgHk1IKycUG1IF/yf+BqOvLiFSMw52ZGL0TCtexoLBi/MEn2Tr11hh6pCAvmVA4 3EE71YJrd/PpklQ7vW2CZydPw+n94qCC+TyrxXj8coRzanZdmNtOLRzrG/hHsGeL+BwS O9oQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=mR/UUPL2IMYCFFGQvAbrgjotcIuS51YMFyDQudOhWV0=; b=YGz1ITs/0tNT1mEbN6r2Cjs0hJ/7SNxhDClIvD1ZIiDzl83cXjoVJBaNpRfx8TL6sP e2E//9RB+orKolGT4/uTwucTDQGVsjNFscfwJpG0Ked5uaj4Hc8voK2F2+Wgn1c1b7Iy cja+kBCiu0Pt4bP0vx+MCS756x1JMryoAcYNGRIPaNtKL65xgmhFImc08IRorwze1iZh GxQdfBEyJCBeO+xb21GcCJi/dA2F0mWB+mtZWJXw6EWnSKfA4qqjRrv9efLUMiDbzlf1 jyl66RL/7FInVWJgLA/joLAHY8XICkErRhO/7wocApf7JkhObnPuK1lw0F7vSPPnrAzv KpSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=jodAY8mp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q5-20020a056402032500b005003eff598dsi3422734edw.95.2023.04.07.08.05.11; Fri, 07 Apr 2023 08:05:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=jodAY8mp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240738AbjDGPDY (ORCPT + 99 others); Fri, 7 Apr 2023 11:03:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240652AbjDGPCt (ORCPT ); Fri, 7 Apr 2023 11:02:49 -0400 Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B39FABDF7; Fri, 7 Apr 2023 08:02:01 -0700 (PDT) Received: (Authenticated sender: gregory.clement@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id E3E2D1C0004; Fri, 7 Apr 2023 15:01:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1680879694; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=mR/UUPL2IMYCFFGQvAbrgjotcIuS51YMFyDQudOhWV0=; b=jodAY8mpmlyxesuWp+fuRfmk88+kdcRqdygU8HwnK3DyHFX9cJHl8ZtPvvy2lLaLbppIPw TdCPIzwJ+8qwmt8GPknXs1FkBliysMlRrZKZsifr4wTnInhI0wF4fkCi7sPcDiak4GHLV7 /AT+VRLJMiz0OJK5yzsNZC+Re/kphwvVz2Mav8sG14P5s66kCNjIOZnuZJxIFF3ZT+iDOt 7KjCMVm8PHv1HxUpOu5kUlH73+s96CFAyuozPDo9nELg1tBFwqvL1CzQID6x68d68abvlk dlBVrkz8VEUGJSO+x9ElZcE2vTH6+kztMrPsEZbmZ0p5zecpm2pV6I2dGIzhxg== From: Gregory CLEMENT To: Robert Marko , andrew@lunn.ch, sebastian.hesselbarth@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Robert Marko Subject: Re: [PATCH] arm64: dts: marvell: mochabin: enlarge PCI memory window In-Reply-To: <20230219121418.1395401-1-robert.marko@sartura.hr> References: <20230219121418.1395401-1-robert.marko@sartura.hr> Date: Fri, 07 Apr 2023 17:01:32 +0200 Message-ID: <871qkv4tyr.fsf@BL-laptop> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Robert Marko writes: > Armada 7040 uses a rather small 15MB memory window for every PCI adapter, > however this is not sufficient for Qualcomm QCA6390 802.11ax cards that > are shipped along with the OpenWrt WLAN model of MOCHAbin as ath11k > requires at least 16MB of memory. > > So, similar to what MACCHIATOBin has been doing for years, lets move > to using the second PCIe 2 memory window and expand it to 128MB to > make it future proof. > > Signed-off-by: Robert Marko Applied on mvebu/dt64 Thanks, Gregory > --- > arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts b/arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts > index 7ca71f2d7afb..39ce6e25a8ef 100644 > --- a/arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts > +++ b/arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts > @@ -455,4 +455,5 @@ &cp0_pcie2 { > phys = <&cp0_comphy5 2>; > phy-names = "cp0-pcie2-x1-phy"; > reset-gpios = <&cp0_gpio1 9 GPIO_ACTIVE_LOW>; > + ranges = <0x82000000 0x0 0xc0000000 0x0 0xc0000000 0x0 0x8000000>; > }; > -- > 2.39.2 > -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com