From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-yx2-f1.google.com (mail-yx2-f1.google.com [74.125.224.129]) (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 9DE953C4544 for ; Wed, 15 Jul 2026 19:57:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.224.129 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784145439; cv=none; b=Ssb6ECukenHU98gIt+ygtpto2Br39Yel3F3jNwALCyoYzc+PsuJKo4S7T29mGzRYDE5sGhL70iRE/BcP/n076YrbOeS78Grdr0vS9BemkB8Mm96E7rh856KXFy8inbFNljia2eCEu2HR2ogO/782swijlVAWn5Uc2xnBCfm3gU0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784145439; c=relaxed/simple; bh=dWqB7+bvcc/NBuM3f79bt9xVLBZ3QNYcA1WJmcoPBwo=; h=From:Date:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=SDEJRgLcMz5cnl92Ft/8zTt4KMxTLhECIdTr+RuzVRLKiooTT80Asye+2lZzzDh5gEbKmlWwR6r1HdeBKP5aHwN1aSTjSAIlwjyvvgptgEDrL7LWih26Zucdiqaj/QTUiN/JH++aeCmiJOljHQ6R5PRwNhPhDD0o8N4EY8cAqag= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=KPlABJkp; arc=none smtp.client-ip=74.125.224.129 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="KPlABJkp" Received: by mail-yx2-f1.google.com with SMTP id 00721157ae682-81ce92c1a48so22402687b3.1 for ; Wed, 15 Jul 2026 12:57:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784145429; x=1784750229; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:cc:to:date :from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=1wq8otHP0LCRNgmPzcboIygw2YeAuXCKv3ifkhHU0zI=; b=KPlABJkp/HaRVWwjuV68joY9ose2xTzSXck5MdpD6uoXZfzic4dsjTiTkywpvebJe0 Y6VdRAvGgtIY7wNfLiNDKvpKH2ev4NhEU7m3TS7wAUIm8cEJXhJnUx+01PgGlkM43SvT FE9Vjh7GPkuuGKQjCyqP/nZdevuTmqEVD49EI3nnKdFxpELgcS3eYE6dpTudZIQpYoOW ExoxWaXFXDK5OTHCI8CNd3uNweC3eGcjKaEL4HjAyzAngqJfQORDGrRSIxC/vg4gTMM0 qO/g+M55LFb3+nbkB+jgFh5IXA10/nom/8ZX/gRMLCOmIM0xt7prkq/HYOOTNK+YD7+I I/mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784145429; x=1784750229; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:cc:to:date :from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=1wq8otHP0LCRNgmPzcboIygw2YeAuXCKv3ifkhHU0zI=; b=qB6KJrBb4wU9BKVh8dLSd0rW4fSCFhJ1O83OIqa49qRsfNiSHQ2N1ZlDhBlJibouA0 mPnQXWCEBfyxKyuHN20Y9QL3ju4VfIl8tMhjtELumcUnlnqqKJdDHzMjrBXmgQaYtjAX MjKw/XPPa1zcTMJ/IzUxCkMZ4BQ4PMy9N9bk2vUOgOjzKIMq10t/oywd7jQEymwLKmiZ BQVuCOsTOuRjGdjd/aMNNbaVAeFWiwG6LdO4p50/ILf2lz8dxfGF+cnDff0ByBPGJHF5 DiLWdNjKUZkSrAovQjJ+Jl/CZC0CPH/H9hyTL/sjrG2NSrmLR7i+pHvPvy7CfNexZbbN bINw== X-Forwarded-Encrypted: i=1; AHgh+RoEwUtJiPkwBJwTLqHBi8wna9z5aJeD4Mw6+sw9/7xzqe9wt7WXBNfBkiIdp8JbHc006T2bRizH2matZZ4=@vger.kernel.org X-Gm-Message-State: AOJu0YyiMoB0DNFzcBZKP3mTSJEROJ/0PqmOFAGWMytDESbFOtcnfwcR 1jOrfbed/mpk17hK6fjXqbpMeIYmeJJAlW7PJuPDEVWCR+hJVe0MhSMu X-Gm-Gg: AfdE7cn0+CTK50JaBbU9RmG8cp0Q63LIsvJc6dUQOV0tUF746aEEofTIqsLWvV5qzY/ /8fon/BgjNAIQKgETGoAzZ2VgKgAKlzCty2VMAYAy4p5GAD2ukcAo7xe/+NRAn9BL5CSudIYfow sf8xHFJS2Vl7tGVx2GRTvJefWcCWXrOUNpA3v5XjdydHpeM91ikBVLFMWmwZmwsgQlEpAH9GrkC cfBKI7wj5xk1vS54Ff4H66ErGOHS/9Vgq8unQUR9BLPbTn1Q1tfgqILneqKqP03G+j7nbuu9Les OkfAZPIt+YPrV0BQ8YVcAr/kXgwBg1XOaHLC8Xzao9b8IqThPfqyBRj0SdVfA8md/SOI2+AuXjt V5JdVLO5PvAnE6UFb79khgalzEEzerGRU7aX41OoiFozPR02KYImHgFWhp1VnwvHxaEXRCnF5HP 4V7G5+2wTeJGFwaqzGNeENghDuFoK0WeAGraPhd++PFLRSHsFDbIVwvT3lBgpUMLMb8mc= X-Received: by 2002:a05:690c:e1e:b0:81e:735b:c880 with SMTP id 00721157ae682-81ecf82e130mr31797547b3.26.1784145429210; Wed, 15 Jul 2026 12:57:09 -0700 (PDT) Received: from pendragon (76-234-45-214.lightspeed.cicril.sbcglobal.net. [76.234.45.214]) by smtp.gmail.com with ESMTPSA id 00721157ae682-81e7795988dsm162879817b3.26.2026.07.15.12.57.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2026 12:57:08 -0700 (PDT) From: Colin Braun X-Google-Original-From: Colin Braun Date: Wed, 15 Jul 2026 14:57:06 -0500 To: Daniel Almeida Cc: Colin Braun , Miguel Ojeda , Greg Kroah-Hartman , Boqun Feng , Gary Guo , =?utf-8?B?QmrDtnJu?= Roy Baron , Benno Lossin , Andreas Hindborg , Alice Ryhl , Trevor Gross , Danilo Krummrich , Tamir Duberstein , Alexandre Courbot , Onur =?utf-8?B?w5Z6a2Fu?= , Mauro Carvalho Chehab , Alan Stern , Mathias Nyman , linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-usb@vger.kernel.org, linux-media@vger.kernel.org, Colin Braun , Nicolas Dufresne Subject: Re: [RFC PATCH 0/4] rust: usb: add usb request block abstractions and a user Message-ID: References: <20260712-urb-abstraction-v1-v1-0-9fa011634ead@gmail.com> <1E924102-5CC7-427A-9FD0-3B15BA1BEAEB@collabora.com> <0CCB6F69-1336-4254-AE1A-5DDC63BCA7B1@collabora.com> 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <0CCB6F69-1336-4254-AE1A-5DDC63BCA7B1@collabora.com> On Tue, Jul 14, 2026 at 11:35:50PM -0300, Daniel Almeida wrote: > I’m cc’ing my colleague Nicolas. He was at the media summit this year > discussing a topic somewhat related to Rust. > > IIUC, the consensus is unfavorable for Rust media drivers at the moment. They > are waiting for more progress on gcc-rs before allowing it, as clang does not > fit some of their infrastructure. This is good to know, thanks for mentioning this. I will table my work on the media driver for now, though I might continue working on some of it privately until gcc-rs has progressed enough. > This doesn't have to discourage you from this work, though. Last I spoke to > Greg, I think he was OK with having enough infrastructure to build a Rust > version of usb-skeleton.c. You could perhaps work on that? I never really found > the time to, but I can chime in with reviews. It's always nice to onboard new people :) I would definitely be interested in picking up this work. Unless my first 3 patches seem to be heading in the wrong direction, I will integrate the initial and any coming feedback here, as well as some of the concerns the Sashiko AI bot emailed me. I'll include an attempt at the rust version of usb-skeleton as well. I imagine it makes sense to strip out functions usb-skeleton doesn't use, so I will remove those in my next revision. Thanks, Colin