From patchwork Fri Apr 8 08:17:07 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joerg Roedel X-Patchwork-Id: 694131 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p388HNf9009475 for ; Fri, 8 Apr 2011 08:17:24 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750979Ab1DHIRV (ORCPT ); Fri, 8 Apr 2011 04:17:21 -0400 Received: from ch1outboundpool.messaging.microsoft.com ([216.32.181.182]:59002 "EHLO ch1outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750727Ab1DHIRT (ORCPT ); Fri, 8 Apr 2011 04:17:19 -0400 Received: from mail133-ch1-R.bigfish.com (216.32.181.172) by CH1EHSOBE011.bigfish.com (10.43.70.61) with Microsoft SMTP Server id 14.1.225.8; Fri, 8 Apr 2011 08:17:17 +0000 Received: from mail133-ch1 (localhost.localdomain [127.0.0.1]) by mail133-ch1-R.bigfish.com (Postfix) with ESMTP id 94D52DB00A7; Fri, 8 Apr 2011 08:17:17 +0000 (UTC) X-SpamScore: -2 X-BigFish: VPS-2(zzbb2cKzz1202hzz8275bhz32i668h839h63h) X-Spam-TCS-SCL: 2:0 X-Forefront-Antispam-Report: KIP:(null); UIP:(null); IPVD:NLI; H:ausb3twp01.amd.com; RD:none; EFVD:NLI Received: from mail133-ch1 (localhost.localdomain [127.0.0.1]) by mail133-ch1 (MessageSwitch) id 1302250637417687_17460; Fri, 8 Apr 2011 08:17:17 +0000 (UTC) Received: from CH1EHSMHS030.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.240]) by mail133-ch1.bigfish.com (Postfix) with ESMTP id 5AB2091804C; Fri, 8 Apr 2011 08:17:17 +0000 (UTC) Received: from ausb3twp01.amd.com (163.181.249.108) by CH1EHSMHS030.bigfish.com (10.43.70.30) with Microsoft SMTP Server id 14.1.225.8; Fri, 8 Apr 2011 08:17:16 +0000 X-WSS-ID: 0LJBR0Q-01-AHI-02 X-M-MSG: Received: from sausexedgep01.amd.com (sausexedgep01-ext.amd.com [163.181.249.72]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by ausb3twp01.amd.com (Axway MailGate 3.8.1) with ESMTP id 2180E102815D; Fri, 8 Apr 2011 03:17:13 -0500 (CDT) Received: from sausexhtp02.amd.com (163.181.3.152) by sausexedgep01.amd.com (163.181.36.54) with Microsoft SMTP Server (TLS) id 8.3.106.1; Fri, 8 Apr 2011 03:17:40 -0500 Received: from storexhtp02.amd.com (172.24.4.4) by sausexhtp02.amd.com (163.181.3.152) with Microsoft SMTP Server (TLS) id 8.3.83.0; Fri, 8 Apr 2011 03:17:14 -0500 Received: from gwo.osrc.amd.com (165.204.16.204) by storexhtp02.amd.com (172.24.4.4) with Microsoft SMTP Server id 8.3.83.0; Fri, 8 Apr 2011 04:17:13 -0400 Received: from lemmy.osrc.amd.com (lemmy.osrc.amd.com [165.204.15.93]) by gwo.osrc.amd.com (Postfix) with ESMTP id 99FF549C59B; Fri, 8 Apr 2011 09:17:12 +0100 (BST) Received: by lemmy.osrc.amd.com (Postfix, from userid 1000) id 89350FFB89; Fri, 8 Apr 2011 10:17:12 +0200 (CEST) From: Joerg Roedel To: , Jesse Barnes CC: , , Joerg Roedel Subject: [PATCH 2/5] x86/amd-iommu: Select PCI_IOV with AMD IOMMU driver Date: Fri, 8 Apr 2011 10:17:07 +0200 Message-ID: <1302250630-8183-3-git-send-email-joerg.roedel@amd.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1302250630-8183-1-git-send-email-joerg.roedel@amd.com> References: <1302250630-8183-1-git-send-email-joerg.roedel@amd.com> MIME-Version: 1.0 X-OriginatorOrg: amd.com Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 08 Apr 2011 08:17:26 +0000 (UTC) In order to support ATS in the AMD IOMMU driver this patch makes sure that the generic support for ATS is compiled in. Signed-off-by: Joerg Roedel --- arch/x86/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index cc6c53a..8cc29da 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -690,6 +690,7 @@ config AMD_IOMMU bool "AMD IOMMU support" select SWIOTLB select PCI_MSI + select PCI_IOV depends on X86_64 && PCI && ACPI ---help--- With this option you can enable support for AMD IOMMU hardware in