Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2333668yba; Fri, 17 May 2019 15:09:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqyLkOeVIV9MAnGNh5ZSeRWYYCKtiSuFJHxgounDTA9zWJI6Lo/v4Ym5WFdbydFQthQAnewb X-Received: by 2002:a65:520b:: with SMTP id o11mr5178437pgp.184.1558130955313; Fri, 17 May 2019 15:09:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558130955; cv=none; d=google.com; s=arc-20160816; b=JkdXHyA1kuygp9sZw64z7LfI0xsAP5Knaxc69FrDxfG5Jz2rn/Giwd9NMemTrDJJwj fMIToSkFMZ22aubh9VJOWr5rOFPBHa4t4S+oP8ulaSvgEpot932wmAR8fWVr1/UCAjys gWx2Yc5Vp6aVgIvWeA+CzQNXrXRdmfvlag795AwMQEB0tCaF9pa5hMoqKF/j8ILP3yvf TAyb+9ATl/+XBeVCs/tvth7oj8ntTVjnuuuisZWlXagf+UlWVccrU2RglgqYjxjROVgq 926ZTRDQGdnGxrrBJEtC44rf+6KTcIX0FV3+tMZuue3uAzSrHnRgo/Y9dkVI3P12q3Tu /vLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:cc:to:subject :dkim-signature; bh=H+Sb8N0pMyjZL5t5c6dETpuifAxac097UjLxp5a8Pqg=; b=rAd/4fGL/69U5FFb/FToCiftxOusYFbn9Fa2N8yfMXQz1s0xOaCxvbov6RSpAlDuEB 7uhFUL1h/W40aBjR1W1l1PHHpnqYzhtDzcXgEc4f8jpopPz9m3tNhW6dE/CeyOZ7Q9Zj MGurAwCxHtwu8RmJYKX3aq2lKBIJC5s7FDrBtn6qTJn+cNcJCuuLwsExD7cAFtboyioI 7sLomvGt2pOkb6HpxE/KWr/WDmG+EQY5eYkRLLM9n9NLzvmr5ewloG5i3MuXX9RxYyF5 yuJZemVuRaAv9r1fOszfrSLOvH59835y1RPjfxs76zjvMGHpvejJJSn3W5MmvhJX4+yQ Lujw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=B2DGTI5U; 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 k13si8692581pll.64.2019.05.17.15.08.51; Fri, 17 May 2019 15:09:15 -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; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=B2DGTI5U; 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 S1728110AbfEQU4R (ORCPT + 99 others); Fri, 17 May 2019 16:56:17 -0400 Received: from mout.gmx.net ([212.227.17.21]:41595 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726978AbfEQU4Q (ORCPT ); Fri, 17 May 2019 16:56:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1558126560; bh=HI4SNpJD9kyetB4gW9KvGGP7C6zR9uWQeIt7hvEdDT4=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=B2DGTI5UL1+F3FQ/bVS3Iz5EbZvCTcq4mMe8TteAC0S+1LYUlgKYR1kM5aszCL4ZO T/yAKFm/by1CAknhEC1jbu39yEtL5oowHQWWIQavTvTJeiK+IP/FrdJCSIzROn0uPc gabEe7dDlJXoWPQUcV/JXfBeFQMbvGM1hbWYDA7I= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.123.56] ([84.118.159.3]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Lmazv-1grqmK3Yjj-00aF8W; Fri, 17 May 2019 22:55:59 +0200 Subject: Re: [PATCH 1/1] arm64: dts: marvell: mcbin: enlarge PCI memory window To: Gregory CLEMENT , 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, Thomas Petazzoni References: <20190517161123.9293-1-xypron.glpk@gmx.de> <87k1eozvxb.fsf@FE-laptop> From: Heinrich Schuchardt Openpgp: preference=signencrypt Autocrypt: addr=xypron.glpk@gmx.de; prefer-encrypt=mutual; keydata= mQINBE2g3goBEACaikqtClH8OarLlauqv9d9CPndgghjEmi3vvPZJi4jvgrhmIUKwl7q79wG IATxJ1UOXIGgriwoBwoHdooOK33QNy4hkjiNFNrtcaNT7uig+BG0g40AxSwVZ/OLmSFyEioO BmRqz1Zdo+AQ5RzHpu49ULlppgdSUYMYote8VPsRcE4Z8My/LLKmd7lvCn1kvcTGcOS1hyUC 4tMvfuloIehHX3tbcbw5UcQkg4IDh4l8XUc7lt2mdiyJwJoouyqezO3TJpkmkayS3L7o7dB5 AkUwntyY82tE6BU4quRVF6WJ8GH5gNn4y5m3TMDl135w27IIDd9Hv4Y5ycK5sEL3N+mjaWlk 2Sf6j1AOy3KNMHusXLgivPO8YKcL9GqtKRENpy7n+qWrvyHA9xV2QQiUDF13z85Sgy4Xi307 ex0GGrIo54EJXZBvwIDkufRyN9y0Ql7AdPyefOTDsGq5U4XTxh6xfsEXLESMDKQMiVMI74Ec cPYL8blzdkQc1MZJccU+zAr6yERkUwo1or14GC2WPGJh0y/Ym9L0FhXVkq9e1gnXjpF3QIJh wqVkPm4Two93mA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y1mlCv6KmJBRENfOIZBFUqXCtODPvO5TcduJV/5XuxbTR/33Zj7ez2uZkOEuTs/pPN oKMATC28qfg0qM59YjDrrkdXi/+iDe7qCX93XxdIxpA5YM/ZiqgwziJX8ZOKV7UDV+Ph5KwF lTPJMPdQZYXDOt5DjG5l5j0cQWqE05QtYR/V6g8un6V2PqOs9WzaT/RB12YFcaeWlusa8Iqs Eg== Message-ID: Date: Fri, 17 May 2019 22:55:50 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <87k1eozvxb.fsf@FE-laptop> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:WG4WahyBFtDa+GEWF5Q+TwdDp3t4SgzQhiMyiwQLv9Cg13MVoy6 L2EhChJbrPekk8oYRt1n7L+izJQmFajXgmL+ks6sjWNRiPZUX0HjbTXyvFKgbhIxeGlKEgF sXur02qQ4nnUMi0ofhuYTfZtq5FYAS+0tSFY3HSpwscp+fuoH32PVV62jzSGhjOQKW5Kczo EZvT7WQIjWQEUAxjIo4AA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:eb2OA9PKOyQ=:xzL2EDMVNgEGhEppyiah6t wZfrmxd2/skrW2i0rzMYRQy1Q43klUy6AS45OT6M8clhbnc3kHAbqoM5akYn4AkUeA63U243A pyA9LFg6eoQyxruWegJa10lqRJiq9IDLK9f0HCw8Jx5R+TT7wmfA1UKN1cFa51te6GLhmnNJu nVrPEySKTnYR8Gg+q1Y2q2Kj+4yhCZAgWjydfSUbhVhAAhzly+1r6DL2QgSkmFrRGmzS3TZKh Ki8/KZEhVJXtP1i2YiCCE3769ZvLWoPxmK+zSpchz9THiqloVyXIe4/o88a4R+1geCHG0EzLS wbdXdVOX4Zk7RGcKukPWx9RC3OVuEmwI5WWEGFtJgTPjvHnBm9v2eztwJIMJYEppxeZsPf0JS 42kuOys44o9+ijaAy2f0zqkfJ/jcZJj1v4PVL7XrW1WTOJugd3j+CCiF5Ho2T9bqJzBGIvoTr tUqO28oO87p/m7b+52nGpLiJOqosBGZswiaJGLsg8izCMxQ8KIO1sA0D0ojyCZQ1/vvVZymTx d+swna9fM4n67CQUJoZc+J5Gd8IUp0qAtBo13RznyQF/Y+gv010cRKGY1VCJU0QZB4hWYr/TD rrRFjVpSeahV16mX7dBksRdvGBNvVf2UQw6DU6DuVxYBzdCLToZnCaOvX0BeeCOBiBpNs3BwJ gis7uTRFH1MmeMLoc7Ob+njaiUA+GNV16NqOBKdt31+1uqM3o2fSYKVDLQG8hXMF4rNRSLH4t bOG8NmBAToDICkbIbeOc9K1ukBQA23bR+yqSYNx+xdXv+dVoku9/VmX2g0GbhVz5HcNZKPeKR ztc1moV9PcgaTPfRuabsVRxEBebPdYr5DfV6nGtOkAULJBCF/5JiqVVXmmmxJt6QNFqtjEPLU TU+0kmw80huQAQwdH3wU9hulUuV2ug/CYIQDFtvKyJCgEnBH83J6m/smlub6Jx59yVfBJZ1Mk dbkQSXxKHxyetR6wxK89hRX+HZ1lJCK0OqWrEAkBCMaO5tvvAUnl1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/17/19 10:08 PM, Gregory CLEMENT wrote: > 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. Thanks for reviewing. Do I have to resend with corrected wording? > >> >> 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 onbo= ard >> memory. >> >> These are the mapped memory areas that the graphics adapter is actually >> using: >> >> Region 0: Memory at cc000000 (32-bit, non-prefetchable) [size=3D16M] >> Region 1: Memory at c0000000 (64-bit, prefetchable) [size=3D128M] >> Region 3: Memory at c8000000 (64-bit, prefetchable) [size=3D32M] >> Region 5: I/O ports at 1000 [size=3D128] >> Expansion ROM at ca000000 [disabled] [size=3D512K] > >>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. > To which repository are your referring? Best regards Heinrich > 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 =3D <4>; >> num-viewport =3D <8>; >> reset-gpios =3D <&cp0_gpio2 20 GPIO_ACTIVE_LOW>; >> + ranges =3D <0x81000000 0x0 0xf9010000 0x0 0xf9010000 0x0 0x10000 >> + 0x82000000 0x0 0xc0000000 0x0 0xc0000000 0x0 0x20000000>; >> status =3D "okay"; >> }; >> >> -- >> 2.20.1 >> >