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=i/BiHn/hVPopSikbLyWC1/ADmvWtZ2WaC5LJVGFER9Gn/NAYQrcaR2f7NshbmjNbvFga rbp9pHP67Q8m0icDtBG8QGJPewZdusvrbh1pguyg4YWUx0RBRDAm+9BTlt5wtXTTJ3g8P P06APR3g6UDtMhNdLcWhsODFCC7c4FUUO9fEe961bLIDbwgjalp9xjm2DuPRAy+6letpp mL+hhyNRV7xGaa5yr57GiHLwvTK9blwbI1TJEXx9a6CLgMokfK+L7ih5b58oO3vpMQVtS ENyeeOVcvKi6B9ro4v9GGw6oWJN4W7kyeaWBA7IFtrTTM4AxzNyaX7xiiT2Cv6OIzlQ== 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=fqD9P2B5ANaCxdq3aC0I3esn2r/+1JglzalOvmYrCog19HhSCciZTqLczr7w9IoMEOp3 N6SS/wfzkYb65eesx2lL3UzZHq5fv5/+DwVSir5Ub+9trXKw3cO7G15fFaGJ7XKyZG4j9 3nXRicWuvlORJOt2cmnqTTsp2Y8hzXFUyjqQNm9zpqqBteQ0Ori7vFgfG1Y4K+re3uYY6 0lrH/d8YkB+IxWAJ0rocaiy0W4NkiN7ZWomMDYlNp09UQg9ArVbJxdkgEpila5ea5Rkhj YSrL1tkPy1E+AwX5dEFxv0/5yAlcwbzUTqkt9Jd9qDGWEWHC9Iqa4XzVXPbHh+1Bskg== 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 87B20606A31F for ; Sat, 5 Dec 2026 23:01:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 87B20606A31F 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, unprotected) 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: nova-gpu@lists.linux.dev 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