Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1383889ybl; Sun, 19 Jan 2020 02:00:44 -0800 (PST) X-Google-Smtp-Source: APXvYqyTTiu0PaaxnX2E6O9Kclg3UNnRINzujDvlX1rApFMSiAdGqD1vUyX1pVx8gEPcEEAnNZVR X-Received: by 2002:aca:500f:: with SMTP id e15mr9748147oib.172.1579428044163; Sun, 19 Jan 2020 02:00:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579428044; cv=none; d=google.com; s=arc-20160816; b=yoqWoSteIHToyhCl0TEvhWo9JMV4vJWzGXeOqPKB7K1XdmDY+tlvA+IUrOtch7WABU fBFGzzSk7LkgttjFCglTFoF6ggSgX9bQNa78q2V2lGSGK//HuWHMxlLLnYmJqRyiL4qN s0L7KNMuziaWxoGdAVXvPb5VlpP8niU9TFXLxUUjMyW9z9IuG2NLJBln3tuhMrCYuRsu 7nagLpyl+Y4b9YIk2erpRR0s/LPLaEEhdcfSN0QUAvKHOIkMAqDCTYlyZ+AEFI7FMfvJ jjgjKssY80LyFl0wGYcij5837pd7/Kp0AHDW9cDoVeS21QoY8+35Khp7Kj1RCDszyhJ9 QCFQ== 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 :dkim-signature; bh=9RBsez8nF60syx6uO6vVLgbM1Sl7Se03CnUJjUyZLN0=; b=iP9fs6friHcZBwDzAOmBTF48uFxfhqA9y0rHrmXKMcVFNX9xuTs4OoaPdNNfczWXNw +OdThgNQROo+WCjys7R4E8zpl92sBO8WfT3Z26QP7HruZ+zZCjkx8bcWimDqSBjDwAB3 mBuv2404JnNOokjRuC48UQhaIhPa2UoMkhmqAN3M2HMsq1lq7YPK21BcfCY8Ffw+8qbU hVXrdssZDH81TqNv67AmSXubfcoHp5DKrYNH9KzpdxR+ryGNqQ9O2rbsxJ9f+eQod4G8 C2yyNhDqxaQC/RN3CCtUcEW7TO97RKReefu5omvvTZtdwm4BC3QRSkIA8XXL3JUfPG+E blFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=LtKSH9DO; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b4si16232771oib.70.2020.01.19.02.00.32; Sun, 19 Jan 2020 02:00:44 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=LtKSH9DO; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726819AbgASJ7d (ORCPT + 99 others); Sun, 19 Jan 2020 04:59:33 -0500 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:24748 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726538AbgASJ7c (ORCPT ); Sun, 19 Jan 2020 04:59:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1579427971; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9RBsez8nF60syx6uO6vVLgbM1Sl7Se03CnUJjUyZLN0=; b=LtKSH9DOyfw8EF9G03ARlTHQMwKRbs3PRTcM/l2nmUGBH0OerN4r/ouxzYU/Ia9fbotOg2 sZtOfJj61KdOZ5yditstL8k3awVCa7ow9npCy//qo+Qm9zCiaQkj30Q/2VKQ9j0UzL/H3m xF7DSLdCp0qdq9mP2RcNOryKkWmW1Uw= Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-354-DUJGRTWCNkWyfpSJhMr69g-1; Sun, 19 Jan 2020 04:59:30 -0500 X-MC-Unique: DUJGRTWCNkWyfpSJhMr69g-1 Received: by mail-qk1-f199.google.com with SMTP id w64so18643488qka.3 for ; Sun, 19 Jan 2020 01:59:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=9RBsez8nF60syx6uO6vVLgbM1Sl7Se03CnUJjUyZLN0=; b=RuVq6xwVnsqG2ggjJ64QohIDU8EFCunywRUj6PYQTzMKkCK4oyguMYcE/61b98kdvQ a9jaEN0xVOF0AFleqOrV7Ak0hHOkU9UOhaFFQTDnAF/BrVnoQ4r/FpY0vAchoAQwHrtw ENO4ssSvZuLQFF5eRfug0dmqsbr/HCoqur5NfzTpdQ24Cbc7Cf0X3UuoQpq7VEE5r7x+ tO5ALeuV6Xsiis0gJPbIPR7UzQSFqMPmyL9JN8DgE6kI+JyA0oexnPmzKi3yz7eUIPsw ALKSvJot++TXN6xQ+/cXP+3FVJ/GqrVZvwkGXh6feaBdLHHXPNCDMEAnM6ox3/gpIRmn ay0g== X-Gm-Message-State: APjAAAXX+pmQ59j6fvkugIROL6cedTcxwt0As65SJF98JMe+D4WJR9ad e/vPpxGQwCIQdOMbUF3aXH2MlzvjXZGycFg55win23jsNsnaKMgBeKBNhapmQMuuiYj1RhGDF3a dxNky1/9bi1jbFb0OWY5WpVI/ X-Received: by 2002:a05:620a:166a:: with SMTP id d10mr45426271qko.37.1579427970355; Sun, 19 Jan 2020 01:59:30 -0800 (PST) X-Received: by 2002:a05:620a:166a:: with SMTP id d10mr45426237qko.37.1579427970157; Sun, 19 Jan 2020 01:59:30 -0800 (PST) Received: from redhat.com (bzq-79-179-85-180.red.bezeqint.net. [79.179.85.180]) by smtp.gmail.com with ESMTPSA id h1sm16162903qte.42.2020.01.19.01.59.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Jan 2020 01:59:28 -0800 (PST) Date: Sun, 19 Jan 2020 04:59:20 -0500 From: "Michael S. Tsirkin" To: Shahaf Shuler Cc: Rob Miller , Jason Wang , "linux-kernel@vger.kernel.org" , "kvm@vger.kernel.org" , "virtualization@lists.linux-foundation.org" , Netdev , "Bie, Tiwei" , Jason Gunthorpe , "maxime.coquelin@redhat.com" , "Liang, Cunming" , "Wang, Zhihong" , "Wang, Xiao W" , "haotian.wang@sifive.com" , "Zhu, Lingshan" , "eperezma@redhat.com" , "lulu@redhat.com" , Parav Pandit , "Tian, Kevin" , "stefanha@redhat.com" , "rdunlap@infradead.org" , "hch@infradead.org" , Ariel Adam , "jakub.kicinski@netronome.com" , Jiri Pirko , "hanand@xilinx.com" , "mhabets@solarflare.com" Subject: Re: [PATCH 3/5] vDPA: introduce vDPA bus Message-ID: <20200119045849-mutt-send-email-mst@kernel.org> References: <20200116124231.20253-1-jasowang@redhat.com> <20200116124231.20253-4-jasowang@redhat.com> <20200117070324-mutt-send-email-mst@kernel.org> <239b042c-2d9e-0eec-a1ef-b03b7e2c5419@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jan 19, 2020 at 09:07:09AM +0000, Shahaf Shuler wrote: > >Technically, we can keep the incremental API > >here and let the vendor vDPA drivers to record the full mapping > >internally which may slightly increase the complexity of vendor driver. > > What will be the trigger for the driver to know it received the last mapping on this series and it can now push it to the on-chip IOMMU? Some kind of invalidate API? -- MST