From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f73.google.com (mail-wm1-f73.google.com [209.85.128.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 68B642DC33B for ; Tue, 25 Nov 2025 12:39:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.73 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764074392; cv=none; b=AAB/Wn9+gpZMGTk/HyrsN2vIExSR82QaouUbxbfLqimqELeY90zwsmNifx1p7H4OQs7FRfjSL3zcji0NzySVqi5mS1GXzLP+2d3SoTN7QnVFAZ0I4rkHiWhJDWyez1O///g7fa9YpVDfWLHxqELTokqXf8a08Ka38af1NNB4A8o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764074392; c=relaxed/simple; bh=G10RNBV+jYHZ+2n7e6/S3MjEijJxngQtVmbZp8vJqdg=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=sVjc6uCgkLal2rvQtUc7DZC//YMaOBsX6FK34hMzxR12olLnzQxGbPhBP4cfqc65n9Zsg+jJNl53sAVWqggO9o0RPwi+sXFkIpDIK4iFgI9znJ5sbyqOe7I/gQ9aa+Z1GLw+AW6brutSp75hJS7Nw19VwFiuFrJEDznMy/XR5e4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--aliceryhl.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=sbLmKVfF; arc=none smtp.client-ip=209.85.128.73 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--aliceryhl.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="sbLmKVfF" Received: by mail-wm1-f73.google.com with SMTP id 5b1f17b1804b1-47777158a85so72151285e9.3 for ; Tue, 25 Nov 2025 04:39:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1764074389; x=1764679189; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=ojWe1b8r/UImKNNJCHWtNLHUmExFFE68AIjW9wlYavw=; b=sbLmKVfFEkm6wFYIwMuiApMg5BMeqilny8I1pnIyDIQpfnD93jaM4DSHR6W7HEJnNK 5VAjK6ohkg/LgaF+q0k0989ZhHoeVzg5r1nCDMz8Odj+IaaVxTmk0aLo6prvuAR+L1J6 xafUqSGYrili2Tv5acG8EwOKIHTmBpkSIjKwW3qxbtTo6sh0VU1n3cAgLwDT1oJhG2nW B9ghqvcMWQGVcw6TUJ+wjeg8jO8MNtSQr5wJn3owdXpZ+Pg01nNaA2IiczqGUVD6FJid yv+DEr2gqfFsCc+z6aDLCaF+/5lpm1e4WaMPNmyQXFja+YUp4n3EsVrYCtkw4Gl8X3ys 8KEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764074389; x=1764679189; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ojWe1b8r/UImKNNJCHWtNLHUmExFFE68AIjW9wlYavw=; b=fIAiEGUI1WpDEmc0djzRvZgNfgYb6Fkm40JfQPvomMmBntk2+pA99j/NsXW5Dy90YI aHZuFBbqAAksdWCDBorklTktl9wt6oofq0vLZLdgteDyFOFYRQBRRkE4x0Lof5xNuAa/ VH5kKBtfkGKSJfot0e0H34RI5udpaTVQDWHailfD0gR2giR3xWKa1P0B0GkXSaNDYX9U YmEe0Zh5HZoTjhzH9d8FJe68Ec7da5w+stoq2V4CZ5D/wyXnFS+75UfQdfHCp64iqv8s n0ic7GdpHF7gC6fwFTUONLu/d5rGMqfcSm0CVfyepAduPTTU0yHQ2emwzLLhOU21FQNu zCtg== X-Forwarded-Encrypted: i=1; AJvYcCXhbOECejCm9ylrGeK235VRipTE6jd2TcjCHEXo9WVE3nkNnLFCTfqDcutXJM3CRKqUqUTDWqw0LggJzohq0Q==@vger.kernel.org X-Gm-Message-State: AOJu0YxeVoQU2R+r7332LY9FPVbgOyGTQX4fB3EfEbM1lQLkiPgO8t5k 33XPNmt90Fzf9qYF6bO6pEYBtsD+VyqlQ9fhTfPNPBiYXTot9Ypqb7Jvn1b3KF6opdVw1eeA/x5 yIx8uKYRp9a6cV3XrAQ== X-Google-Smtp-Source: AGHT+IGGYXbl3NW70HoCq1BUicduv2r9uYzD+uC5Jcg7P8rx3FquzssE0TqvF8nfpxyfE19H4MBFZ8Ly+NNtPC0= X-Received: from wmbc14.prod.google.com ([2002:a7b:c00e:0:b0:477:a4d4:607a]) (user=aliceryhl job=prod-delivery.src-stubby-dispatcher) by 2002:a05:600c:8b35:b0:475:d8b3:a9d5 with SMTP id 5b1f17b1804b1-477c10d6fdamr159756165e9.10.1764074388898; Tue, 25 Nov 2025 04:39:48 -0800 (PST) Date: Tue, 25 Nov 2025 12:39:48 +0000 In-Reply-To: <20251123092438.182251-1-shankari.ak0208@gmail.com> Precedence: bulk X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20251123092438.182251-1-shankari.ak0208@gmail.com> Message-ID: Subject: Re: [PATCH 00/10] rust: refactor ARef and AlwaysRefCounted imports From: Alice Ryhl To: Shankari Anand Cc: Greg Kroah-Hartman , "Arve =?utf-8?B?SGrDuG5uZXbDpWc=?=" , Todd Kjos , Martijn Coenen , Joel Fernandes , Christian Brauner , Carlos Llamas , Suren Baghdasaryan , Danilo Krummrich , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Alexandre Courbot , "Rafael J . Wysocki" , Miguel Ojeda , Alex Gaynor , Igor Korotin , Michal Wilczynski , Boqun Feng , Gary Guo , "=?utf-8?B?QmrDtnJu?= Roy Baron" , Benno Lossin , Andreas Hindborg , Trevor Gross , Daniel Almeida , Abdiel Janulgue , Robin Murphy , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org, rust-for-linux@vger.kernel.org, linux-pwm@vger.kernel.org Content-Type: text/plain; charset="utf-8" On Sun, Nov 23, 2025 at 02:54:28PM +0530, Shankari Anand wrote: > This series updates the import sites of `ARef` and > `AlwaysRefCounted` in the Rust kernel code to use `sync::aref` instead > of the previous `types` module. > > The refactor to `sync::aref` from `types::` was introduced in the commit: > commit 07dad44aa9a9 > ("rust: kernel: move ARef and AlwaysRefCounted to sync::aref") > link [1] > > The goal of this series is to complete the migration of these > types to `sync`, as discussed with Miguel Ojeda [2]. > The last commit in this series removes the temporary re-exports > from `types.rs` that were originally added to avoid breaking the > build during the transition. > > [1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=07dad44aa9a93b16af19e8609a10b241c352b440 > [2]: https://lore.kernel.org/lkml/CANiq72=hSTpAj7w8bvcwoJkivxD_FPKnx9jD6iNvhsENnnXBzg@mail.gmail.com/ > > Shankari Anand (10): > drivers: android: binder: Update ARef imports from sync::aref > drivers: gpu: Update ARef imports from sync::aref > rust: device: Update ARef and AlwaysRefCounted imports from sync::aref > rust: drm: Update AlwaysRefCounted imports to use sync::aref > rust: kernel: Update ARef and AlwaysRefCounted imports to use > sync::aref > rust: kernel: Update ARef and AlwaysRefCounted imports to use > sync::aref > rust: kernel: Update ARef imports to use sync::aref > rust: kernel: Update AlwaysRefCounted imports to use sync::aref > samples: rust: Update ARef imports to use sync::aref > rust: kernel: remove temporary re-exports of ARef and AlwaysRefCounted > > drivers/android/binder/process.rs | 2 +- > drivers/android/binder/thread.rs | 3 +-- > drivers/gpu/drm/tyr/driver.rs | 2 +- > drivers/gpu/nova-core/gsp/sequencer.rs | 2 +- > drivers/gpu/nova-core/vbios.rs | 2 +- > rust/kernel/device.rs | 4 ++-- > rust/kernel/device/property.rs | 5 +++-- > rust/kernel/drm/gem/mod.rs | 2 +- > rust/kernel/i2c.rs | 10 ++++------ > rust/kernel/pwm.rs | 3 ++- > rust/kernel/scatterlist.rs | 3 ++- > rust/kernel/types.rs | 2 -- > rust/kernel/usb.rs | 3 ++- > samples/rust/rust_debugfs.rs | 2 +- > 14 files changed, 22 insertions(+), 23 deletions(-) I will pick up the DRM ones (patch 2 & 4) once the branch re-opens on Dec 15th. Alice