From patchwork Tue Jul 28 10:45:41 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ley Foon Tan X-Patchwork-Id: 6883501 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1AAD39F38B for ; Tue, 28 Jul 2015 11:01:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1B7BF206FA for ; Tue, 28 Jul 2015 11:01:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3776320688 for ; Tue, 28 Jul 2015 11:01:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751985AbbG1LAp (ORCPT ); Tue, 28 Jul 2015 07:00:45 -0400 Received: from mail-bn1on0091.outbound.protection.outlook.com ([157.56.110.91]:29757 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755520AbbG1LAm (ORCPT ); Tue, 28 Jul 2015 07:00:42 -0400 Received: from BLUPR03MB309.namprd03.prod.outlook.com (10.141.48.22) by BLUPR03MB181.namprd03.prod.outlook.com (10.255.212.146) with Microsoft SMTP Server (TLS) id 15.1.231.11; Tue, 28 Jul 2015 10:45:58 +0000 Received: from BN3PR0301CA0073.namprd03.prod.outlook.com (10.160.152.169) by BLUPR03MB309.namprd03.prod.outlook.com (10.141.48.22) with Microsoft SMTP Server (TLS) id 15.1.225.19; Tue, 28 Jul 2015 10:45:57 +0000 Received: from BN1AFFO11FD054.protection.gbl (2a01:111:f400:7c10::192) by BN3PR0301CA0073.outlook.office365.com (2a01:111:e400:401e::41) with Microsoft SMTP Server (TLS) id 15.1.225.19 via Frontend Transport; Tue, 28 Jul 2015 10:45:57 +0000 Authentication-Results: spf=softfail (sender IP is 66.35.236.227) smtp.mailfrom=altera.com; vger.kernel.org; dkim=none (message not signed) header.d=none; Received-SPF: SoftFail (protection.outlook.com: domain of transitioning altera.com discourages use of 66.35.236.227 as permitted sender) Received: from sj-itexedge03.altera.priv.altera.com (66.35.236.227) by BN1AFFO11FD054.mail.protection.outlook.com (10.58.53.69) with Microsoft SMTP Server (TLS) id 15.1.231.11 via Frontend Transport; Tue, 28 Jul 2015 10:45:56 +0000 Received: from sj-mail01.altera.com (137.57.1.6) by webmail.altera.com (66.35.236.227) with Microsoft SMTP Server (TLS) id 14.3.174.1; Tue, 28 Jul 2015 03:44:39 -0700 Received: from leyfoon-vm (pg-lftan-l.altera.com [137.57.103.123]) by sj-mail01.altera.com (8.13.7+Sun/8.13.7) with SMTP id t6SAjoOw011039; Tue, 28 Jul 2015 03:45:51 -0700 (PDT) Received: by leyfoon-vm (sSMTP sendmail emulation); Tue, 28 Jul 2015 18:45:58 +0800 From: Ley Foon Tan To: Bjorn Helgaas , Russell King , Arnd Bergmann , Dinh Nguyen CC: , , , , , Ley Foon Tan , , Rob Herring Subject: [PATCH 2/6] arm: mach-socfpga: enable pci support Date: Tue, 28 Jul 2015 18:45:41 +0800 Message-ID: <1438080345-7233-3-git-send-email-lftan@altera.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1438080345-7233-1-git-send-email-lftan@altera.com> References: <1438080345-7233-1-git-send-email-lftan@altera.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD054; 1:Dcz3qPEElebxwA1/m39/FypZNaPuXFzGUPxvtLPTmtD7Ia9V//wenPDfm53KCEPkGJiT5Urk+9JwLl0yRUU+nVjND6jonv1lbIu8X/llhY4OVbdeS0m9bULzYPpbib05dliGbAKSmNI2N4SC63kR5lo5X7K/4HS0QW7gyAFKwxrQQv3Co1ssYoEMUMAs9AfM47YcXmRpXc+qGx0EToBQTZXuaxRnh/7pDOm0sj2Ao4PpEffjjNDX9IINqrpjVeufPBfkSdlCJ5rthI2xuWWPGw+BUKcZZrMGNRpYm/6Hw9iemeTIyAEcIldiiLrpo01n X-Forefront-Antispam-Report: CIP:66.35.236.227; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(189002)(199003)(36756003)(50466002)(50986999)(4001450100002)(48376002)(5001770100001)(76176999)(77156002)(42186005)(229853001)(46102003)(62966003)(86362001)(87936001)(106466001)(2950100001)(33646002)(5001920100001)(189998001)(47776003)(92566002)(50226001)(105596002)(19580405001)(5001960100002)(19580395003)(6806004)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB309; H:sj-itexedge03.altera.priv.altera.com; FPR:; SPF:SoftFail; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB309; 2:PtZ857UN3fSOGbTltCHNEsj8jnYejq+F8qhQ2ILD+cfayvXCfjqzKgpzLAuBJTeNkRuqQTIiWvv5S0sqSMdjyJgRqa9bzegEuWIbqV7rgWhyrTO7sXEgqhQs9GwyZUpyDXPjZqFi96isKlvcpCxlMX4IkLMrRQkWbPIOsLz6mpQ=; 3:DsnbcUowfsnc6dskRg9NReq5UWIFRjz8/e2EmKP8Yb3UkIZaERsBdTYzu9oTgd2uW98+i2XbfqQ6HGQHUk7DFSohD7kB4CXLMm91EntsIA04gwGr6SZGD+Bil6SeN1wJkHt7xYefmhonLyfGS4dN1GKz0KFGNHLZfUdCuSuj9NKOp8hjGrLqpevvfAahDis+0Dfmss6AFQsnEu8FjmWVbABgKXpnyQz0DU2k5BBdV/Y=; 25:pJvcDdxNQV9I0VnbC809yeKjNRt2TDkTAfjW0UCHcwiZ1s/14iODFbxG9gD/JaNrRzhRxL6FnIOhVDxd3weKKTysUgjnGE9kLWIrkr6NN8z9DizbEeM5bgfEJkLHiQMi0FhstR4SEAMddLTn2FrEZ0eTCiBrvRCKdT+X8vJZsIs9gBxtCRAXpgRLR4eCXTn4nUIRljTerRsl7A2ZrzUDIESX93NdlTNVO2KtpaDcroIBMgGBCX0iii3qYrZVBaUS4nx+EmGGhzUPEHzPj534wQ==; 20:vuuR9kvUrhbTVDJ0fz4XG+GEmctbDlrqsr+GU0qV6wm9m7eocZZYLDRoFPfqQihiwHPip3UXVwr/spWjQb9Ozos5weH6virQViIEjLi4hpUQHGXZdCsajnDLFh3yxsunSr6SuOLMKMGxp7XMyh+tDODGqs4QbT8YuQQL1Facz30= X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BLUPR03MB309; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BLUPR03MB181; BLUPR03MB309: X-MS-Exchange-Organization-RulesExecuted X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:BLUPR03MB309; BCL:0; PCL:0; RULEID:; SRVR:BLUPR03MB309; X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB309; 4:uNfJ5inq1ibl38VBw4MROJXYgPgMzKBVaitbpFFThB7wf+65iKUmlQHW/CoSPSYDNVmTleYT42JXNgYffEkQ/lwgv8lfUr3hQuSzQbwBS2vUaclLx8aSdu3yt2RWkZgbtbDV2rqMcplukmFNf1b0S3TVfMThaudddUDKvmgPbCFDSaPnQJnfMai9eEBoqAyvWS9wab5OWoEPT/zk9xjgy8Z8Vw65rHSMZjKADCV6kQLe6qp/bs225lMyguqh1CEJn4EKcNiGhUcCKI2TSdry4J8BWVW/179y4IjANQ/evb8= X-Forefront-PRVS: 06515DA04B X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB309; 23:tOQ1tlalXq1QN+bZl63z2efMUc3+hTcVycOT9RelduSUVCX0tvWm99iWd1kb1C8g3ACxBVRvf+Ail919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/i+EEZSH+d7fZXgWC6zwECdoOeipeCjXNU3OOrooHqRreotAutEn+bG7IIk=; 20:LMa08EXljjQHhI7vsd3NLvN1HsiAzIzM0Q8z5Yd5LOeXhHbrjge8L6wreryt36+jB26Ug0vrA9Hoj2s5ak7gx7KOU0eKUNa9VIkE8FL07zrAHLelO+eBcRV4LXdetLFZtu5P/eff+cD+4Tcb1Nocl8bXXN0kuYX/MeNniKIQiIw= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jul 2015 10:45:56.9741 (UTC) X-MS-Exchange-CrossTenant-Id: fbd72e03-d4a5-4110-adce-614d51f2077a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fbd72e03-d4a5-4110-adce-614d51f2077a; Ip=[66.35.236.227]; Helo=[sj-itexedge03.altera.priv.altera.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR03MB309 X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB181; 2:QAysfOSo7kl6fApGYKW8Z5TuH1rFvXPjb0+gr5JX5R46SwmBH2b/KSUD/EnqNzGZywxfSLUNe25CEqADJpnOT8TNJaVn2bXgeslPB9lb8RHx+4VpvGCy6gDnemBAZ+cgOLm0VxkI78nPu+/8x+F93c16EAw2D7KQ840UsJbbzug=; 3:sgmwjSxszYmHjwxIDv4zKmI3uuC50AzfHqv3e1tCj3E5L/2dX7/yADuRJOEG5BlWSpMLoulnIvQI2kxY77tfU2ci4YhdpE2HX7ShUQJjEeMRBXiKfxttrMO8xYlb1jrLY8KGmtJQjMtZHN/tL5x2qSmfBAoBcXtg4WfD2+4eaJGEm9vmWYwumjgTvHbbBwnTytuxByevllcWvfBwuwpoz6dwzn8GWcEXZ6CwNiQQlx4=; 25:R9P6piC2Iazgmg5AV6iQ786GxMtReXCpvBFmuAUiVHFmcwe28BP9h/07e6OWrMWTixR9ivN522REj67Gq8Bq/pnc3t2y0+JWiWq/aYziiF7xLQNeuWnVCeHTI+E7qDuelEX4wxmO0TaqhCY+daf65jTNPxizqBJMScQjG3V8k25mplJyM1vEBKPabOo9be8efyB6dPSxtDC1EL38e3WQ1kkgMWs4S+efS1L12AopbbXcrVMPMQZh0sFRH7+lFIPs6wilv2xclgsLaNa7Oc7hOA==; 23:aX+KvjJybV6s/hCiUj44Rz8l5HqVj6sMl1+cxLClq5qhnp6ptuXIm8NKPO/SIGFl/LuSdAf8OBXgrUK/ow48pXMypVoK2k7jacVOELFYbQot2DJLO0JV3G6TuwmSBd2JUzL4FWj5SpxUzeCTHGoQaGRQf2yrHQNYRRCpygANH4Cc9O9MvO5dyXTyOHjUkONs X-OriginatorOrg: altera.com Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 Enable CONFIG_ARCH_SUPPORT_MSI and CONFIG_PCI in SOCFPGA platform. Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-socfpga/Kconfig b/arch/arm/mach-socfpga/Kconfig index 90efdeb..7ff4576 100644 --- a/arch/arm/mach-socfpga/Kconfig +++ b/arch/arm/mach-socfpga/Kconfig @@ -1,6 +1,7 @@ menuconfig ARCH_SOCFPGA bool "Altera SOCFPGA family" if ARCH_MULTI_V7 select ARCH_SUPPORTS_BIG_ENDIAN + select ARCH_SUPPORTS_MSI select ARM_AMBA select ARM_GIC select CACHE_L2X0 @@ -9,6 +10,7 @@ menuconfig ARCH_SOCFPGA select HAVE_ARM_SCU select HAVE_ARM_TWD if SMP select MFD_SYSCON + select PCI if ARCH_SOCFPGA config SOCFPGA_SUSPEND