Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5376471ybi; Wed, 12 Jun 2019 01:15:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqw2hqzecc4ubez5D8BP9OWeOZSM/Du1xKn2Th90XeYh+Ec0/80TLwb8NUujbYuSRHoRteDn X-Received: by 2002:a17:90a:372a:: with SMTP id u39mr31710416pjb.2.1560327314974; Wed, 12 Jun 2019 01:15:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560327314; cv=none; d=google.com; s=arc-20160816; b=fEe35dL9Iwoqr5KjHsKv7tLtWC1XumHS+eYosC8Xl6O5t1Oi1E9Pw6aWJFqgvWr7yr KMCz3a8JGGghbavXBHf0A3PZtXekg5K71jVxkDKthVVZikEINaTdpOCMJ8hIS+38CJhT xYDmLFjw24L4YEpwJVvHQ0yXAy1IigAU9j6uZihbp166M/kXhk9vv3W3LVGDeIBbmL2r BrUJMsOY0StozhAOCQuHGOWdIxJcoVD7PUc+85fmkl7mZQV/4VEzbPaRqRYIgy+T+MYR ZtmvcaE6BabMS7SavLa+hC6qhjrcnccqYTsagcbkI+LR2dvQ2GumJNSfSBdkj5xLOGcq CMTg== 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=wA8p6LkHtEAZBfdhuVUjj+KmKKmD0VP7SIlRb79yOso=; b=EY5xIFEoyUlIvWmaydnKPyZ/GdfUVtVXFTE3oAkJUij0aQmNYwMT6Ld80yHXYcjYXN KQoYWRFP5F4nKu1YBBENWrk2UeE1aUEST4FNUjhlljH9eV63YJX7Ueny4uDaiaRTPxs3 Fvr5rqSrVlJHc9h4zvYO7exgKOUi5rSZYx1+IreiK9O62VE+GOoS+dO7wBWufQCY9eoU YO7Lz44t0SWLSfIFqEDkmag7t8wsDJ2Rw/uWd8+fvwpBCEhnoLU5Z70v0+1lY1+ZyJWq SOf2qu5spol6VZRDOteK8dk+C21qVRxks6Egu8dKNxDAV5gdD14j+Iw53Y7yWASYzlmi kzsg== 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 t4si4698737pjq.54.2019.06.12.01.14.59; Wed, 12 Jun 2019 01:15:14 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731011AbfFLGWe (ORCPT + 99 others); Wed, 12 Jun 2019 02:22:34 -0400 Received: from mga18.intel.com ([134.134.136.126]:39846 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730975AbfFLGWe (ORCPT ); Wed, 12 Jun 2019 02:22:34 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Jun 2019 23:22:32 -0700 X-ExtLoop1: 1 Received: from lahna.fi.intel.com (HELO lahna) ([10.237.72.157]) by fmsmga001.fm.intel.com with SMTP; 11 Jun 2019 23:22:26 -0700 Received: by lahna (sSMTP sendmail emulation); Wed, 12 Jun 2019 09:22:25 +0300 Date: Wed, 12 Jun 2019 09:22:25 +0300 From: Mika Westerberg To: Lu Baolu Cc: Konrad Rzeszutek Wilk , David Woodhouse , Joerg Roedel , Bjorn Helgaas , Christoph Hellwig , ashok.raj@intel.com, jacob.jun.pan@intel.com, alan.cox@intel.com, kevin.tian@intel.com, Ingo Molnar , Greg Kroah-Hartman , pengfei.xu@intel.com, Marek Szyprowski , Robin Murphy , Jonathan Corbet , Boris Ostrovsky , Juergen Gross , Stefano Stabellini , Steven Rostedt , iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 0/9] iommu: Bounce page for untrusted devices Message-ID: <20190612062225.GM2640@lahna.fi.intel.com> References: <20190603011620.31999-1-baolu.lu@linux.intel.com> <20190610154241.GS28796@char.us.oracle.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.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 12, 2019 at 11:00:06AM +0800, Lu Baolu wrote: > > What kind of devices did you test it with? > > Most test work was done by Xu Pengfei (cc'ed). He has run the code > on real platforms with various thunderbolt peripherals (usb, disk, > network, etc.). In addtition to that we are also in works to build a real thunderclap platform to verify it can only access the bounce buffer if the DMA transfer was to a memory not filling the whole page.