Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752809AbbGILs2 (ORCPT ); Thu, 9 Jul 2015 07:48:28 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:59314 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752594AbbGILsU (ORCPT ); Thu, 9 Jul 2015 07:48:20 -0400 From: Arnd Bergmann To: Duc Dang Cc: Bjorn Helgaas , Catalin Marinas , Ian Campbell , Pawel Moll , Rob Herring , Mark Rutland , Kumar Gala , Will Deacon , "David S. Miller" , devicetree@vger.kernel.org, linux-pci@vger.kernel.org, linux-arm , linux-kernel@vger.kernel.org, Tanmay Inamdar , patches Subject: Re: [PATCH v2 0/2] pci: xgene: Add multiple memory ranges support Date: Thu, 09 Jul 2015 13:47:39 +0200 Message-ID: <1481643.dA4ocqzitg@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: References: <46305464.n5SOjGAhJb@wuerfel> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:iUm+GqxT7laGiTIPUEa8GtTTXxRTIXxN/j7i8Hu7ewXRiO5O3sJ BhjwT5b8Vmk3JLMI4XtDkfSBqX7CwOSg32Nkuatp+1SnGEywRGWoDL/ahXVzb2sJsd6N37H lTmz7Z6UQ/QgVhjzuFHq2G69XPA/H69WqKdN60IlmK8rFBT8Zo9+Q4HMX4DAwmJILLiPqxY CiJYa7PRTv+zQgZfhIcRg== X-UI-Out-Filterresults: notjunk:1;V01:K0:dBY9JQ3vDM0=:2YAZ2Q/BM/fagLgC3RsDXG Dh2JGjeIV8KvQEkCKsosATWy+oILL49FAM3pk8VSJ61bezFYN7cAGWJraXD6+05BHgyOBJtcb W+Smwz9NaE0W3MwVcNdvZAKY58vjQhQ7MEwPqQK64QNrsPYRqhSDSrPqlMKy/L+9v43jSUss5 eahI9eJGF8bINrmA8usA1Yce7OJ7UQ2HS04aTSnmVbMgud2IdJen0rEF03cr7ye3LeY7m5eIh qrlnK2vX2e72QZDnDLKQOVF80g+kywpSvtFwQv48n6JHE11/R3eFqtnIEMjXr7m+3A8flxOQu QxwyiSHezGs4cE7znKznRtnBW2lnGgEfBkf08WIySqdmt48MsMweACxPXoQzjqxOcUhrIcF7v eY/+Rq5Mlc0IYtWcXAyn/LjMlKyHz+Bj5jmZIGCIiyHeWOtngYEGr0eOO8yd9j08AK/XjucU8 sajAe5BFM7SuHjoZFfoXXBZ/2jJgqVK3CM6Ffnb3upeFbWErVmusPdhvBGlQ6pD4SeBQxvMMk cr0UXuZN3MtxjnzcRgo1z7YOebGTYKT0tGJ/mBshzEwiGI5J3s2kQH6qJei6dGO13g25DuwGZ +JeJd451WyQEs8fgKyEA0PRjrLqY1LzogV9jo2dpoWnEfXRMKLuJvViu8JYM8pBbAQj8PS7Xf JjvotU5tFI7jjSOhw5dU8EVMc5He3huaCy6fPiiS5osWgQg== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1470 Lines: 35 On Monday 06 July 2015 16:28:43 Duc Dang wrote: > On Tue, Jun 30, 2015 at 11:22 AM, Duc Dang wrote: > > This patch set adds 1 large (up to 64GB) memory window for each PCIe > > controller nodes in X-Gene device tree and fix PCIe controller driver > > to handle multiple memory ranges correctly. These changes are required > > to support PCIe devices that has huge BAR. > > > > v2 changes: > > 1. Separate device-tree changes and driver changes into different > > patches > > 2. Explicitly define new large window as 64-bit prefetchable in dts > > 3. Use IORESOURCE_PREFETCH flag to determine which PCIe controller > > register to be used to configure the memory ranges. > > > > arch/arm64/boot/dts/apm/apm-storm.dtsi | 23 ++++++++++++++--------- > > drivers/pci/host/pci-xgene.c | 12 ++++++++++-- > > 2 files changed, 24 insertions(+), 11 deletions(-) > > Hi Arnd, Bjorn, > > Do you have additional comment on this v2 patch set? > > The changes look ok to me now, but I'd mention in the changelog about the fact that one of the windows is prefetchable and the other one is not, and that only prefetchable BARs are now using the 64-bit window. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/