From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f74.google.com (mail-wm1-f74.google.com [209.85.128.74]) (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 653A427702D for ; Tue, 25 Nov 2025 12:39:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.74 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764074393; cv=none; b=AQTSoZm0Pwv9EJZ9d0zft7E2ZOswolUQ2Ppy1WuiWk3PRJMLFN0ZkPr8JamqTrz1aq9PzwzBQOC9JYaOYR9Vg9VgQATDo4Zjg6umWtTd8FTpZwDaDrTpn3QsxgNTUyKtLwYsKU6OKS0Mp0E49Zlg0sE0TqI8f5bCR0ft86H1/xQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764074393; 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=qlMsCWy1OXFXsi/lxHsY/Jr9n9rZzRF6hBQuk6z1jfn1Et68+axZ4wRvsEZaoGTAFePKcnh0SpQhUDhx48dD1AGoGaCU2rOqdc2kXRoP8uTiAAjbV3sC9wmLlevqleUOkpUvU39GjE26mc7w1+RyxCzPAbvDvVFVfF4Ig6eqpfw= 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.74 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-f74.google.com with SMTP id 5b1f17b1804b1-4775f51ce36so51939055e9.1 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=JNIYi5Bey3x8t0RDZlxQID+MQdEQDT9f5Y2PJ3t8++d2QYw9YFMiL0MEkWKAu4dzc8 eOAUdvUb3O/sQm1JxL/4KoKKX6JR2kPIQ75aNA0IuESaYJM0tK0ynbuF9I0kRQckN6Fq Mqdqip5GRvoRr5l93O38+3hLOAUpR53SixmNd8rA1m8bbm4kr+3PPyyS1NWnOnKl807O qX7oROYNUNMf1Y/NrEvTa03YDtZvED3whTFOnBDG0/INfZYMiTLQalXXn6h15QPdStLx acDnSoIpf2fQHgqDveJ25a8MrnQzdJy2sn8S547AZRrZ71FdIjJLkRf5L3CsNWu9pQm5 8ixw== X-Forwarded-Encrypted: i=1; AJvYcCXMRVV1hMUhz/WCTapwXRZ/L2HQrR49hiWzhCyJc22Y1gvdFdFznYsoNKX5jq8eFL9ZLO0hoPvkLuCrkt8=@vger.kernel.org X-Gm-Message-State: AOJu0YwLTMTf8EMbPUFZG4NcDzolfHgXFv0xcHxunWMSO8xgOHXKa/68 FGK+NI/MJCwTuYLupr9vJMnP+OQrRYMjV+uZNYz7MbK2dSbZbqtEff3N3AX/wWSV8rSO+EowV+4 FYdK0KasLHyBpEsmWxg== 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: linux-kernel@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