Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7293209rwr; Tue, 2 May 2023 12:19:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4vF4Wmzqdhm7kVkeW1sgmNYfe8NA5Zm50prBq2fBJxwKoLcKUAPpmfEYpsdm98Em4RL2xX X-Received: by 2002:a05:6a00:248c:b0:623:c117:f20e with SMTP id c12-20020a056a00248c00b00623c117f20emr26243175pfv.19.1683055195592; Tue, 02 May 2023 12:19:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683055195; cv=none; d=google.com; s=arc-20160816; b=HSaZ2ubOOwBYWv56zxCeuH1ia0yFf/PulrwjA7kiLkrxczivDCoKcQAOqic7zAPDDU qUG6cDFmStRJlniaEkXWy0lVUgFyP9lsrte+EVeclSVHR9oTYIJywtvHoBChh/OIN0CU DJgKolyRMjyQLoaPDyNly6bQjM8OODxza2ePqDlmoUzKFPJ1+eps2mYOVqKRj5SrfMMf 9P1TdhiwnGniP9Qe4Zj5D9Mi9LzwKHSnEgazqhbAGtzOK54eaKi+VKE86gDJPklOMvbR RR4TawwCn7NfD/HuStVAQnwtCcRsy+xzMG745OFCq+3ioQZfE/nhN5rD57imupWf5P6X SYfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=a7bqXSElpi/kZ95+932oHdNMDi2f2Hw+ckoBAhrXnLU=; b=kEtSzWy5OX8ddtzEwnsYuED3/OCBdtFY68zpT7QsQtUdnCqFDb3LWNBKaJitimg8Jy Gl0Bp4YbCQ1Nl01nNV9Knl7ignOnJrg+JsUHJUhsa0MSnGSsUgLpNDwpG/+K5g0jZRYv JlUjfz68FNWJ1qrSzWqNkR5kiaVKqjYVPMCiBGb/8/1yGktySd0WOggFbor5OPn/nr5v OAaauN3Tdpnfa0n9sxyySi+9O3Twl9iYmPyisTITpDv2jMQdMqgNrbKPiFFrzVIdG3bN 3oLfP1gC8UF9A12J2sFcS6ZZ0a3SnZuniKku+ok0PrwRjGSaxO4JLDa0w+cYH1gyxMN7 fOgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=NugvqEoN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z8-20020aa79e48000000b006430894ca99si511265pfq.389.2023.05.02.12.19.09; Tue, 02 May 2023 12:19:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=NugvqEoN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229571AbjEBTOA (ORCPT + 99 others); Tue, 2 May 2023 15:14:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229481AbjEBTN5 (ORCPT ); Tue, 2 May 2023 15:13:57 -0400 Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E704213E; Tue, 2 May 2023 12:13:56 -0700 (PDT) Received: by mail-yb1-xb29.google.com with SMTP id 3f1490d57ef6-b9a824c3a95so6031762276.1; Tue, 02 May 2023 12:13:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683054835; x=1685646835; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=a7bqXSElpi/kZ95+932oHdNMDi2f2Hw+ckoBAhrXnLU=; b=NugvqEoNVCmNjjMu6rG8gjVmAacxV4qKihwwPet1KOg7WBeNEHQ3QykLvtHRCmiEoP /4JtJupV8eWfNDU0YrSN+cUrcCYrAlgSQpNnQP0l9i8nurV8GHCZl7vwzJrNB5K4DjRW kkOB0Mtq3rdzfsm5way8BcoVSF1TyzH3mZLEJG3eponnOoOLqjjXtXzbUV9gyY7dHxav +FpiQW49wLZ4Ka/UHpUSX9Z0C68HiLWTMdI+/Umrgz5vTM1fsVdLvZ9iCJKJWPbiahWb zoQqUk6lSJlwggyLc8UYURXhkkR3rFQYdUO89F7eHF3SP1CdPoO/Y159cLsHGLhSlv9z pJyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683054835; x=1685646835; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=a7bqXSElpi/kZ95+932oHdNMDi2f2Hw+ckoBAhrXnLU=; b=U8ptOWkMv1YiHAHE9TO1nDYh0W6udKJWCx0mC47loo3oi5cdQXaNENOeGgXCoMR8OJ WVPs3PcKM8QUne7s4P36iPEanHhz9sVNH4vvZB/m7ks1X7b/QBvlvz7ezkwBCwdu6TYr x1BrB38i36rp/mERqNOX/qRbOcirxaJCR69jvIwwOGd1tRWTF+zEhw7fccGt1vIekoBs oF4TrcUgci4/BNhInMUYSgb4Tv2uytrzsbRer5EDThgMNE92e75RQvyMyKZ3oMMMNcTT NrGbj/fn/T2eKY2uttqsEP96msvWJKefr8I6GiMbOklHOlupEwnb/lBpl55N7yeKq76e q1IQ== X-Gm-Message-State: AC+VfDyza5+DarkkQ5uykHvR9GCnfLnSNbcpRTFvN4IgB7j/O600Gdoh BrnMENDZj8u3F2aYiP7xg/Bel8ioeH1VWs6fFZLm2JfC X-Received: by 2002:a25:e74b:0:b0:b99:75f:8f24 with SMTP id e72-20020a25e74b000000b00b99075f8f24mr19203396ybh.30.1683054835487; Tue, 02 May 2023 12:13:55 -0700 (PDT) MIME-Version: 1.0 References: <20230406215615.122099-1-daniel.almeida@collabora.com> <136035a4-26df-1c14-e51e-406b4ee5fe33@xs4all.nl> <20230426003210.GA31260@pendragon.ideasonboard.com> <20230426163512.GE18120@pendragon.ideasonboard.com> <7b4ea4fc-7d73-d229-4645-366b1ea574fb@collabora.com> <20230426172539.GD2326@pendragon.ideasonboard.com> <9cf10a4d7a9eec237f5d18f79f6ae4bd031489bb.camel@collabora.com> In-Reply-To: From: Miguel Ojeda Date: Tue, 2 May 2023 21:13:44 +0200 Message-ID: Subject: Re: [PATCH 0/6] Initial Rust V4L2 support To: Asahi Lina Cc: Nicolas Dufresne , Laurent Pinchart , Daniel Almeida , Hans Verkuil , wedsonaf@gmail.com, ojeda@kernel.org, mchehab@kernel.org, rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, kernel@collabora.com, Sakari Ailus , Antoni Boucher Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 1, 2023 at 10:17=E2=80=AFPM Asahi Lina wro= te: > > Unfortunately I don't think actually replacing the C implementations > will be possible until Rust architecture support is on par with C, which > probably means waiting until gccrs is ready... There is also a second approach via `rustc_codegen_gcc`: Antoni (Cc'd) showed in Kangrejos and LPC last year that it could compile the Rust kernel code (with a few tweaks). Cheers, Miguel