From patchwork Thu Jun 13 08:42:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 166706 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: 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 + 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 ); 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 To: Jean-Philippe Brucker , John Garry , Robin Murphy , Will Deacon , Joerg Roedel , Jonathan Corbet , linux-doc , Sebastian Ott , Gerald Schaefer , "Martin Schwidefsky" , Heiko Carstens , Benjamin Herrenschmidt , Paul Mackerras , "Michael Ellerman" , Tony Luck , Fenghua Yu , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H . Peter Anvin" , David Woodhouse , iommu , linux-kernel , linux-s390 , linuxppc-dev , x86 , linux-ia64 CC: Zhen Lei 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 X-Originating-IP: [10.133.215.186] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The DMA mode PASSTHROUGH is not used on ia64. Signed-off-by: Zhen Lei --- drivers/iommu/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.8.3 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