Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2800618imm; Fri, 20 Jul 2018 05:17:20 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf06lxrxvJz/DAunJgLYikBep+sGQAKd+ZMeJxNtVpY4oUbEYiXJb1rVEOmLr0S0vr/wWoJ X-Received: by 2002:a63:a70f:: with SMTP id d15-v6mr1886564pgf.168.1532089040640; Fri, 20 Jul 2018 05:17:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532089040; cv=none; d=google.com; s=arc-20160816; b=neWMvcFpS2wymo0JceuEzorlSaHYa9/oRXqyp2wezK3rReULKj89n3YNTrJRMzYVff xyBhscvcsscZdpsmuIHJHeS0GTwUui+kijsfuhecW8ln86QdYGvNEZzqlv980xpXij8+ 08PvZhnkAL47vPse2wkCl2Ga6EoZy6PVMJH315sIr3ubN5tHWIKC/AATYRHHu3oGbOAc J3Dax46u+RB2bihwbcV3ENKsbR/S3cYMF5ecx2EOrxsFJ5saWV5QSfhqUIonIb0Hzzxr N16+yCF+R00pmLTSRCHHPmHql8w0UYlQs6guZfKxlQdpLuxrWU69a0Rr08C/yXA7isjP V6Qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=u++eakr891uSH74sX+vBaC1OfjAca/uKS0aNWRV+njE=; b=C3XjnY8iFl2+S3MdbXYZ9OvdRz3H5eqebdOdDsDFaUb9J+nv0C02OhG+8LoTMExHWC 3dRgh7O97MlpUmaoBL7/q1v4iz6b1dffCE3Ecv7SvnoMcfaviUWkHv5ZEzHvRwU41Hxr 6kcHsCF0y9E+cVQeaZmu4qS5/VVjVa55eSX7aJBxzYHyJzohUAN3ibyoJhR7Wy0p65ci SPgpKIv5txYNvpRoSORRmjQNuhBmZGlYFWQQ1lu4/ViEOf6q0dTEZNpZNNj+Wt1gi46w O0n4xEqjCKDRZqqAXOIV8YiumMIV+HDtO4WNNpsuomu5eUiUxSVITld7YNLxMFQo2qBX Jr5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@8bytes.org header.s=mail-1 header.b=Q88kk0G1; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g92-v6si1590150plg.0.2018.07.20.05.17.04; Fri, 20 Jul 2018 05:17:20 -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; dkim=fail (test mode) header.i=@8bytes.org header.s=mail-1 header.b=Q88kk0G1; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729167AbeGTNET (ORCPT + 99 others); Fri, 20 Jul 2018 09:04:19 -0400 Received: from 8bytes.org ([81.169.241.247]:59846 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727408AbeGTNES (ORCPT ); Fri, 20 Jul 2018 09:04:18 -0400 Received: by theia.8bytes.org (Postfix, from userid 1000) id 755C52DE; Fri, 20 Jul 2018 14:16:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=8bytes.org; s=mail-1; t=1532088980; bh=ISWHXuG29ZAjzGx1T40rFHFqnuLIoEatRALixHI7i7Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Q88kk0G1XDkfB39Z69viCtwchXp6QmZOAWu1jfAtKCMx6TepMvIp2aiBlh3w59KTL zNeYDU6xk+x43tMIS4nkTA2d38ig7PtoYyeKLdCbgbx5sZBSuQ0jGs9fbzC+zV3Dfz mm37Cfq7e9T5D2h4OQo3GjADVy0Hi7Hv0Qx77wRjqp2pwvOX8hkeQGOj2wOUZeu4Lm RSkEZ0HThR/jdWf6N3f7gRGU5vYG+qZz3uRDvVfvTnLtvmNm3Ugp6gWS0yLQUuU9hX yXC2tT9ZrSQPh/oMou9jdQdyiBk9R3mFguanowBf9quYA3J4NYb8pjum+lwDpgs8MR 6k6qII6rEVpKA== Date: Fri, 20 Jul 2018 14:16:19 +0200 From: Joerg Roedel To: Olof Johansson Cc: iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] iommu: Add config option to set passthrough as default Message-ID: <20180720121619.pqrgth4zxdj7zjym@8bytes.org> References: <20180711205936.18614-1-olof@lixom.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180711205936.18614-1-olof@lixom.net> User-Agent: NeoMutt/20170421 (1.8.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Olof, On Wed, Jul 11, 2018 at 01:59:35PM -0700, Olof Johansson wrote: > +config IOMMU_DEFAULT_PASSTHROUGH > + bool "IOMMU passthrough by default" > + depends on IOMMU_API > + help > + Enable passthrough by default (removing the need to pass in > + iommu.passthrough=on through command line). If this is enabled, > + you can still disable with iommu.passthrough=off > + > + If unsure, say N here. > + The patch is a good start, but the description above indicates that it affects all IOMMU driver, which it does not. Please make the Intel and AMD IOMMU drivers also take this option into account. Joerg