From patchwork Tue Nov 4 17:38:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Phil Edworthy X-Patchwork-Id: 5230351 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2264C9F3EE for ; Tue, 4 Nov 2014 17:41:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 567162011E for ; Tue, 4 Nov 2014 17:41:12 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 78E932011D for ; Tue, 4 Nov 2014 17:41:11 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xli4L-0004sU-Sj; Tue, 04 Nov 2014 17:39:01 +0000 Received: from relmlor3.renesas.com ([210.160.252.173] helo=relmlie2.idc.renesas.com) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xli4H-0004pL-Fy for linux-arm-kernel@lists.infradead.org; Tue, 04 Nov 2014 17:38:58 +0000 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie2.idc.renesas.com with ESMTP; 05 Nov 2014 02:38:35 +0900 Received: from relmlac3.idc.renesas.com (relmlac3.idc.renesas.com [10.200.69.23]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id 3E0933BCB6; Wed, 5 Nov 2014 02:38:35 +0900 (JST) Received: by relmlac3.idc.renesas.com (Postfix, from userid 0) id 2CA6E1806F; Wed, 5 Nov 2014 02:38:35 +0900 (JST) Received: from relmlac3.idc.renesas.com (localhost [127.0.0.1]) by relmlac3.idc.renesas.com (Postfix) with ESMTP id 277E31800A; Wed, 5 Nov 2014 02:38:35 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac3.idc.renesas.com with ESMTP id CAG07686; Wed, 5 Nov 2014 02:38:35 +0900 X-IronPort-AV: E=Sophos;i="5.07,313,1413212400"; d="scan'208";a="174046862" Received: from unknown (HELO relay41.aps.necel.com) ([10.29.19.9]) by relmlii2.idc.renesas.com with ESMTP; 05 Nov 2014 02:38:34 +0900 Received: from DU0NOTES13.ad.ree.renesas.com ([172.29.24.131]) by relay41.aps.necel.com (8.14.4+Sun/8.14.4) with ESMTP id sA4HcYfn015106; Wed, 5 Nov 2014 02:38:34 +0900 (JST) Received: from renesas.ad.ree.renesas.com ([172.29.43.47]) by DU0NOTES13.ad.ree.renesas.com (Lotus Domino Release 8.5.3 HF466) with ESMTP id 2014110418383323-71452 ; Tue, 4 Nov 2014 18:38:33 +0100 From: Phil Edworthy To: linux-sh@vger.kernel.org X-Mailer: git-send-email 1.9.1 X-TNEFEvaluated: 1 Message-ID: <1415122708-4011-1-git-send-email-phil.edworthy@renesas.com> Date: Tue, 4 Nov 2014 17:38:28 +0000 Subject: [PATCH] ARM: shmobile: Enable PCI domains for R-Car Gen2 devices X-MIMETrack: Itemize by SMTP Server on DU0NOTES13/SERVER/REE(Release 8.5.3 HF466|March 09, 2012) at 04.11.2014 18:38:33, Serialize by Router on DU0NOTES13/SERVER/REE(Release 8.5.3 HF466|March 09, 2012) at 04.11.2014 18:38:34, Serialize complete at 04.11.2014 18:38:34 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141104_093857_736081_86F7D05D X-CRM114-Status: UNSURE ( 9.11 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.6 (/) Cc: linux-pci@vger.kernel.org, Phil Edworthy , Simon Horman , LAKML X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The PCI core will soon automatically handle the PCI domain number, allowing the internal PCI and external PCIe bridges work at the same time. In order for that to work, we need to enable PCI_DOMAINS. Signed-off-by: Phil Edworthy --- In order to automatically handle the PCI domain number, we need a patch from Lorenzo Pieralisi: "[RFC PATCH 2/2] arm: pcibios: move to generic PCI domains" However, enabling PCI_DOMAINS without this doesn't have an adverse effect, and the plan is to use PCI domains to solve this problem, so we can apply this patch straight away. arch/arm/mach-shmobile/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig index 21f457b..1c05768 100644 --- a/arch/arm/mach-shmobile/Kconfig +++ b/arch/arm/mach-shmobile/Kconfig @@ -18,6 +18,7 @@ config ARCH_RCAR_GEN2 select PM_RCAR if PM || SMP select RENESAS_IRQC select SYS_SUPPORTS_SH_CMT + select PCI_DOMAINS if PCI config ARCH_RMOBILE bool