From patchwork Thu May 30 03:48:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 165392 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp413308ili; Wed, 29 May 2019 20:49:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqzCyZf5eJsXpbLjf40UoregIiXF9SdgJNkqSW9+Y2XDWtvdrUtmrfsI5H+VfR0N90c/9wE6 X-Received: by 2002:a63:d04b:: with SMTP id s11mr1738107pgi.187.1559188182789; Wed, 29 May 2019 20:49:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559188182; cv=none; d=google.com; s=arc-20160816; b=I2UJrwn7+wzRZKBQe0wO94rkaHwDtdgWeYRBl9RPG5+SlNGQ9PKwyo+QSVO3bPNcM7 KUj1iqXdBdo5zuS0RAiYw9oA1Y2yvMOg2xgXHs5WhZYxgGik81tRtS+6RsaXA1gsRrEt qAD4fOtmcqYb1kq9v/kNdj5cjuZl2XbhvD+W4KnSoTwILGqk+9M8AMmVnJPl9mV+SJN7 9lT9L7BxlBewcDmbWBmWVHQf+i79H0/q+zKbafKHONZcPYpwiM307HG/3/7u8oxhQNX+ OBiGtE8kH+UQk0IxJD8EdDX+gyLDKWXMlEZ5m42KOqxd6FdmxSJAW8/Tc05ZJAPm/Q+n jh6Q== 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=tQpOPYl0rcI4D9hbYVnoJPVO3uAp02qLx652X4lVDfg=; b=NeNRq4ohwxUb6jat3kOYkAOAOqXsHpzt3M4uMGgm7+VJrwnDh1t3aRhQ790+rfX0pg Iyr9AeIO+CIFhPNNo27I6ojvmB7OAmB3eeltk2gvDjkQHF5cVv8/vKgSd/ZNyJVA1xXu tjYViiYvuQP35FrRFfSucqqu9LWcPS1uOueZFQ6fM65vJqrFQiubUPa0VljrBrBilbAM FW0deNVLsAHVu13opyhwS729zVGH/Qa9D5HfDK299MYD3MzfI8rSRPOC8+v75xmK0vyW 6LJ0n26MEHLjw4zrlT7A0aHfsUpQSAUx5NPljAZAQfz1xh/37wpGVrZz67Mj+VjckHoV U+Cg== 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 i11si1945835plt.92.2019.05.29.20.49.42; Wed, 29 May 2019 20:49:42 -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 S1732959AbfE3Dtk (ORCPT + 30 others); Wed, 29 May 2019 23:49:40 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:53280 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2387710AbfE3Dta (ORCPT ); Wed, 29 May 2019 23:49:30 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id BC38EA36FC591233E71A; Thu, 30 May 2019 11:49:27 +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, 30 May 2019 11:49:20 +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 , Hanjun Guo Subject: [PATCH v8 7/7] ia64: hide build option IOMMU_DEFAULT_PASSTHROUGH Date: Thu, 30 May 2019 11:48:31 +0800 Message-ID: <20190530034831.4184-8-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.21.0.windows.1 In-Reply-To: <20190530034831.4184-1-thunder.leizhen@huawei.com> References: <20190530034831.4184-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 f6c030433d38048..f7400e35628dce4 100644 --- a/drivers/iommu/Kconfig +++ b/drivers/iommu/Kconfig @@ -89,7 +89,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