From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=80.241.56.152 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796511716; b=oNpd8RWJQco088WX3wiR7LFC/n4WRD4Nle6oA74JEwWT3XndOLY6//n83qn4N7/4Fut0 +F7RlAHCsTXfskxqyrtYTa4SEIMCzXMTgJWf3UDkhqgY743F0Hj+3H+dGTKeCUQArtv9i 24LrITYqOyOFyvAvyXNN4Amb/lJww2u+kKvfuEFjCuzFyYNu1DihF9DHEEfDSkdG6H6Pn BEtc3HfFhJXvdqJDChWakJbutJd1BjL53BbSTtLi25uzykmNb0aORWaAPmMym0VMjSrCw 3V0I1iOwqPkeJHw0R/v0qUJRPdOicGEIBns2yjM5gEbAYyD4yU63JCyI+40huNHNDvQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796511716; h=DMARC-Filter:Received:DKIM-Signature:Mime-Version: Content-Transfer-Encoding:Content-Type:Date:Message-Id:Cc:Subject: From:To:X-Mailer:References:In-Reply-To:X-MBO-RS-META:X-MBO-RS-ID; bh=2dC0x1qlEVs7+haND4qOqvHSMWUXBzP/BeLoZaC/IaQ=; b=CHIHQ0zX999uN6305NKbF9b0NQWoja2oe4grTvjfwhmi120edGYGKNSU6STQLbNCKmCf 5JlZiDK2KklRHOXMfbD1fk4W1aYDjaiKQ7LTbz8fi6+CoaPu10L+LqN1I/Rfy1URWEBCS YzCcUaVU44Twb9Q4IMVu77fIOUlf1w5dkD52lRtu/eCcA7WhbTBowgdXZymy9eluMPY4y j7BNv4qLSrepo27feEt7sGuid6tUJwZdnH7X52EAE1QzSFqEKYELTrEw5kSiSFUlqDoy7 y4YE3QHqSStzIny5I9OsXNzz50M4u8PZTeqVKJ+cdXpYK50i06wTZuPpEmB7Gg9Vddg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=mailbox.org; spf=pass smtp.mailfrom=mailbox.org; dkim=pass header.d=mailbox.org header.i=@mailbox.org header.a=rsa-sha256 header.s=mail20150812 header.b=kM5sXf+D; arc=none smtp.remote-ip=80.241.56.152 Received: from mout-p-102.mailbox.org (mout-p-102.mailbox.org [80.241.56.152]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 87C0B606A322; Sat, 5 Dec 2026 23:01:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 87C0B606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mailbox.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mailbox.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.a=rsa-sha256 header.s=mail20150812 header.b=kM5sXf+D Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:b231:465::102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519MLKEM768 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4jhkQ06ldPzKqRH; Sun, 06 Dec 2026 00:01:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1796511705; 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=2dC0x1qlEVs7+haND4qOqvHSMWUXBzP/BeLoZaC/IaQ=; b=kM5sXf+D3dCRUQEqUNorFahJnfvQZd+qSBltfFElrt9w3b9ss3+nwDRVzInTBH1+vTyQCO D7JMpn2Q2bf3o1VnlgafzuVfnN7zKJNGDML7TY26HwmHmqTqRtxa+NU7JdfzUUFQklLPP0 h+SoT7ckP/nOqdYRH9NlX9ROq8zHJGchLjWKdE1AB2MzxJEBUNERK+Bgl37oGqEyWE9fV8 GbStuS8kjAXYIhRrMpP0uP7YtBScdl4bjmmYx6bEtI5FSIlraeef/58DlU24Xw3ZnSnAJn p1zBQS9eoew7ofY045ee3ojb/Uxd1Ht1jY0R+wKSqJNa/EUTKNuc0LonnHMKIw== X-Mailing-List: kvm@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Sun, 06 Dec 2026 00:01:38 +0100 Message-Id: Cc: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH v3 7/9] rust: vfio: add PCI variant driver abstractions From: "Maurice" To: "Danilo Krummrich" , "Simon Song" X-Mailer: aerc 0.22.0 References: <20261119215046.2892839-1-xinmengs@nvidia.com> <20261119215046.2892839-8-xinmengs@nvidia.com> In-Reply-To: X-MBO-RS-META: bauqzmjwcbf6iw1mc66qngcezebk9z98 X-MBO-RS-ID: ccb4cfdbd45a0e1a604 On Thu Nov 26, 2026 at 12:51 AM CET, Danilo Krummrich wrote: > On Thu Nov 19, 2026 at 10:50 PM CET, Simon Song wrote: > >> + >> +/// A VFIO PCI file position, encoding a region index and an offset wit= hin that region. >> +pub struct Position<'a> { >> + raw: &'a mut i64, > > Shouldn't this be just file::Offset? > > I don't remember if file::Offset is still an alias of a primitive or a ne= w type. > > I remember I sent a patch to convert it to a new type in the past, but I = don't > remember if I ever followed up on it and if it was merged. > > If not, I should probably resend, or please also feel free to pick it up = if you > want. In any case, this can happen subsequently and doesn't need to be pa= rt of > this series. It was not merged, file::Offset is still an alias of loff_t in linux-next. Danilo, Simon: if neither of you plans to resend it, I'd be happy to pick u= p your "rust: fs: add new type file::Offset" patch from last year [1]. [1] https://lore.kernel.org/rust-for-linux/20251022143158.64475-2-dakr@kern= el.org/ Best, Maurice