Received: by 10.213.65.68 with SMTP id h4csp1304226imn; Wed, 21 Mar 2018 07:34:34 -0700 (PDT) X-Google-Smtp-Source: AG47ELvtOAw/uC/UoXk5Xlyle6VthYEDPj15g7Wl9tkIosvImdE5maCd/ozfGJ4VeCgzw4U5NZM+ X-Received: by 2002:a17:902:6884:: with SMTP id i4-v6mr21477561plk.259.1521642874440; Wed, 21 Mar 2018 07:34:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521642874; cv=none; d=google.com; s=arc-20160816; b=Y9RfbDlV+vFjuQZv4RrsvGVGAU69V5ziJSEh+fwvQloQvSesixTHZ0z7RSYS7w3+yX kqVlqcH2G81AKz78xisk0Fvb/pAMsgLZaMaWBSo7/tU59Zl2tWJm36jIEm52BdmE+CND nIAjgZey2VySEmVJs9GMJjQIYvXBU+Ib6j0/9j6W0W7pTxkCtxXlriSSggAnLabTWY/U YCBcxydJJfK5bSh1pgiTmZfZP/srV4rluBR8YgpaploXK11BSbN3G4bQob3LyVMjFW6u jIuVP09qW6DgWxQJVj11G6ZPJs4KysLH7XLR1gJGe5fmHr5pyhbLo+VSaGKN7CFV/oo/ i3sg== 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=oscwDWde5gndPdrF2GwSJ9xZxeahlS+TSULsDpLNw3A=; b=qmJcCMASYiOvRTHzhIckgcB03JEGDpejD8CTAG/D42x/0sy+W7BtLVfRejjS0I1CWt F2WaKGBeglJ1fwnBKgPoVP9ESQw0fs2mt9xPC8DtFUHRWlWtLBI853HQHzmhxX5/dQpP d6bdAFDBJzJWDyPSGSg0DQsj0BnphiAMscqO/u/u08hd4XX/AOM4t/2vacUokNx5hot9 W8bnoh5cI2oDezGjMFRrD7xNOYPsH01CpT689zDWDyXRyhfavVvEj98K8l4tIiwmwO49 ORdnlywTvhUii623r7MMp20x8+xFePXz3sxzlj2BUIvCRrTD7aoOoumpRt0UnOr/8yqB P6Ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=lzRpIKwm; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q14si2865730pgr.311.2018.03.21.07.34.19; Wed, 21 Mar 2018 07:34:34 -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=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=lzRpIKwm; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752489AbeCUOc5 (ORCPT + 99 others); Wed, 21 Mar 2018 10:32:57 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:36890 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751937AbeCUOcw (ORCPT ); Wed, 21 Mar 2018 10:32:52 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w2LECYx5124678; Wed, 21 Mar 2018 14:32:13 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2017-10-26; bh=oscwDWde5gndPdrF2GwSJ9xZxeahlS+TSULsDpLNw3A=; b=lzRpIKwm/Wl0O3Dj3NZU1excfoUF3rVPtPVXtc+KFRBfZotWP/psWWFWrKtN9mdiHSnv Q5ehip4JW2Ad//Kb92H+KqoIEDK4F19GwgZplVVUmmq0+EEInEbZbvfqvgkdTtoVIMXt 3fjz8stqusYt1Tfvs1FOENtd90txUkOjwJKsMoiKZppcMLHh1AoWz3+Zk2INMgvUybUw 1oXh01HPRuG9nTUsjzDJA26YlALVMjv4ZGMjI/IACcNc7T4qWWXFbFciR0SFaa/ve6tY pZ/K49Y/JNJpX4Bzh/s0ZnlDrSKjMFc1eDEMz+qWeKgUSn+xL5yoHsHFJe3uQafensR+ KA== Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2120.oracle.com with ESMTP id 2gury2847m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 21 Mar 2018 14:32:13 +0000 Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w2LEWCHL026735 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 21 Mar 2018 14:32:12 GMT Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w2LEWATB004945; Wed, 21 Mar 2018 14:32:11 GMT Received: from char.us.oracle.com (/10.137.176.158) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 21 Mar 2018 07:32:10 -0700 Received: by char.us.oracle.com (Postfix, from userid 1000) id 6E7B16A0087; Wed, 21 Mar 2018 10:32:09 -0400 (EDT) Date: Wed, 21 Mar 2018 10:32:09 -0400 From: Konrad Rzeszutek Wilk To: Christoph Hellwig Cc: Konrad Rzeszutek Wilk , Ingo Molnar , Tom Lendacky , x86@kernel.org, linux-kernel@vger.kernel.org, Muli Ben-Yehuda , iommu@lists.linux-foundation.org, David Woodhouse Subject: Re: use generic dma-direct and swiotlb code for x86 V3 Message-ID: <20180321143209.GN1110@char.us.oracle.com> References: <20180319103826.12853-1-hch@lst.de> <20180319152737.GK1110@char.us.oracle.com> <20180319152840.GA28041@lst.de> <20180320083751.nrpt64dsmpqbhzc6@gmail.com> <20180320084412.GA16337@lst.de> <20180320090351.2qnwcsauhodrqxdj@gmail.com> <20180320151600.GA23920@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180320151600.GA23920@lst.de> User-Agent: Mutt/1.8.3 (2017-05-23) X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8838 signatures=668695 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=666 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1803200127 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 20, 2018 at 04:16:00PM +0100, Christoph Hellwig wrote: > On Tue, Mar 20, 2018 at 11:25:21AM +0000, Konrad Rzeszutek Wilk wrote: > > Are you testing with swiotlb=force? > > I've done swiotlb=force testing with earlier versions, and otherwise > relied on a VM with more the 4gb of memory and emulated devices > without 64-bit capability. Awesome! I also did my testing so all good. Ingo, if you want to you can add 'Acked-by: Konrad Rzeszutek Wilk ' on the patches that don't have my tag. Christoph, thank you for cleaning up this swamp!