Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2288565yba; Fri, 17 May 2019 14:11:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqwQkfzrzeM0qD6d1eSrC0S2rHPrfjF9dt4WgCp8njZXmI6S7+Lf+AuOFIqgufPSGl4ufNe6 X-Received: by 2002:a17:902:8f8f:: with SMTP id z15mr8860258plo.93.1558127519406; Fri, 17 May 2019 14:11:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558127519; cv=none; d=google.com; s=arc-20160816; b=ZtuQTWw76SV6bG45MAiMsQihJwpmIVUK32RJwnD1gM0+14pnnInd5PUY/V3ozegcZ9 fVQb+5If8KrOPt7msCZOqHDUUymJrsE0j4YCpW9JdrRrEhWWeRERIQsL2peMCrACBiEc E0/cQ+nIOCGicB6TibDp3u8//oN4pggOuBAk+DlYOnnXPlwC4SkLP+cT8r3XzR7GkyxL PYiGZr1UeRzNKy6E2cFPtsrLsYXi5CWqQvntyTkIwNz1uFdWdGh5DYY7A6XOdxFlgDjh Gnl1KB1TLD5yR/7nPWGc9T9k0osS0x/O7cqLCCelVtSAs8wHuiA7t1EbLJx+ZnKplFjc 9Pww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=sWZ9mztcuNdoIBL5gIdnKHMS+jcKI3lEdXFcG03plKI=; b=aHV3/svOJgT9BC9QITSjCZkiF/DzEhSoeqJjQPYZLjYHjRSbR9TsVHHPDzrL2PF3WU RRIrHdESkwch27nhRyp7+UkP991Eukpx4OWKs0kxkGI6sDKnYkzZWBaDCMW2BLjic6x6 pNxLHUeu+QQRUFU9zMC4A9u6rl3hnjigwimI9bXc6PjSg4nHhsXRAm3KNyfTwSF3q9g/ q31vBvllYoOxwnRH25EYKy2ilgCOAvQU1N1gRTcNQP5TOSVfpSKDqLdEpsmRf8XO08ji V71s0O1rerLDLncBGcNPqOxDX9u9SWLXP3fLeODb17/i13cJOktSI+CQW58iPC508ZrA U3QA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y36si9015297pgl.336.2019.05.17.14.11.44; Fri, 17 May 2019 14:11:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729347AbfEQUIK (ORCPT + 99 others); Fri, 17 May 2019 16:08:10 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:59811 "EHLO relay2-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726460AbfEQUIJ (ORCPT ); Fri, 17 May 2019 16:08:09 -0400 X-Originating-IP: 87.231.134.186 Received: from localhost (87-231-134-186.rev.numericable.fr [87.231.134.186]) (Authenticated sender: gregory.clement@bootlin.com) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id B510940008; Fri, 17 May 2019 20:08:00 +0000 (UTC) From: Gregory CLEMENT To: Heinrich Schuchardt , Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Russell King Cc: Rob Herring , Mark Rutland , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Heinrich Schuchardt , Thomas Petazzoni Subject: Re: [PATCH 1/1] arm64: dts: marvell: mcbin: enlarge PCI memory window In-Reply-To: <20190517161123.9293-1-xypron.glpk@gmx.de> References: <20190517161123.9293-1-xypron.glpk@gmx.de> Date: Fri, 17 May 2019 22:08:00 +0200 Message-ID: <87k1eozvxb.fsf@FE-laptop> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Heinrich Schuchardt, > Running a graphics adapter on the MACCHIATObin fails due to an > insufficently sized memory window. I think "insufficient" is enough or I miss something. > > Enlarge the memory window for the PCIe slot to 512 MiB. > > With the patch I am able to use a GT710 graphics adapter with 1 GB onboard > memory. > > These are the mapped memory areas that the graphics adapter is actually > using: > > Region 0: Memory at cc000000 (32-bit, non-prefetchable) [size=16M] > Region 1: Memory at c0000000 (64-bit, prefetchable) [size=128M] > Region 3: Memory at c8000000 (64-bit, prefetchable) [size=32M] > Region 5: I/O ports at 1000 [size=128] > Expansion ROM at ca000000 [disabled] [size=512K] From my point of view this patch is correct, I don't think it is a problem to map more memory. So I applied on it mvebu/dt64. But I add also Thomas in CC who know better the PCIe support on mvebu/ Thanks, Gregory > > Signed-off-by: Heinrich Schuchardt > --- > arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi > index 329f8ceeebea..205071b45a32 100644 > --- a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi > +++ b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi > @@ -184,6 +184,8 @@ > num-lanes = <4>; > num-viewport = <8>; > reset-gpios = <&cp0_gpio2 20 GPIO_ACTIVE_LOW>; > + ranges = <0x81000000 0x0 0xf9010000 0x0 0xf9010000 0x0 0x10000 > + 0x82000000 0x0 0xc0000000 0x0 0xc0000000 0x0 0x20000000>; > status = "okay"; > }; > > -- > 2.20.1 > -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com