From patchwork Wed Sep 24 15:37:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Richter X-Patchwork-Id: 4967791 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 82C52BEEA5 for ; Wed, 24 Sep 2014 15:41:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4D9E820125 for ; Wed, 24 Sep 2014 15:41:28 +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 2B0CD2011B for ; Wed, 24 Sep 2014 15:41:27 +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 1XWofD-0002qC-6z; Wed, 24 Sep 2014 15:39:31 +0000 Received: from mail-wi0-x230.google.com ([2a00:1450:400c:c05::230]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XWoeD-00026N-6u for linux-arm-kernel@lists.infradead.org; Wed, 24 Sep 2014 15:38:30 +0000 Received: by mail-wi0-f176.google.com with SMTP id fb4so7173882wid.15 for ; Wed, 24 Sep 2014 08:38:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=03Vkmx0HGy/kwsRoZU8ZZyKDGTmFaKr0bsBnuMwfI3g=; b=nKci6Pto1Q0qVWjXR27BKtKwyU2NWLhHEp0l2ujHjNTskwO/cLczNb0g0XmaNi/Rb4 tBMIZWdQOzFp5wPqGV0F94kXMPnG7cskx6TED4Tqji9kKZiQcRI53gnZL/mAd3JyNbH5 GEMkxOwN/6B0F/2ujfNNa9xlLCv54U1XFsB1vuNnrFW691ZSVuzUUTP6b43+g6HW0QKs 00sKg+ZzZypVAZ77tvhoaX2OUASzyzHYG1/AsFN9KvNyzLfUOprooztR5QSqqjQNhDJO DyhOefx3/tP9bBw53zJc7EbLRd+eesI06HO2PgY3vkbs5/WiNtckRVUURQGD3UiQYJH8 CnTw== X-Received: by 10.181.23.196 with SMTP id ic4mr31429336wid.69.1411573090067; Wed, 24 Sep 2014 08:38:10 -0700 (PDT) Received: from rric.localhost (f053087200.adsl.alicedsl.de. [78.53.87.200]) by mx.google.com with ESMTPSA id ky3sm19788016wjb.39.2014.09.24.08.38.08 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 24 Sep 2014 08:38:09 -0700 (PDT) From: Robert Richter To: Bjorn Helgaas , Catalin Marinas , Will Deacon Subject: [PATCH 6/6] pci, thunder: Enable Cavium Thunder PCIe host controller Date: Wed, 24 Sep 2014 17:37:48 +0200 Message-Id: <1411573068-12952-7-git-send-email-rric@kernel.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1411573068-12952-1-git-send-email-rric@kernel.org> References: <1411573068-12952-1-git-send-email-rric@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140924_083829_467972_9ED89F79 X-CRM114-Status: UNSURE ( 9.46 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: Arnd Bergmann , linux-pci@vger.kernel.org, Liviu Dudau , linux-kernel@vger.kernel.org, Robert Richter , Rob Herring , Sunil Goutham , linux-arm-kernel@lists.infradead.org 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,DKIM_SIGNED, RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,T_DKIM_INVALID,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 From: Robert Richter Enable Cavium Thunder PCIe host controller driver. IOV is enabled per default if drivers with IOV support are enabled. IOV can be disabled. Signed-off-by: Robert Richter --- arch/arm64/Kconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 97777e1ef5a7..bd9724e5c8a1 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -172,6 +172,14 @@ config PCI config PCI_MSI def_bool PCI +config NO_PCI_IOV + def_bool PCI + depends on !PCI_THUNDER + +config PCI_IOV + def_bool PCI + depends on !NO_PCI_IOV + config PCI_DOMAINS def_bool PCI @@ -185,6 +193,9 @@ source "drivers/pci/Kconfig" source "drivers/pci/pcie/Kconfig" source "drivers/pci/hotplug/Kconfig" +config PCI_THUNDER + def_bool PCI + endmenu menu "Kernel Features"