Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5188481imu; Tue, 13 Nov 2018 02:37:21 -0800 (PST) X-Google-Smtp-Source: AJdET5eMBAwoP9aK9/Jau7WojaLGIb/gUOi9dHjsVOE4F7g8TkE7RhGoDik/FhhDKnaIsuyV3iIf X-Received: by 2002:a63:e20a:: with SMTP id q10mr4173184pgh.206.1542105441350; Tue, 13 Nov 2018 02:37:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542105441; cv=none; d=google.com; s=arc-20160816; b=wyxuWVhJ0HXmOBvHeiHaYvs+LoqtJB4uhIi8cyMDsz4YLFg3UOLJvPgQrfaJ0ClgW0 3lDFwRE4l5tiCkBFqXH/BoYe+VKyl82PJ3dZeoEz2fd2DnwnsNOsgDL2pq4N4BSZhuHB W8bSo3Eij7idodm6p61c3ara/NruIifHiur+TyFFBPOl6dusFzG2cayq/c0FdAacyclq JRQtWUMQdWrnSVPdoVnUKYuujECX8JYtcZPU3lfymbQ2IQm1ejhe6eDzKhslC6Fw7DFC SulFe+gBJsfKFIG2ah3N0dwhrhoYlE74xFyeUnCQT5xOvfVHLOF3ZJ/K9eakdKxY7Qz0 Rltw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=2en58Nsso4oylV44gbD61wd/Wi8VyAHoGL1h7k1sCnA=; b=ZQQ08+naHUPlCQPBnTp/MLHb4EcqWhrFbRmhgkvGltSRbExraqiwPqkJQFdPvG68ny FmOh2Gg1rRqTRmfgeWQ/Zj/9MgbFL83FzShB0eKjN2ij+ASuTWsoyBXPMhsxAOsDPbbJ lkkW6FPhLlnUpfzxE4SE1Zjg7gSbhcKrlftU37BEwhtBrqBjDYNAiJjC09FCilM0oAyM nQmbM9hxZSzS7C+lNPZWTBRdczJAfmnnM2HokApNMbdc5UED2GLiW2flbWl+rnv8hIOL QLSC8fub6kfnDFkuDaV0CaVpPNgk9xN9FtyKCjwckJv6nR5VcuX46x57Szr7dY7zTX/S 1aig== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r11si13291060pgg.327.2018.11.13.02.37.05; Tue, 13 Nov 2018 02:37:21 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732264AbeKMUdx (ORCPT + 99 others); Tue, 13 Nov 2018 15:33:53 -0500 Received: from mga11.intel.com ([192.55.52.93]:11734 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731276AbeKMUdx (ORCPT ); Tue, 13 Nov 2018 15:33:53 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Nov 2018 02:36:23 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,498,1534834800"; d="scan'208";a="90729178" Received: from lahna.fi.intel.com (HELO lahna) ([10.237.72.157]) by orsmga006.jf.intel.com with SMTP; 13 Nov 2018 02:36:17 -0800 Received: by lahna (sSMTP sendmail emulation); Tue, 13 Nov 2018 12:36:16 +0200 Date: Tue, 13 Nov 2018 12:36:16 +0200 From: Mika Westerberg To: Mario.Limonciello@dell.com Cc: iommu@lists.linux-foundation.org, joro@8bytes.org, dwmw2@infradead.org, baolu.lu@linux.intel.com, ashok.raj@intel.com, bhelgaas@google.com, rjw@rjwysocki.net, jacob.jun.pan@intel.com, andreas.noever@gmail.com, michael.jamet@intel.com, YehezkelShB@gmail.com, lukas@wunner.de, ckellner@redhat.com, anthony.wong@canonical.com, linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/4] thunderbolt: Export IOMMU based DMA protection support to userspace Message-ID: <20181113103616.GQ2500@lahna.fi.intel.com> References: <20181112160628.86620-1-mika.westerberg@linux.intel.com> <20181112160628.86620-5-mika.westerberg@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 12, 2018 at 04:22:25PM +0000, Mario.Limonciello@dell.com wrote: > > +DMA protection utilizing IOMMU > > +------------------------------ > > +Recent systems shipping with Windows 10 version 1803 or later may support a > > +feature called `Kernel DMA Protection for Thunderbolt 3`_. This means that > > Keep in mind there will be systems that ship with Linux that enable this feature too ;) Yes, you are absolutely right. I sometimes forgot that fact ;-) > It might be better to make it time frame and platform firmware oriented as it's > entirely possible for an OEM to have a field firmware upgrade that may enable this > functionality from the platform and allow an end user to upgrade to a sufficiently > protected kernel or Windows OS to take advantage of it. I agree. I will update this in the next version.