From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796240609; b=ycz+d54TSnKPXDyIWCq79FRNU6PPlGhoVcTICCfOoiQpytjQm2eSdBgqvfa7iGAWU9Rl WWMnbP+7SOITsXogNeKf+zgr+R7erdE6FQgvYtVRwjxSJfZUNcvCXUAHdwYhlSGDLVq4Z RYAIzpxLdsdNAbrWLFbnnhb2PhYsDImLJuvguylmJCgkybQG7Rvv97IXhc1ngLmqR+OA1 pOuh+pakVjf+jSfYc0zDsU0WwsoALMkP7LN+VP/p4PTwLWpHVYmdKVQM+uRO1/S6o9zDD Fmmoln1dhigmG4DRqfPalbPd9gHFlkb0fvKl3mjoZNOgiKjkoUn5xgenMe2r3WfYLCw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796240609; h=Received:DKIM-Signature:Mime-Version:Content-Transfer-Encoding: Content-Type:Date:Message-Id:Subject:Cc:To:From:References: In-Reply-To; bh=8q5ZcRPPxjSQ83dRF/Iwuay7wxqGRGMHIXLzO0vg8e4=; b=RQas27EnhjLl774ztY7fxtdh4wITa2Y3kTeQCIut7+UEGTP4PYs6JFO0xWlgQUVtt1b0 dm8v/hUWahBrX2BFDufXVY8Fxs/hysmJfD4G+V84Ofo/lZ9UNmgifZC0spvPlfO+MAjaP DI5tCGfLtfVMPkcdEPKZybJ0C1W4Gxd0iltlL0goYiShOrSJCPyNCSvqkHeZyf6JEoVzr jPKH9YQuUCz5J4bKEuwPM+BW34gwDYL19VjlTLS5dquUSpp8GUev4LF253ba4zeYrl4oY GA95EB3GOGUZ6ZR1vLxrr26EM5xkQnTI4sKnkxeEzi7qFWMFXIqN+T2dyo0NjQXdy4Q== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ImeHZOdr; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 13A4C606A322; Wed, 2 Dec 2026 19:43:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ImeHZOdr Received: by smtp.kernel.org (Postfix) with ESMTPSA id EC5251F000C1; Wed, 2 Dec 2026 19:43:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796240608; bh=8q5ZcRPPxjSQ83dRF/Iwuay7wxqGRGMHIXLzO0vg8e4=; h=Date:Subject:Cc:To:From:References:In-Reply-To; b=ImeHZOdrdX4k7K06I1yDu+69aiKEIOtNZVTSxE94upWIrz0dqD9loGMCiAkCfvlc6 nz0OplM3z6QO0fLodTgCFFowCMcph4cmiIQF252fGtAXCO40pWyMYWKRDga3YUJ//4 TtTD/EMAp3Sbu7jkADDXAXgG/JKhDueuvX3M8PgDc6j0Cg0EdRbwFCbwpts/56lYiU yAcPy6E5X0DVLMl2zVNCWDP69ZgYROatrLwwOjbxQphSArIYIKf+mXioPVOWC3fM2T nYqB4PhMbsr4G+CGlCSoqGCDiJ+5/g074/GBeQD+TB3qr2mc3T53AxGOptD/FVNM4M 4ODiUNd7YNLbw== X-Mailing-List: linux-kernel@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: Wed, 02 Dec 2026 20:43:18 +0100 Message-Id: Subject: Re: [PATCH v4 1/5] rust: vfio: add common VFIO device handling Cc: "Simon Song" , , , , , , "Zhi Wang" , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , "Liam R. Howlett" , , "Lorenzo Stoakes" To: "Gary Guo" From: "Danilo Krummrich" References: <20261127224928.1511382-1-xinmengs@nvidia.com> <20261127224928.1511382-2-xinmengs@nvidia.com> In-Reply-To: On Wed Dec 2, 2026 at 7:43 PM CET, Gary Guo wrote: > So there's no need to actually do read/write at arbitrary position? The e= xisting > helpers added feel like it's needed. Access at a specific offset is needed, but forward traversal suffices. We d= on't need an arbitrary-position API. > But if vfio can work with the diff above that you have, I think that's > reasonable addition to unblock the series (with `#[inline]` added, that i= s). I did check nova-vgpu and the existing C drivers and I think this should be sufficient, yes.