Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp315595imm; Mon, 4 Jun 2018 18:28:26 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKabdosq02FJKPUklI8n4uNn8PU/dDL/twshrZcINsdl/o2eroE/SIKJPAr0dynhdCUdnH/ X-Received: by 2002:a17:902:4b:: with SMTP id 69-v6mr24614712pla.178.1528162106746; Mon, 04 Jun 2018 18:28:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528162106; cv=none; d=google.com; s=arc-20160816; b=ESTT6ArwC0hUlfS72oXjusJ0VEGe6prUUVn+bP6IuwiyGBTLdxyeT7r5spDg4mHks7 Zhf5YVsPRm/AefB91KzbdHHc7Kz2/rYb1WMAEMunL8etsPit9IMYtY1UlUTID78dKXSA I3mXgIO5gSPNBd9jXEKJMN4NrVgZG+udzE9WSIe+7fYoJbE1vwu4MpOMM/mn6HtE6xg8 O08F9Etxr0WCAMuLcgZJOAlKUP+31jt3XPR4Dr5e/9V8TFiMGwdq+8Kc73JJQOYRI67q hKgeSVUlBfQiwujMFHDzXrST/hAcaif48yrZBhbSIYCujVwCK7Zoz4lttqMxtgCYMkQY c+zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=XVwrbbDK05mLO09cBRLKojfNqZBXTGAGoSvB6lirrs0=; b=IKMkriuK4+AkkrruiAxthaPp5T4mC4EYjQwX2YeEwqIkA+NDnywr6mXT8VKAWSIoos 1JXm4/B0SwLhgTo5+AzHv+xmJXEnHzz5hAJMkasLtQKRtMyi7nGYvoBiPya2/xzWpReP yFTdp87sh4Myi+XGy4tWXqfQvlgmAse5Q0fF0PLSDF1gvq4xR8ej8XIPXrJicttsqgRc K06ow94UdYUNX2y2clyrgfBmQE+ghw2uNtw8NomcHryUvGdZHpzKifQiYD3BxC4QMjQu tD3bN0cz5BIDnY8cdzU5BaEcH2CHhgkG7WFRwryX+sQYm0w1dG6QtdhaScfjaPz9f/f/ Jy7A== 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f11-v6si38326290pgr.275.2018.06.04.18.28.11; Mon, 04 Jun 2018 18:28:26 -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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751590AbeFEBZm (ORCPT + 99 others); Mon, 4 Jun 2018 21:25:42 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:54030 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751295AbeFEBZk (ORCPT ); Mon, 4 Jun 2018 21:25:40 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 76455407539C; Tue, 5 Jun 2018 01:25:39 +0000 (UTC) Received: from redhat.com (ovpn-120-211.rdu2.redhat.com [10.10.120.211]) by smtp.corp.redhat.com (Postfix) with SMTP id AE6BD11166F5; Tue, 5 Jun 2018 01:25:37 +0000 (UTC) Date: Tue, 5 Jun 2018 04:25:37 +0300 From: "Michael S. Tsirkin" To: Benjamin Herrenschmidt Cc: Anshuman Khandual , virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, aik@ozlabs.ru, robh@kernel.org, joe@perches.com, elfring@users.sourceforge.net, david@gibson.dropbear.id.au, jasowang@redhat.com, mpe@ellerman.id.au, hch@infradead.org Subject: Re: [RFC V2] virtio: Add platform specific DMA API translation for virito devices Message-ID: <20180605042229-mutt-send-email-mst@kernel.org> References: <20180522063317.20956-1-khandual@linux.vnet.ibm.com> <20180523213703-mutt-send-email-mst@kernel.org> <20180604153558-mutt-send-email-mst@kernel.org> <20180604184035-mutt-send-email-mst@kernel.org> <6164442a718645a754879eac5c4c5fad9283c211.camel@kernel.crashing.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6164442a718645a754879eac5c4c5fad9283c211.camel@kernel.crashing.org> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Tue, 05 Jun 2018 01:25:39 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Tue, 05 Jun 2018 01:25:39 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'mst@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 05, 2018 at 09:26:56AM +1000, Benjamin Herrenschmidt wrote: > I would like to keep however the ability to bypass the iommu for > performance reasons So that's easy, clear the IOMMU flag and this means "bypass the IOMMU". -- MST