Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1135704rwr; Wed, 26 Apr 2023 10:30:35 -0700 (PDT) X-Google-Smtp-Source: AKy350bqBmMUgJW7jSVe7z1XltdJ48BbUbeCeaxW6u7b9KbFWLEw8Cxiy3Pg023/hvfyzTsR4+vX X-Received: by 2002:a05:6a00:1a0b:b0:62d:8376:3712 with SMTP id g11-20020a056a001a0b00b0062d83763712mr23767805pfv.28.1682530234807; Wed, 26 Apr 2023 10:30:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682530234; cv=none; d=google.com; s=arc-20160816; b=mJH+7c9eldD8QKQRzC2A3SLVnfOOcVnigvyIjU+ggTcVH3yQcYEspcdKEvjdnqxh/s R1Ojnm2UTxc8FetB2A2y4wbPKyu7VJ0eWwxL4BCGG8mLWe6ZmKWh9N7ugdXwKXTqWuAW dBUEc5aSXMhm0IMWWlbTHniIGry+aZ//cWbFcB9MyYggb1+R6c/rYdlGfXHchbgRc55I Coz0CnD6DD7R7rDgHzkwCAsBlcppSmq/Hr17Lt7pOCfaPeUprSezsqUBb+BmdfaIP33n x9NjvOpUc1DmZIB6mz/XZOcDfGx7jUJRjf6pbTGCLGtoMe67+gQOqHE/6ZJ/CYnf7OqD Ahpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=OwyyegmvI+r2SV5fFJWtWj993WZ8ZtWa1Fvcc0/QSvI=; b=e+n8gNZW+bFy1FWfa11tS3SPTM7uTmBzNtbZ/SLbGRSiD46Yb/mgN8PJlRW5xcDFSk T70vzARuXmN6eyaAweB9vOe4979okEJ5eUfwbWKvdU+RfvrwvO4PXJh9JMEXypWaLpPH +hkN0kDuZr2SSBeHQkiB6n5DvXZ25qO6rgDzPbO1iYDT6JiNAWZBXBx+tu1SLwZdVo5Q 3ZM8mONGIiOokL12FOvqMHPnbfghTPRCRBlTV1ZXSYV16n7zlO14kw1u8myfWPwg2qbp PWzUGfu3VQ6UTjI0AYI3atURJsCR3G67/byK/yWEWs5YNEJxZ8WvsalzhTcmYJomn14x +TQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=EQ0bZVrd; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 7-20020a620507000000b006391322d3f8si16581007pff.375.2023.04.26.10.30.22; Wed, 26 Apr 2023 10:30:34 -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 (test mode) header.i=@ideasonboard.com header.s=mail header.b=EQ0bZVrd; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236319AbjDZR0D (ORCPT + 99 others); Wed, 26 Apr 2023 13:26:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236258AbjDZR0C (ORCPT ); Wed, 26 Apr 2023 13:26:02 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA5E08685; Wed, 26 Apr 2023 10:25:30 -0700 (PDT) Received: from pendragon.ideasonboard.com (133-32-181-51.west.xps.vectant.ne.jp [133.32.181.51]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 4A56AD8B; Wed, 26 Apr 2023 19:25:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1682529917; bh=C0w6HV85tx1i2so4OVKA9mCXsw1kPxaiuII4qstxlfU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EQ0bZVrdpyGZDU/zwyHl+M6Zx/+e0pMdiY38bj+Jy/QSUHufgHVJmaEXFNtNJQvrY noZDokVSwQB5cs4wZ0fVCAVsZoc6WyBSTgpsCj8AxQQ5mZmWN+fGU84qhsV0sqcnfO plV49hvKeQc44jrsBVsj5g+D8EZ7sFXxeN3VP4KU= Date: Wed, 26 Apr 2023 20:25:39 +0300 From: Laurent Pinchart To: Daniel Almeida Cc: Miguel Ojeda , 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 Subject: Re: [PATCH 0/6] Initial Rust V4L2 support Message-ID: <20230426172539.GD2326@pendragon.ideasonboard.com> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <7b4ea4fc-7d73-d229-4645-366b1ea574fb@collabora.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Hi Daniel, On Wed, Apr 26, 2023 at 06:14:33PM +0100, Daniel Almeida wrote: > Hi, > > As I said higher up on this thread, I can maintain the Rust bits and > help out with the issues around it. > > IMHO, we should at least try this. Who knows, it might work out :) > > Laurent, maybe we can take a piecemeal approach? Right now there are no > bindings for MC, but I wouldn't complain about fixing some of the C code > when the time comes. The lifetime issues affect plain V4L2 video nodes too I'm afraid :-) > Just FYI, I am writing some more bindings, just enough to write a > stateless decoder driver. I hope to finish it in time for the media > summit. It will give us a more in-depth idea of the pros and cons here. -- Regards, Laurent Pinchart