From patchwork Fri Jul 22 08:26:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 9243129 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 62F73602F0 for ; Fri, 22 Jul 2016 08:29:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 48F0A27D76 for ; Fri, 22 Jul 2016 08:29:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3CFFE27F95; Fri, 22 Jul 2016 08:29:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C1D3D27D76 for ; Fri, 22 Jul 2016 08:29:49 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bQVo3-0003Ky-Qm; Fri, 22 Jul 2016 08:27:39 +0000 Received: from arroyo.ext.ti.com ([198.47.19.12]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bQVo1-0003Ia-4M for linux-arm-kernel@lists.infradead.org; Fri, 22 Jul 2016 08:27:37 +0000 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id u6M8QsE2021478; Fri, 22 Jul 2016 03:26:54 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id u6M8QsB1027279; Fri, 22 Jul 2016 03:26:54 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.294.0; Fri, 22 Jul 2016 03:26:53 -0500 Received: from [172.24.190.16] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id u6M8QmuR012969; Fri, 22 Jul 2016 03:26:49 -0500 Subject: Re: [PATCH 2/2] ARM: DRA7: select PCI_DOMAINS config To: Tony Lindgren , Arnd Bergmann References: <1469102276-14777-1-git-send-email-kishon@ti.com> <1469102276-14777-3-git-send-email-kishon@ti.com> <8047226.VhgpLo8JQu@wuerfel> <20160722071644.GZ28140@atomide.com> From: Kishon Vijay Abraham I Message-ID: <5791D8C7.5020303@ti.com> Date: Fri, 22 Jul 2016 13:56:47 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <20160722071644.GZ28140@atomide.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160722_012737_271381_97F9EE24 X-CRM114-Status: UNSURE ( 9.90 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, linux-pci@vger.kernel.org, nsekhar@ti.com, linux@armlinux.org.uk, linux-kernel@vger.kernel.org, robh+dt@kernel.org, bcousson@baylibre.com, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Hi, On Friday 22 July 2016 12:46 PM, Tony Lindgren wrote: > * Arnd Bergmann [160721 05:08]: >> On Thursday, July 21, 2016 5:27:56 PM CEST Kishon Vijay Abraham I wrote: >>> diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig >>> index 1a648e9..8e6e2c0 100644 >>> --- a/arch/arm/mach-omap2/Kconfig >>> +++ b/arch/arm/mach-omap2/Kconfig >>> @@ -86,6 +86,7 @@ config SOC_DRA7XX >>> select OMAP_INTERCONNECT_BARRIER >>> select PM_OPP if PM >>> select ZONE_DMA if ARM_LPAE >>> + select PCI_DOMAINS if PCI >>> >>> config ARCH_OMAP2PLUS >>> bool >>> >> >> Should we just set this unconditionally for ARCH_MULTIPLATFORM maybe? > > Makes sense to me if many SoCs need this. since it doesn't harm even if a platform has a single PCIe port, it should be okay to set PCI_DOMAINS. I'll resend the following as a separate patch if it's okay. Thanks Kishon diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 90542db..0cccb50 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -338,6 +338,7 @@ config ARCH_MULTIPLATFORM select MULTI_IRQ_HANDLER select SPARSE_IRQ select USE_OF + select PCI_DOMAINS if PCI config ARM_SINGLE_ARMV7M bool "ARMv7-M based platforms (Cortex-M0/M3/M4)"