From nobody Tue Sep 2 15:37:27 2025 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 67B1A288525 for ; Fri, 6 Jun 2025 11:50:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749210652; cv=none; b=OBCEt9w9WatgPby4UeYRsm3A+1udoyKXF+1JY3+NY7aM3a8oQ02x4IhUAm6beNH2NdWxAW9nlraTxCfaPpS2l0DPRIEm/HsfrSZE0nu9psSa/I1ei0lMJPnSPFK7BXUhq+Th7KjxmD53+Q3tHCruyavu4sWsATGvEEStDsmjNow= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749210652; c=relaxed/simple; bh=0jY8Ix2Pgzh4AnL8c2nW59L0ilTMJI8ols79dNPFWFs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=eGVzCWfHlcpOY7qlA5pwN29tMG3vqEoJHRmLIQ5tG0DyjqtBSIKufThbzafyPI+R5FsCrAFzjsMYiRlpOV2f5POMXkX/mhP6DzrF6XAN8pJpDvocd6kbcSXxSqJ6nYVKv9sI1XTao1YhJeypLoTi28YZOMCopRFl9exUzqSUHHM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=Eayl0aW7; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Eayl0aW7" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1749210650; 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=47KURE2uwvmeWrjGi3t/o6J482tK7X78iwNAEhTsM28=; b=Eayl0aW7NSER+Q+oZDwBwqTkbqLaHO200EKwFKs0zZoeWArrp8vpX7Jzw0Ku7tTYG5n9fF kJnPgOnRaISBYor+WkfeNrhDZC1NK8OgFCyhs2Gz9AYFCaoCuawp421B8H80/gD9rqrRpN 39PvwS5mzBt9TcCKumfYyh9y3OxhSgc= Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-102-tUGiYcpJNWaGjGguxhJ0HQ-1; Fri, 06 Jun 2025 07:50:47 -0400 X-MC-Unique: tUGiYcpJNWaGjGguxhJ0HQ-1 X-Mimecast-MFC-AGG-ID: tUGiYcpJNWaGjGguxhJ0HQ_1749210646 Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 4A7E818009B3; Fri, 6 Jun 2025 11:50:46 +0000 (UTC) Received: from fedora.redhat.com (unknown [10.44.33.72]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 51CFE19560B2; Fri, 6 Jun 2025 11:50:42 +0000 (UTC) From: =?UTF-8?q?Eugenio=20P=C3=A9rez?= To: jasowang@redhat.com Cc: Yongji Xie , Cindy Lu , linux-kernel@vger.kernel.org, =?UTF-8?q?Eugenio=20P=C3=A9rez?= , Stefano Garzarella , Stefan Hajnoczi , Maxime Coquelin , "Michael S. Tsirkin" , virtualization@lists.linux.dev, Xuan Zhuo , Laurent Vivier Subject: [RFC 6/6] vduse: bump version number Date: Fri, 6 Jun 2025 13:50:12 +0200 Message-ID: <20250606115012.1331551-7-eperezma@redhat.com> In-Reply-To: <20250606115012.1331551-1-eperezma@redhat.com> References: <20250606115012.1331551-1-eperezma@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 So VDUSE devices can use the new features Signed-off-by: Eugenio P=C3=A9rez --- drivers/vdpa/vdpa_user/vduse_dev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/vdpa/vdpa_user/vduse_dev.c b/drivers/vdpa/vdpa_user/vd= use_dev.c index 5f0032df43b8..aa2d25caa933 100644 --- a/drivers/vdpa/vdpa_user/vduse_dev.c +++ b/drivers/vdpa/vdpa_user/vduse_dev.c @@ -2054,7 +2054,7 @@ static long vduse_ioctl(struct file *file, unsigned i= nt cmd, break; =20 ret =3D -EINVAL; - if (api_version > VDUSE_API_VERSION) + if (api_version > VDUSE_API_VERSION_1) break; =20 ret =3D 0; @@ -2121,6 +2121,7 @@ static int vduse_open(struct inode *inode, struct fil= e *file) if (!control) return -ENOMEM; =20 + control->api_version =3D VDUSE_API_VERSION_1; file->private_data =3D control; =20 return 0; --=20 2.49.0