Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2763618pxb; Fri, 5 Nov 2021 04:25:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJypYy8dV0Qx7oi7lX1St4jva/tR6qpJ1ce1/zJ08y3ajSWNBoc7xNtOShojOzNkDBuvFjef X-Received: by 2002:a17:907:2a8c:: with SMTP id fl12mr18396471ejc.569.1636111521213; Fri, 05 Nov 2021 04:25:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636111521; cv=none; d=google.com; s=arc-20160816; b=TdSOgdjkL+Kk4KjaYTpD+b6VJ4kDbTr2p9ZZfAMragMxj6pA8wHRNLl/aZDZiycNkp GC93pFoxvaS2y9kNZKcFh8YQTiwIGIi1XTXq6hc4uYPiklBKGH/g6T4PPY4QYb9R+Z6E 9Dud7QHT+0lUd4CanVTLpaEGQ5uaCkdYiqbiYbyTRzqWMIH2dgYmeh2XSvWGwnA+77NH fXjw38JjbGanH6neCUNwG8Qg8wHP1ymncObW8xH8v5Kz00k45RqJnmw35aKzDP5hYIQu lwfWCjXG4XByk/tgTK3USv7mtomN8ycUUtJz/1v6GnJPZ9NeKwA1m7ZXADAMUu3Zw3hn adgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=HUz7Uqfcr6vjpPuFN/6PJkrmCB4tUkJaU03BFN22CaE=; b=FoWhd8vQIjm+Tp7Z/klvDqAPNpQzNaNB2IfsB2Ha7OseA9Mv5q22BZnI+bCi4Oyb7f +vwTG/9k9gCilnefZ8yQ3BmOgqBPewgIkInZB9/9HxrCbsSi4ZlqEYJJH6qng9qPcNZb QGHBfvjFJzGO6M1n1zkvnzKM71RKB4ld0lzbInAvJ9RIa/+1IgKLnIp2PvWyn7CaPFpT 4Qw3ZEFadSfq+1MdguCW2Sjk3ygu6U0oxgTstypwaPkPfY+QPSI5dOWb2rzlJsPTnYTu 1OhnhJf+JbTmqjGW+iuLtTuC7M1IqZS3F2LfkRiBf7/LOl3flpu4M4aDfi4Demu5itkH AhmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=OX6aZtWY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id 14si10775667ejf.337.2021.11.05.04.24.56; Fri, 05 Nov 2021 04:25:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=OX6aZtWY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S229722AbhKEIfM (ORCPT + 99 others); Fri, 5 Nov 2021 04:35:12 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:38699 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231837AbhKEIfL (ORCPT ); Fri, 5 Nov 2021 04:35:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1636101151; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HUz7Uqfcr6vjpPuFN/6PJkrmCB4tUkJaU03BFN22CaE=; b=OX6aZtWYtaBTA4SK0N5wHWadhRGoiZ5IX+U7tCen1XoPTDpcEL9id+NBwqjyA0KRj2JdCl EfE+WtLUUa/9Oo0JxZy6kK1i5Lcgzsn8aGpoaVG26AMl7c7ZyWz9le1iq1RpMlbtNs9Gr/ E3OdyCmh3N9/WhmpkzatsM8+iftnQfQ= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-498-RcGLmf6NO-6UzHAsw74L-A-1; Fri, 05 Nov 2021 04:32:30 -0400 X-MC-Unique: RcGLmf6NO-6UzHAsw74L-A-1 Received: by mail-ed1-f72.google.com with SMTP id t20-20020a056402525400b003e2ad6b5ee7so8208313edd.8 for ; Fri, 05 Nov 2021 01:32:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=HUz7Uqfcr6vjpPuFN/6PJkrmCB4tUkJaU03BFN22CaE=; b=EXgXrFFBtSgqzABJbpFsmp6CE8RNPnW0BgsD/KqBaoqHo8FqK46kkhJoYzeE8MxZZW 3crfmNFRm+LKJ0mla7mrUQSba3VnyS74mYcjYmuUbZMFckqYFD7H+o7VZaQY8X3zTS2v bVEiKsQjamLxfjw75KZ3b3byHNS1oNry87sSJGg17WQnb8zkKfGQ5hOtvE7XucvqSRI3 NSsYvBOQb7Dtnut3sYYyvTyuO+lu85D9asx7AxJBbne1XEXu087Ok+fHfL7T+pw2ctou R9Pk/rnds1Wl/AOAda0Li+g5BIOXxouRcB5ttW5DDUTOtzYIfmhkXmOLR8CFgTQ4eAp2 5SKQ== X-Gm-Message-State: AOAM532JG18UA0CWg6bWOx81wX0QPUUyvROc/AHX+iKr8+Qp6ZfT6MYl 1Yk9KCER9leGblRmlBo3Dod5z0ivsiM/4jqueoE00d9M8n0rGrO+5RG4lRS/47TbU2wDi3jtQc0 vASo5As5pBaE5pJjDkGNL1BFM X-Received: by 2002:aa7:c395:: with SMTP id k21mr59826679edq.175.1636101149129; Fri, 05 Nov 2021 01:32:29 -0700 (PDT) X-Received: by 2002:aa7:c395:: with SMTP id k21mr59826670edq.175.1636101149017; Fri, 05 Nov 2021 01:32:29 -0700 (PDT) Received: from steredhat (host-87-10-72-39.retail.telecomitalia.it. [87.10.72.39]) by smtp.gmail.com with ESMTPSA id t15sm3588190ejx.75.2021.11.05.01.32.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Nov 2021 01:32:27 -0700 (PDT) Date: Fri, 5 Nov 2021 09:32:24 +0100 From: Stefano Garzarella To: Eugenio =?utf-8?B?UMOpcmV6?= Cc: linux-kernel@vger.kernel.org, "Michael S. Tsirkin" , Jason Wang , kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org Subject: Re: [PATCH] vdpa: Mark vdpa_config_ops.get_vq_notification as optional Message-ID: <20211105083224.5tkhslrswshbynnu@steredhat> References: <20211104195248.2088904-1-eperezma@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20211104195248.2088904-1-eperezma@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 04, 2021 at 08:52:48PM +0100, Eugenio P?rez wrote: >Since vhost_vdpa_mmap checks for its existence before calling it. > >Signed-off-by: Eugenio P?rez >--- > include/linux/vdpa.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/include/linux/vdpa.h b/include/linux/vdpa.h >index c3011ccda430..0bdc7f785394 100644 >--- a/include/linux/vdpa.h >+++ b/include/linux/vdpa.h >@@ -155,7 +155,7 @@ struct vdpa_map_file { > * @vdev: vdpa device > * @idx: virtqueue index > * @state: pointer to returned state (last_avail_idx) >- * @get_vq_notification: Get the notification area for a virtqueue >+ * @get_vq_notification: Get the notification area for a virtqueue (optional) > * @vdev: vdpa device > * @idx: virtqueue index > * Returns the notifcation area >-- >2.27.0 > Reviewed-by: Stefano Garzarella