Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933238AbbGUQO7 (ORCPT ); Tue, 21 Jul 2015 12:14:59 -0400 Received: from mail-ie0-f177.google.com ([209.85.223.177]:35228 "EHLO mail-ie0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932311AbbGUQO5 (ORCPT ); Tue, 21 Jul 2015 12:14:57 -0400 Date: Tue, 21 Jul 2015 11:14:46 -0500 From: Bjorn Helgaas To: Duc Dang Cc: Arnd Bergmann , 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-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Tanmay Inamdar , patches@apm.com Subject: Re: [PATCH v3 0/2] pci: xgene: Add multiple memory ranges support Message-ID: <20150721161446.GC21967@google.com> References: <1481643.dA4ocqzitg@wuerfel> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2472 Lines: 61 On Thu, Jul 09, 2015 at 02:20:10PM -0700, 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 have huge BAR. > > v3 changes: > 1. Explicitly mention in change log that: Each PCIe node in dts > will have 1 32-bit non-prefetchable memory window and 1 64-bit > prefetchable memory window. > > 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(-) Applied to pci/host-xgene for v4.3, with changelogs as follows, thanks! commit 80bb3eda7475eb38b688d2e915c191ce6ad20df1 Author: Duc Dang Date: Thu Jul 9 14:20:11 2015 -0700 arm64: dts: Add APM X-Gene PCIe 64-bit prefetchable window Add a large window (up to 64GB) for X-Gene PCIe nodes to support devices that require huge BARs. Each X-Gene PCIe node will now have two memory windows: a 32-bit non-prefetchable window and a 64-bit prefetchable window. [bhelgaas: changelog] Signed-off-by: Duc Dang Signed-off-by: Tanmay Inamdar Signed-off-by: Bjorn Helgaas commit 8ef54f27f6f425fa8deedc237d99b9daf41d68d2 Author: Duc Dang Date: Thu Jul 9 14:20:12 2015 -0700 PCI: xgene: Add support for a 64-bit prefetchable memory window X-Gene PCIe controller has registers to support multiple memory ranges. Add support for a 64-bit prefetchable memory window. [bhelgaas: changelog] Signed-off-by: Duc Dang Signed-off-by: Tanmay Inamdar Signed-off-by: Bjorn Helgaas -- 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/