From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-yx2-f3.google.com (mail-yx2-f3.google.com [74.125.224.131]) (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 BEDEA400986 for ; Wed, 15 Jul 2026 19:57:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.224.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784145437; cv=none; b=AbD4GRwCN+wjoz8VkH4JNzF4oJejLS5w+qIfca/lAppZg4LGhZORue1BjXj2MrNgvz3OeiXpgogHWNXuoCpz4e333YuWaZxYOH+uO3SgNvctoWPZp9LtZYHPT3Nzr1r8cFPz53EWsLkMTpM203JEFOTNNVaFSDfA0JHELw9T5Ho= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784145437; 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=cAQzMSSQUUcrKiYnqkG2hbL/wBR8BIpKvvPVpttIAAd8//6Ux+BQ0/6y26CXrRd1nesJ8BMcqKScenGVVnPVCPaslzLpTxZrevDKbdGvvGpaMNi1dJPDMXpTnzKSSEmph39N0w8b8xwZ+vTLEBDute77EyPAp01fzEZs75tmQQA= 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.131 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-f3.google.com with SMTP id 00721157ae682-81daac601a1so18655457b3.0 for ; Wed, 15 Jul 2026 12:57:12 -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=jhUiUAKXS7kh3TIUcAkOrCcv6UGpVyHm8+qoYMtrzgS94ik8TsjrdmGeM/MJZGwdee d2P4eSRvzT+0JTSFN3UHMdmubu+ZbRgJciH29Vy6R0YENa+KFgCTgAav5tDy/eSMfUYA wytt5JOLNW7qBl77SDbdzBXl4jIre6Dnmjj/AgW3aGIKf8zmU7mDN/9mmTzhDBzwb7AW Dpe2Op+r+WRwdDwwo3nyOhOVdlVmrGR9fRMxZg40wOSpU/9Is4qMgYI21N09SayDvJwM HG5ARHpBm047no0BQ4wpSiHh3GYZG7tHq9TnZKKZORLWPAgTZ5p4LM84cz/ooQzpTfMZ yoYg== X-Forwarded-Encrypted: i=1; AHgh+Rqo5oRuIvWJLB8DZ2qltByH6d2bmm0I/cg/NfFzhNf0MHR0wA3vFOJfXow8yGfUiMZcwU6wTZwrVXr5hg==@vger.kernel.org X-Gm-Message-State: AOJu0YxPwGYd9agJDO9ZQBliZFeG2qHmZc0SaI9/S0BJSK8Ie6U4Hsdr 870oAovSXPgwe1rg0HgUQN1nFEv5ih/T8EQBNd6Jaj4yIzMIYhJ2y8hJ X-Gm-Gg: AfdE7cm7Z+zn6ZS5rioL9sDGfxdxKVXjMWzjK/ZhaMA4ToZ+ItPCKe2SveuzGNjU8/M gM8WIOSLeRFwmhez6oH8FHdbhxE/sGQpD3NxVnjCNkArVSZVC0Z2oExVrYwQ5J17J6EqnzHr5Lq t98SRtrEAWeuil+ypeO0Lr+kUB+5c+zfnmNmiTz3uRB6hvOAs8xtC5TSVB+0DFWEwE6pan4Zgux R2cArvDUwuVrz7a9BvWxJ9tqycXH0EwPhTe6gH4tvbSN26hMA0pOUHhivv7B0d3IeJAw5IKh1p3 u5E3LfKkAGduaRPMGP5fqfbLMxXK3nY8XQqZV+RnTwihHkpwUwh7/M9h9fO++RU4prsnrzrDeMx J4/dyzxV+uc5HkdqGHgUWQwDPkJ/3WP5EEzDvhCruqtvGCw0/9A222m1ozX+mU/II6WY4u6gNtZ q914HdkbFYLtKscf68Zf+iYnop/t4H7IzYV4c0bFCI/70OWSUd+01n2CbbDIHzL2tYWIk= 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-media@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