From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 C97B71C4A0A; Sat, 6 Sep 2025 15:22:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757172165; cv=none; b=Jq55QkmYSA2K1tAa3tYbLwcKuWruEmDsqKjY7qE4E5yuIXuW7AOi5tt+egrEu2w7elYfZ+qM5PEqmfmHrLCEV9+xYTEkgrQZ8weAChatB4Q92k3Ia/Fw8O+haMM42EwDkKRE/T7r0Kc2HzDS2SOKdSaHGUOBA+GRn6Gh+3nXC5g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757172165; c=relaxed/simple; bh=2Cc+y+nYgnXueTnsUZYSLj+5OAuyyh/BgYgWxkTKnGg=; h=Mime-Version:Content-Type:Date:Message-Id:Subject:Cc:To:From: References:In-Reply-To; b=kdX4tueBwAn99IpQL/EDu/UcQ4dKT5PAeSpeth8quV9z/p2ihepTO3D06t48KP9/FQu/LOGA404IrN3LtJntUIpcJ9J/V+nszZFgiWzFrhRMbBOKkIy6KzF98ny0/3qqeBwDNksso3eGlFFWw4vNXdr7virojx1XUi3oyhjDSGQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AC/KHFZn; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AC/KHFZn" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 49804C4CEE7; Sat, 6 Sep 2025 15:22:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1757172165; bh=2Cc+y+nYgnXueTnsUZYSLj+5OAuyyh/BgYgWxkTKnGg=; h=Date:Subject:Cc:To:From:References:In-Reply-To:From; b=AC/KHFZnlJhJkkKKxrzfCtHXTj8Q6PELcIschWfrR+TNZdZnOf2miZdvxOH/ar+/i ba+zZ6s2ECkyZ/+z1LO5plSw8+Tv4PQdJM2BR0rNmgpjBeVqiOBIOORWAdcfT+QFU5 1q3p5km08PCnLX9jaKKuhTH9tSP8L9jE3xOp/Wwpg5QgkJxjuHuMkGLTuhsUxlAwXH dM1xpDhI7F4+M4hbW6cCEss2wD2R8TdNoPICKkX7JwvFuDI+RoFeVhI8IsmJuUWCKA R9HZv6nBbuYr0E6P1m6XX1Uk6AEgaTD0sGxb64iSWjwJB3RSDxmuafp4CSImxHPsd0 qyeGrBzleLPSQ== Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Sat, 06 Sep 2025 17:22:40 +0200 Message-Id: Subject: Re: [PATCH 2/2] samples: rust: add a USB driver sample Cc: "Greg Kroah-Hartman" , "Miguel Ojeda" , "Alex Gaynor" , "Boqun Feng" , "Gary Guo" , =?utf-8?q?Bj=C3=B6rn_Roy_Baron?= , "Benno Lossin" , "Andreas Hindborg" , "Alice Ryhl" , "Trevor Gross" , "Michal Wilczynski" , "Igor Korotin" , , , To: "Daniel Almeida" From: "Danilo Krummrich" References: <20250825-b4-usb-v1-0-7aa024de7ae8@collabora.com> <20250825-b4-usb-v1-2-7aa024de7ae8@collabora.com> <2025090618-smudgy-cringing-a7a4@gregkh> <2025090601-iron-glitter-c77d@gregkh> <831C4AE2-6964-4699-9E74-E4B721B87B17@collabora.com> <9657C897-087E-4544-849B-964E99D95A50@collabora.com> In-Reply-To: <9657C897-087E-4544-849B-964E99D95A50@collabora.com> On Sat Sep 6, 2025 at 4:50 PM CEST, Daniel Almeida wrote: > So far I see a pattern where sample drivers count as users. This has been= the > case, for example, for rust_dma.rs. I was under the impression that the s= ame > would apply here. Although I do realize that there were plans for dma cod= e > other than rust_dma.rs, of course. This isn't the case, we have those sample drivers to make it easy to review= the the code and illustrate in an isolated context how it works. But, there has always been a "real" user behind that. In the case of the DMA work it was N= ova. > As for Nova and Tyr, these are projects with a lot of big companies invol= ved. > > They were able to break this chicken and egg situation in part due to tha= t, > because companies were willing to allocate engineers for both the drivers= _and_ > the required infrastructure. Unless the same can be said for USB, media o= r any > other subsystems, I don't see it happening. Well, this is true for Nova and Tyr, but I disagree that this is the reason= we were able to break the chicken and egg problem. For instance, the initial lift around the driver core, PCI, I/O, etc. infrastructure was done by me, a single person. This could have been happen= ing in the context of a very simple and small driver as well, rather than a big= GPU driver with lots of companies and people involved. Igor (Cc) is doing the initial lift for I2C and Michal (Cc) for PWM for instance. So, I see those things happen and I don't think that such initial lifting necessarily needs big companies with dozens of engineers being involved. If we know people who want to write drivers for a subsystem that doesn't ye= t have Rust infrastructure (such as USB), let's encourage them to get started= / involved anyways and let's help them as they go. But also please don't get me wrong, I understand and very much appreciate y= ou want to get the ball rolling, but let's not discourage people by making it sounds as if it would be impossible for individuals.