Message ID | 20190613084240.16768-8-thunder.leizhen@huawei.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp947220ilk; Thu, 13 Jun 2019 09:10:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqzWquAPX54P2kTZIjARf8w8EdCS3Tt/hcqiMrXwXUJGChCT3jjmxmqRawZl+9o4Sd4rTCKD X-Received: by 2002:a63:306:: with SMTP id 6mr18313581pgd.263.1560442248651; Thu, 13 Jun 2019 09:10:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560442248; cv=none; d=google.com; s=arc-20160816; b=wNro6Ey9GZB3AfGwvNnqg3OQEu6EHXrHLIw3eKV4U/BgraSpQcfreqZvrCaUlQyWhN o+x5fjW4kxZZ0pJvP41VrGtrgqtAlqEuffZ+/Vd5488iSyjJP7MkNbWlYVu7QTV37vO6 0bgxQaTxHTLYT60oLQ2qT6CJVVuBgJscdeKc2kGD0z8LXhjKwmpvWGj6q2AqXCPeg54k /c5wR7NJzthRYHLEVkn4lYivdutLy5jSKBltrSp1VkXsWgRNsYobs+M/GG3shCcXDHyv MstNvf25riF5IukWlpdCYOV4dxE/b+jfAhx1n+g6iTTVy8Sw0W1E18ifA+ht7q8nKpaZ PDWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=4msoeWJtDr0PJ8r8tNJt4OvTV64iTzPl4ALoFuQFEO0=; b=MfxjiLJirhEugF/23msz3XQDO9EufoV/IkCnouQJ8aemZUIxE8gYgSQ9rxE0cSnxWj shvEMtgT9WwxiHopGLIzK96kv2QN9qQTddOv/AaUJlRhGm4EsCbctRv2XeYim5IJ57Og pcLd4AIV2dcYnJZs57A7ujFjN48lRatmiM6mVOnTQCMgP147A/TqtubAhzDaeaUp+w8T 8LF5Qo72WPUX5G1IM0rzOYtGyhvphLFo5+Apiq1bGoHBUfAVtiM8U6eTBkD+XGBUIDz4 4mkR49tWNyygDH45SaZN7Pg1xIk68qldgDi2X/Rz9nT6MOdmSJrcYgAbT1rq0z9smEe3 QJ8A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 194si166048pga.203.2019.06.13.09.10.48; Thu, 13 Jun 2019 09:10:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729962AbfFMQKr (ORCPT <rfc822;mike.holmes@linaro.org> + 24 others); Thu, 13 Jun 2019 12:10:47 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:18144 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731247AbfFMInp (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 13 Jun 2019 04:43:45 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 018BD55A1FCA4A250BE7; Thu, 13 Jun 2019 16:43:41 +0800 (CST) Received: from HGHY4L002753561.china.huawei.com (10.133.215.186) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.439.0; Thu, 13 Jun 2019 16:43:33 +0800 From: Zhen Lei <thunder.leizhen@huawei.com> To: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>, John Garry <john.garry@huawei.com>, Robin Murphy <robin.murphy@arm.com>, Will Deacon <will.deacon@arm.com>, Joerg Roedel <joro@8bytes.org>, Jonathan Corbet <corbet@lwn.net>, linux-doc <linux-doc@vger.kernel.org>, Sebastian Ott <sebott@linux.ibm.com>, Gerald Schaefer <gerald.schaefer@de.ibm.com>, "Martin Schwidefsky" <schwidefsky@de.ibm.com>, Heiko Carstens <heiko.carstens@de.ibm.com>, Benjamin Herrenschmidt <benh@kernel.crashing.org>, Paul Mackerras <paulus@samba.org>, "Michael Ellerman" <mpe@ellerman.id.au>, Tony Luck <tony.luck@intel.com>, Fenghua Yu <fenghua.yu@intel.com>, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>, "H . Peter Anvin" <hpa@zytor.com>, David Woodhouse <dwmw2@infradead.org>, iommu <iommu@lists.linux-foundation.org>, linux-kernel <linux-kernel@vger.kernel.org>, linux-s390 <linux-s390@vger.kernel.org>, linuxppc-dev <linuxppc-dev@lists.ozlabs.org>, x86 <x86@kernel.org>, linux-ia64 <linux-ia64@vger.kernel.org> CC: Zhen Lei <thunder.leizhen@huawei.com> Subject: [PATCH v9 7/7] ia64: hide build option IOMMU_DEFAULT_PASSTHROUGH Date: Thu, 13 Jun 2019 16:42:40 +0800 Message-ID: <20190613084240.16768-8-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.21.0.windows.1 In-Reply-To: <20190613084240.16768-1-thunder.leizhen@huawei.com> References: <20190613084240.16768-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.133.215.186] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
iommu: enhance IOMMU default DMA mode build options
|
expand
|
diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig index 70741fd73b07785..63506f1cad3d149 100644 --- a/drivers/iommu/Kconfig +++ b/drivers/iommu/Kconfig @@ -91,7 +91,7 @@ choice config IOMMU_DEFAULT_PASSTHROUGH bool "passthrough" - depends on !S390_IOMMU + depends on (!S390_IOMMU && !IA64) help In this mode, the DMA access through IOMMU without any addresses translation. That means, the wrong or illegal DMA access can not
The DMA mode PASSTHROUGH is not used on ia64. Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> --- drivers/iommu/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.8.3