From nobody Fri Dec 19 12:14:49 2025 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.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 386AC261B95 for ; Fri, 10 Oct 2025 08:59:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760086753; cv=none; b=IEGvSGnHx5VtrVH2CSmBT6lJyLFHflTAaPNZEnuS3HxGVmIx+RykR/z/unrU68oisb4zWCyfTxpVcwodGF6SN3hk365YrYTOQS2kVGv/6lsRv3rQEsINUJ9al1g9b/gax4JhGfojY8nHiH1Us+AZke2fPe+xe6hUJWBJuiy4Z9Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760086753; c=relaxed/simple; bh=lhCl02JcNvYJFSFP0Vbtt8pWSdOj2lYfb5fx1Iu8pI8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=n4fzdmWFfqCA/v3x/PA677jMfI4jrp9mwFgZYH6yVrkfstUSkX89eRdibbbNhrRCMnTF20ZhmFLPLjat1b0Esj+PJ+eyiKJ+oVStAHqp+16TdClYLGS+96jVBKNyabAOWHIEEX0Zu2+zMaVuY37xHy48NhHDIZ1o8u2Co/VOTws= 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=aqvkKrKm; arc=none smtp.client-ip=170.10.129.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="aqvkKrKm" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1760086750; 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=QwQHSnZkT212dH74HfZoTBGdSfvLNyyMYkakz8eSm7I=; b=aqvkKrKmUfFG/ctdO287qLQ1oNIKp3dBWsImQHHFjEppCqrn31pFibZ4RlUouf3qFdyZqQ 9KJFOhkLOjP9i2FhqkwXOTjsKuKtvANxX6flk2oIxq0KSnbOimmvO989T+Nar4sCQJv9uR LjQvOj0r9gFyVCzYfPTdZuZgguxFh8w= Received: from mx-prod-mc-08.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-209-ul2i7hHTMeqhuhbV2s3ZnA-1; Fri, 10 Oct 2025 04:59:07 -0400 X-MC-Unique: ul2i7hHTMeqhuhbV2s3ZnA-1 X-Mimecast-MFC-AGG-ID: ul2i7hHTMeqhuhbV2s3ZnA_1760086746 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (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-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 3F7B4180034C; Fri, 10 Oct 2025 08:59:06 +0000 (UTC) Received: from fedora.redhat.com (unknown [10.45.226.113]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 73271180047F; Fri, 10 Oct 2025 08:59:02 +0000 (UTC) From: =?UTF-8?q?Eugenio=20P=C3=A9rez?= To: "Michael S . Tsirkin " Cc: Yongji Xie , Stefano Garzarella , Xuan Zhuo , virtualization@lists.linux.dev, linux-kernel@vger.kernel.org, jasowang@redhat.com, Maxime Coquelin , Laurent Vivier , Cindy Lu , =?UTF-8?q?Eugenio=20P=C3=A9rez?= Subject: [PATCH v7 7/7] vduse: bump version number Date: Fri, 10 Oct 2025 10:58:27 +0200 Message-ID: <20251010085827.116958-8-eperezma@redhat.com> In-Reply-To: <20251010085827.116958-1-eperezma@redhat.com> References: <20251010085827.116958-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.4.1 on 10.30.177.93 Finalize the series by advertising VDUSE API v1 support to userspace. Now that all required infrastructure for v1 (ASIDs, VQ groups, update_iotlb_v2) is in place, VDUSE devices can opt in to the new features. Signed-off-by: Eugenio P=C3=A9rez Acked-by: Jason Wang --- drivers/vdpa/vdpa_user/vduse_dev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/vdpa/vdpa_user/vduse_dev.c b/drivers/vdpa/vdpa_user/vd= use_dev.c index 2e4d2c0cb554..4b55598302a6 100644 --- a/drivers/vdpa/vdpa_user/vduse_dev.c +++ b/drivers/vdpa/vdpa_user/vduse_dev.c @@ -2167,7 +2167,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; @@ -2234,7 +2234,7 @@ static int vduse_open(struct inode *inode, struct fil= e *file) if (!control) return -ENOMEM; =20 - control->api_version =3D VDUSE_API_VERSION; + control->api_version =3D VDUSE_API_VERSION_1; file->private_data =3D control; =20 return 0; --=20 2.51.0