From nobody Sat Feb 7 18:34:18 2026 Received: from forward205b.mail.yandex.net (forward205b.mail.yandex.net [178.154.239.152]) (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 387E5284885; Wed, 8 Oct 2025 12:55:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.154.239.152 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759928123; cv=none; b=T9fY3kpZzXpoWpRAppY/101SKGHhFN/6B9MhARL6MD5FS1FinHBNh94s3FouvDr932jwRUqqzNG/XvtxI+grjpHDoXuUl/euVPh4M1mh/1FdNBBBgf/ioVgWDyeSsh7Sg50pRZsw3/NEvRRM93lXuv/qZLJUhGt0qRQpcZla0BE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759928123; c=relaxed/simple; bh=HxTRL/2YUDkd+jfqLc4AsJdmH4OhaTVmob1ir2avKXg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=kqTQruCtskRijhuw39PL+kSokLGN/aQJFHEJP49IhRUtInfjElfFPpeqX7o8BbnpLNvevcokFHD4qJkIp0s98Rxb1Ri6GWup3UvRtlibTkbLvJCPg/dRDsL6XMTfB7r9OzKXkwzo3ZTUZmNe4yXIBLq1ZGttBlXdLec2FjmdK1I= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=onurozkan.dev; spf=pass smtp.mailfrom=onurozkan.dev; dkim=pass (1024-bit key) header.d=onurozkan.dev header.i=@onurozkan.dev header.b=MgT5Yb+L; arc=none smtp.client-ip=178.154.239.152 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=onurozkan.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=onurozkan.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=onurozkan.dev header.i=@onurozkan.dev header.b="MgT5Yb+L" Received: from forward100b.mail.yandex.net (forward100b.mail.yandex.net [IPv6:2a02:6b8:c02:900:1:45:d181:d100]) by forward205b.mail.yandex.net (Yandex) with ESMTPS id 36AB4865AD; Wed, 08 Oct 2025 15:47:33 +0300 (MSK) Received: from mail-nwsmtp-smtp-production-main-74.sas.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-74.sas.yp-c.yandex.net [IPv6:2a02:6b8:c1b:3715:0:640:1185:0]) by forward100b.mail.yandex.net (Yandex) with ESMTPS id B3F9480B32; Wed, 08 Oct 2025 15:47:24 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-74.sas.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id LklD46OLveA0-vcNxUOCh; Wed, 08 Oct 2025 15:47:23 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onurozkan.dev; s=mail; t=1759927643; bh=Sx8MdAac7N2yRtDh9OtiumveZ9iIOg++0ZjBT22o1ik=; h=Cc:Message-ID:References:Date:In-Reply-To:Subject:To:From; b=MgT5Yb+LosHUAisg1Uh1kBtUZGUdnJuH3GhpvLh7WaHR28VkajITt2YoL51B/zxqE YE33Ys3mbPaMaFucKNc028ZZ7sK0jArll4MISoiKSRZuhe1ugiZux/RaZGuLmdHhrV 54fq2xS2TSg0SiZ8DsAMhP4257tRZRND03hyavj4= Authentication-Results: mail-nwsmtp-smtp-production-main-74.sas.yp-c.yandex.net; dkim=pass header.i=@onurozkan.dev From: =?UTF-8?q?Onur=20=C3=96zkan?= To: rust-for-linux@vger.kernel.org Cc: ojeda@kernel.org, alex.gaynor@gmail.com, boqun.feng@gmail.com, gary@garyguo.net, bjorn3_gh@protonmail.com, lossin@kernel.org, aliceryhl@google.com, tmgross@umich.edu, dakr@kernel.org, linux-kernel@vger.kernel.org, acourbot@nvidia.com, airlied@gmail.com, simona@ffwll.ch, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, corbet@lwn.net, lyude@redhat.com, linux-doc@vger.kernel.org, linux-mm@kvack.org, =?UTF-8?q?Onur=20=C3=96zkan?= Subject: [PATCH v2 1/4] rust: xarray: move pointer check into `XArray::new` Date: Wed, 8 Oct 2025 15:46:16 +0300 Message-ID: <20251008124619.3160-2-work@onurozkan.dev> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251008124619.3160-1-work@onurozkan.dev> References: <20251008124619.3160-1-work@onurozkan.dev> 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 There will be multiple functions that will store into XArray. It's not ideal to duplicate this check in all of them. Moving it into the constructor function will remove the need for duplication. Signed-off-by: Onur =C3=96zkan --- rust/kernel/xarray.rs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/rust/kernel/xarray.rs b/rust/kernel/xarray.rs index a49d6db28845..90e27cd5197e 100644 --- a/rust/kernel/xarray.rs +++ b/rust/kernel/xarray.rs @@ -87,6 +87,12 @@ pub enum AllocKind { impl XArray { /// Creates a new initializer for this type. pub fn new(kind: AllocKind) -> impl PinInit { + // Ensure pointers stored in XArray are suitably aligned. + build_assert!( + T::FOREIGN_ALIGN >=3D 4, + "pointers stored in XArray must be 4-byte aligned" + ); + let flags =3D match kind { AllocKind::Alloc =3D> bindings::XA_FLAGS_ALLOC, AllocKind::Alloc1 =3D> bindings::XA_FLAGS_ALLOC1, @@ -230,10 +236,6 @@ pub fn store( value: T, gfp: alloc::Flags, ) -> Result, StoreError> { - build_assert!( - T::FOREIGN_ALIGN >=3D 4, - "pointers stored in XArray must be 4-byte aligned" - ); let new =3D value.into_foreign(); let old =3D { -- 2.51.0 From nobody Sat Feb 7 18:34:18 2026 Received: from forward206b.mail.yandex.net (forward206b.mail.yandex.net [178.154.239.151]) (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 3EF7422576E; Wed, 8 Oct 2025 12:53:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.154.239.151 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759927992; cv=none; b=h+bzvCEwohWXh5THwxm3Zg94Q0/pwDn1CJ0ysaqse0Ay2J3VPic+9yXPtiu02v03VOaakM4whGEj1fZQ6bk8Y4RCGEU9jmxpSkbf7vh5zf9Q9398tLfXPRB177anFc2UIfP5RQ569/taeFc5HjmyzExGEWQIkXeyOjHBgQf+duM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759927992; c=relaxed/simple; bh=M4vQ/ICTS7HOdkm3Eyry1Ae2cRQyR4+iqQSeG7AUovY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=kXACXgyF7MyocUs3xBl/U7r/YtxxBq+MVURazG2taapNylDHcp1Ydyn798/hSjUKoGct9yXyK+xVEs+ktZ5aFjcyOnUHOEFgFBbvflVnTB8L7WNVoSq4VPWWWHyjxD9l/UrYHEdvfM0Tj5TttfeujcjUwhhvy/1Rnrrs3zCKzmI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=onurozkan.dev; spf=pass smtp.mailfrom=onurozkan.dev; dkim=pass (1024-bit key) header.d=onurozkan.dev header.i=@onurozkan.dev header.b=d94HbiTA; arc=none smtp.client-ip=178.154.239.151 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=onurozkan.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=onurozkan.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=onurozkan.dev header.i=@onurozkan.dev header.b="d94HbiTA" Received: from forward101b.mail.yandex.net (forward101b.mail.yandex.net [IPv6:2a02:6b8:c02:900:1:45:d181:d101]) by forward206b.mail.yandex.net (Yandex) with ESMTPS id 3EDE38371D; Wed, 08 Oct 2025 15:47:36 +0300 (MSK) Received: from mail-nwsmtp-smtp-production-main-74.sas.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-74.sas.yp-c.yandex.net [IPv6:2a02:6b8:c1b:3715:0:640:1185:0]) by forward101b.mail.yandex.net (Yandex) with ESMTPS id 1F57CC008F; Wed, 08 Oct 2025 15:47:28 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-74.sas.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id LklD46OLveA0-F6jyaQdz; Wed, 08 Oct 2025 15:47:26 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onurozkan.dev; s=mail; t=1759927646; bh=9zjv8cFRBo9Unx3PUTFt2Dg057u0swwLrQZWxNbSWj4=; h=Cc:Message-ID:References:Date:In-Reply-To:Subject:To:From; b=d94HbiTA+/qglKjJNUP8UVu3bp8xKNT88f5lgUR+fkNWhAJlK+ztEZp8TWsToIzAw MhBlPnbG3663GBUWrs07fyw2dKY3CHazNA7NRMOHgF/ci1zgL6+7VvLLhPLp2R4uVI Iko7lWPUHDqcjZXLTjT99r3iXrE4YdTbi+G4E+kU= Authentication-Results: mail-nwsmtp-smtp-production-main-74.sas.yp-c.yandex.net; dkim=pass header.i=@onurozkan.dev From: =?UTF-8?q?Onur=20=C3=96zkan?= To: rust-for-linux@vger.kernel.org Cc: ojeda@kernel.org, alex.gaynor@gmail.com, boqun.feng@gmail.com, gary@garyguo.net, bjorn3_gh@protonmail.com, lossin@kernel.org, aliceryhl@google.com, tmgross@umich.edu, dakr@kernel.org, linux-kernel@vger.kernel.org, acourbot@nvidia.com, airlied@gmail.com, simona@ffwll.ch, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, corbet@lwn.net, lyude@redhat.com, linux-doc@vger.kernel.org, linux-mm@kvack.org, =?UTF-8?q?Onur=20=C3=96zkan?= Subject: [PATCH v2 2/4] rust: xarray: abstract `xa_alloc` Date: Wed, 8 Oct 2025 15:46:17 +0300 Message-ID: <20251008124619.3160-3-work@onurozkan.dev> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251008124619.3160-1-work@onurozkan.dev> References: <20251008124619.3160-1-work@onurozkan.dev> 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 Implements `alloc` function to `XArray` that wraps `xa_alloc` safely, which will be used to generate the auxiliary device IDs. Resolves a task from the nova/core task list under the "XArray bindings [XARR]" section in "Documentation/gpu/nova/core/todo.rst" file. Signed-off-by: Onur =C3=96zkan --- rust/kernel/xarray.rs | 41 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/rust/kernel/xarray.rs b/rust/kernel/xarray.rs index 90e27cd5197e..0711ccf99fb4 100644 --- a/rust/kernel/xarray.rs +++ b/rust/kernel/xarray.rs @@ -10,7 +10,7 @@ ffi::c_void, types::{ForeignOwnable, NotThreadSafe, Opaque}, }; -use core::{iter, marker::PhantomData, pin::Pin, ptr::NonNull}; +use core::{iter, marker::PhantomData, ops::Range, pin::Pin, ptr::NonNull}; use pin_init::{pin_data, pin_init, pinned_drop, PinInit}; /// An array which efficiently maps sparse integer indices to owned object= s. @@ -268,6 +268,45 @@ pub fn store( Ok(unsafe { T::try_from_foreign(old) }) } } + + /// Allocates an empty slot within the given `limit` and stores `value= ` there. + /// + /// May drop the lock if needed to allocate memory, and then reacquire= it afterwards. + /// + /// On success, returns the allocated index. + /// + /// On failure, returns the element which was attempted to be stored. + pub fn alloc( + &mut self, + limit: Range, + value: T, + gfp: alloc::Flags, + ) -> Result> { + let new =3D value.into_foreign(); + let mut id: u32 =3D 0; + + let limit =3D bindings::xa_limit { + min: limit.start, + max: limit.end, + }; + + // SAFETY: + // - `self.xa.xa` is valid by the type invariant. + // - `new` came from `T::into_foreign`. + let ret =3D + unsafe { bindings::__xa_alloc(self.xa.xa.get(), &mut id, new, = limit, gfp.as_raw()) }; + + if ret < 0 { + // SAFETY: `__xa_alloc` doesn't take ownership on error. + let value =3D unsafe { T::from_foreign(new) }; + return Err(StoreError { + value, + error: Error::from_errno(ret), + }); + } + + Ok(id) + } } // SAFETY: `XArray` has no shared mutable state so it is `Send` iff `T`= is `Send`. -- 2.51.0 From nobody Sat Feb 7 18:34:18 2026 Received: from forward204b.mail.yandex.net (forward204b.mail.yandex.net [178.154.239.153]) (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 B4F12248F77; Wed, 8 Oct 2025 12:55:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.154.239.153 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759928114; cv=none; b=RwZ+BXZalx/5GD/7NEEfpFN4NePbIEEsUBymay+Nqo0B/v6b564fw78/0f3TqBcOSmJ9/2KAFTSgl3AG8RwbIJQ02YLN7hnmL/s/1xVkK0JzV/nukwKtvcnXE4Wkcuo6ioEbGyLlsQXfAp1wk9/IbQup0Y0dcW7bs/Txyot2xCY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759928114; c=relaxed/simple; bh=o4JSOiNvSiuVy6wKHbAIexksGThs/RLhe1e8HWTcEjc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=mmYUIZvK2ha0i+v+pLn9NegD+3DOG8V/XcnJ+3JF/Yb7bW+dtbObUTguhuRxjT0kpVHzhTjN0BmXC46AKuynG9dj0ECStSlTtaNmgKRAC8PHvml5Nvt0bOvacWj47uBmaVrt3OruVeKfyVjZ1NGrF85kwPjGGk4AMFmwAXlbz7s= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=onurozkan.dev; spf=pass smtp.mailfrom=onurozkan.dev; dkim=pass (1024-bit key) header.d=onurozkan.dev header.i=@onurozkan.dev header.b=TIGY6JA7; arc=none smtp.client-ip=178.154.239.153 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=onurozkan.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=onurozkan.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=onurozkan.dev header.i=@onurozkan.dev header.b="TIGY6JA7" Received: from forward100b.mail.yandex.net (forward100b.mail.yandex.net [IPv6:2a02:6b8:c02:900:1:45:d181:d100]) by forward204b.mail.yandex.net (Yandex) with ESMTPS id 60BBF85679; Wed, 08 Oct 2025 15:47:39 +0300 (MSK) Received: from mail-nwsmtp-smtp-production-main-74.sas.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-74.sas.yp-c.yandex.net [IPv6:2a02:6b8:c1b:3715:0:640:1185:0]) by forward100b.mail.yandex.net (Yandex) with ESMTPS id CC76180783; Wed, 08 Oct 2025 15:47:30 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-74.sas.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id LklD46OLveA0-5Fip2vTH; Wed, 08 Oct 2025 15:47:30 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onurozkan.dev; s=mail; t=1759927650; bh=uRGv0l/dmTbmeqoiwwL0sBB19QCoeul8k0YBcio2lRE=; h=Cc:Message-ID:References:Date:In-Reply-To:Subject:To:From; b=TIGY6JA7uXQqZzGsU6qvsO+MVeWfyh6H8FJlt0NscSCMfPmwy9t/MW5XIVXced7ve QIxBT7OUA3CWxqSPrgkRg7Lr0URBTJNWI/RYACVQa7XSn13n9DeW4DpqQMUZYdG0fZ oCBkiHgRnCunKHIPSO7UeVbhe6AE/ZFpUqAuS1BI= Authentication-Results: mail-nwsmtp-smtp-production-main-74.sas.yp-c.yandex.net; dkim=pass header.i=@onurozkan.dev From: =?UTF-8?q?Onur=20=C3=96zkan?= To: rust-for-linux@vger.kernel.org Cc: ojeda@kernel.org, alex.gaynor@gmail.com, boqun.feng@gmail.com, gary@garyguo.net, bjorn3_gh@protonmail.com, lossin@kernel.org, aliceryhl@google.com, tmgross@umich.edu, dakr@kernel.org, linux-kernel@vger.kernel.org, acourbot@nvidia.com, airlied@gmail.com, simona@ffwll.ch, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, corbet@lwn.net, lyude@redhat.com, linux-doc@vger.kernel.org, linux-mm@kvack.org, =?UTF-8?q?Onur=20=C3=96zkan?= Subject: [PATCH v2 3/4] rust: xarray: abstract `xa_alloc_cyclic` Date: Wed, 8 Oct 2025 15:46:18 +0300 Message-ID: <20251008124619.3160-4-work@onurozkan.dev> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251008124619.3160-1-work@onurozkan.dev> References: <20251008124619.3160-1-work@onurozkan.dev> 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 Implements `alloc_cyclic` function to `XArray` that wraps `xa_alloc_cyclic` safely, which will be used to generate the auxiliary device IDs. Resolves a task from the nova/core task list under the "XArray bindings [XARR]" section in "Documentation/gpu/nova/core/todo.rst" file. Signed-off-by: Onur =C3=96zkan --- rust/kernel/xarray.rs | 50 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/rust/kernel/xarray.rs b/rust/kernel/xarray.rs index 0711ccf99fb4..8ac7210afd6b 100644 --- a/rust/kernel/xarray.rs +++ b/rust/kernel/xarray.rs @@ -307,6 +307,56 @@ pub fn alloc( Ok(id) } + + /// Allocates an empty slot within the given `limit`, storing `value` = and cycling from `*next`. + /// + /// May drop the lock if needed to allocate memory, and then reacquire= it afterwards. + /// + /// On success, returns the allocated index and the next pointer respe= ctively. + /// + /// On failure, returns the element which was attempted to be stored. + pub fn alloc_cyclic( + &mut self, + limit: Range, + mut next: u32, + value: T, + gfp: alloc::Flags, + ) -> Result<(u32, u32), StoreError> { + let new =3D value.into_foreign(); + + let limit =3D bindings::xa_limit { + min: limit.start, + max: limit.end, + }; + + // `__xa_alloc_cyclic` overwrites this. + let mut id: u32 =3D 0; + + // SAFETY: + // - `self.xa.xa` is valid by the type invariant. + // - `new` came from `T::into_foreign`. + let ret =3D unsafe { + bindings::__xa_alloc_cyclic( + self.xa.xa.get(), + &mut id, + new, + limit, + &mut next, + gfp.as_raw(), + ) + }; + + if ret < 0 { + // SAFETY: `__xa_alloc_cyclic` doesn't take ownership on error. + let value =3D unsafe { T::from_foreign(new) }; + return Err(StoreError { + value, + error: Error::from_errno(ret), + }); + } + + Ok((id, next)) + } } // SAFETY: `XArray` has no shared mutable state so it is `Send` iff `T`= is `Send`. -- 2.51.0 From nobody Sat Feb 7 18:34:18 2026 Received: from forward100b.mail.yandex.net (forward100b.mail.yandex.net [178.154.239.147]) (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 058FE246BB6; Wed, 8 Oct 2025 12:47:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.154.239.147 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759927658; cv=none; b=OAyLTtC0eS5KWDwMH8usVqF7mbtgEOkeJLtBpuAI5izchpay+AzOIdlz8PhcrCaKcWp7sBA1r1LLiDxQnKOvrVUgEO4JQ4WNmF/ekD1o9cRutpHg8ohBULbHcwRPRa0oUTj8i8qAH/c3rGrrRPJqhgyjVWiHj7nZOsGlx8eCtvo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759927658; c=relaxed/simple; bh=2uY5NoijnwdLmleoPPRrn2yh0v/tr1KGjdpZ1mjviHk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=cbtyzh0ELSteywkPPrBFvudCTGKl3hvyVU9Y2tpiUVBnThmZSva920b4SCstPWNq/CDEa6cd9VyHbqoSUNwlMNMP62rl/FUPFpG4e9MHqwguDcBQF09F+845MXC1o2u5CLQslxvacb0cFBMw8Hnxe+j/SWp6LrH7hI/TVK8tp/g= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=onurozkan.dev; spf=pass smtp.mailfrom=onurozkan.dev; dkim=pass (1024-bit key) header.d=onurozkan.dev header.i=@onurozkan.dev header.b=jZIETUWJ; arc=none smtp.client-ip=178.154.239.147 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=onurozkan.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=onurozkan.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=onurozkan.dev header.i=@onurozkan.dev header.b="jZIETUWJ" Received: from mail-nwsmtp-smtp-production-main-74.sas.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-74.sas.yp-c.yandex.net [IPv6:2a02:6b8:c1b:3715:0:640:1185:0]) by forward100b.mail.yandex.net (Yandex) with ESMTPS id 35F5880732; Wed, 08 Oct 2025 15:47:34 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-74.sas.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id LklD46OLveA0-D59SuP6u; Wed, 08 Oct 2025 15:47:32 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onurozkan.dev; s=mail; t=1759927653; bh=2uY5NoijnwdLmleoPPRrn2yh0v/tr1KGjdpZ1mjviHk=; h=Cc:Message-ID:References:Date:In-Reply-To:Subject:To:From; b=jZIETUWJfKDZBha4rR9GU61rEsPoWRPnta/4npIBviypEjNMjfHwAtG2UCmdOVi91 Nh0XBjQafoKH2JbdN8iFqoHwDoAr2Zd4V3BH7YEEL5cSxf6d12TSqfXdUxlo9sjnJK eM9hO3IRO2qqHBHcAQdLQsw38NhuKv1MwLbKWFYw= Authentication-Results: mail-nwsmtp-smtp-production-main-74.sas.yp-c.yandex.net; dkim=pass header.i=@onurozkan.dev From: =?UTF-8?q?Onur=20=C3=96zkan?= To: rust-for-linux@vger.kernel.org Cc: ojeda@kernel.org, alex.gaynor@gmail.com, boqun.feng@gmail.com, gary@garyguo.net, bjorn3_gh@protonmail.com, lossin@kernel.org, aliceryhl@google.com, tmgross@umich.edu, dakr@kernel.org, linux-kernel@vger.kernel.org, acourbot@nvidia.com, airlied@gmail.com, simona@ffwll.ch, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, corbet@lwn.net, lyude@redhat.com, linux-doc@vger.kernel.org, linux-mm@kvack.org, =?UTF-8?q?Onur=20=C3=96zkan?= Subject: [PATCH v2 4/4] remove completed task from nova-core task list Date: Wed, 8 Oct 2025 15:46:19 +0300 Message-ID: <20251008124619.3160-5-work@onurozkan.dev> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251008124619.3160-1-work@onurozkan.dev> References: <20251008124619.3160-1-work@onurozkan.dev> 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 The task is completed in this series. Signed-off-by: Onur =C3=96zkan --- Documentation/gpu/nova/core/todo.rst | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Documentation/gpu/nova/core/todo.rst b/Documentation/gpu/nova/= core/todo.rst index 0972cb905f7a..de70a857fcfd 100644 --- a/Documentation/gpu/nova/core/todo.rst +++ b/Documentation/gpu/nova/core/todo.rst @@ -210,14 +210,6 @@ capability, MSI API abstractions. | Complexity: Beginner -XArray bindings [XARR] ----------------------- - -We need bindings for `xa_alloc`/`xa_alloc_cyclic` in order to generate the -auxiliary device IDs. - -| Complexity: Intermediate - Debugfs abstractions -------------------- -- 2.51.0