Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp634508rwl; Wed, 5 Apr 2023 05:53:50 -0700 (PDT) X-Google-Smtp-Source: AKy350bjfPUG/kliBkT1aNLxzsYpg0Xkez7QLSifye+bfUt/mDAW2EUqACP1jbaLzXN9kOiM7QrM X-Received: by 2002:a05:6a00:1a49:b0:627:f40a:fd35 with SMTP id h9-20020a056a001a4900b00627f40afd35mr2594038pfv.10.1680699230202; Wed, 05 Apr 2023 05:53:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680699230; cv=none; d=google.com; s=arc-20160816; b=fxByt3sPHAIELM0SLEADV+7iKlmQCXxeqQE/NNdkZbdH6v8bAxI/qPi83XLfYTcDcq pZS4dF5q4YF2eRjw+aPCU0ktz+vmTAezbKTXk6sixeaamtawzjsQlKn7N8Iq2/tT1lcL sAnl8vuLudAB2wptn8EDgO7u8baiD/1lFMoDpFrsK4t8Zj1o534UY6oDI0LCjq+tzxua UkOYKjWKHVtLxsUK9N8V0kYIj+uOt17RAhAbIz2SWDfzAOZ+5vx8XKDo7dlw82g7JJKk gj/yu8tKEqrs4AzkiXBBjdeYcSytmMXHE6iCdGUUjR/kpB/0r4KeyEsJSqqq+jCVUAWB jMzQ== 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-transfer-encoding :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=E6iWx9EB6J3L8iIop1bmZ+pNlziIEisMA1uL8RnykGc=; b=UkeFJSWE8hxnTWiOoClOh2IohHI4SSLpxmI3vNK8Ar1WpoAdraVltLOSs6IecaWPEk GY7SKr+v0Mzp1YKmQ5K1CnDvrlSoMDdnF5zH87Yi0yAhBJzxQ0C1u0OsTlNInn8b81sV u78uc1hPyW/nIPVHXt+sO60ipxIPLE9QHfEII5EXEnMwbLjXoag0S/+Mq/+i8bSDP1Is yF6bvnYYMLGcUD6x/3suw/dyzXtvHRvNb+e9G4XOoiiakvD/9E0Q+BIuhbR93jeOd1P3 dzbvNjxJPrGhmwzJSKxajKY5YJ/ZCFjKNlD5DDLQ4qdSTdsY1yeFAHE6VygD7mUgl3jI SjzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=Mhpu4CDB; 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 q74-20020a632a4d000000b005131739af72si5774017pgq.755.2023.04.05.05.53.35; Wed, 05 Apr 2023 05:53:50 -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=@ffwll.ch header.s=google header.b=Mhpu4CDB; 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 S238050AbjDEMgv (ORCPT + 99 others); Wed, 5 Apr 2023 08:36:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238046AbjDEMgu (ORCPT ); Wed, 5 Apr 2023 08:36:50 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E55C92D44 for ; Wed, 5 Apr 2023 05:36:47 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-5002f12ccfeso43450a12.0 for ; Wed, 05 Apr 2023 05:36:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; t=1680698206; x=1683290206; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:mail-followup-to:message-id:subject:cc:to :from:date:from:to:cc:subject:date:message-id:reply-to; bh=E6iWx9EB6J3L8iIop1bmZ+pNlziIEisMA1uL8RnykGc=; b=Mhpu4CDBYYy7UnbecnwaJGBwUWEJJZkdvrEefXyX2r+r4FENpB1qkR+tX4rIEcLLNc HUVfqZlrktiiC1UivQlXrKHRQSwPD9fmbGSjOmWfxRDbCoEgopYVA0XuQ3TzQrDsGHl8 V/sMzxOY9dAQhT6ShYmtLicdzfCt+/18NkPTo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680698206; x=1683290206; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:mail-followup-to:message-id:subject:cc:to :from:date:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=E6iWx9EB6J3L8iIop1bmZ+pNlziIEisMA1uL8RnykGc=; b=jHZyvKwXaWuJ6wu8bRkd3TEPlTbyEyOh1yBJIzSbREgdO1P5G6fELbnnBFYUBGdUbJ Cjwpi54ey6D6G/X9SxAL9v4TM297olblp1eiej0mHKher0EkoLl7VxRd6XHE1C+7o1/u zZt9Doo/HjW4IapeVcmm5ZEhP4A85jdTvU8broMY10kZEHEC/Ngexj/SBhl2xoaupBa8 CAvschD5Vt9zCByHEOks1DmD6m83ENTJ1RKH8glgzBvUJculybKe6JVOSinUjT8G8EWn aXEU5RLMA2oLB26ujnIRs2V/6nttViMuBmYzznmV5aSPzSSmvJH3DcL171HY5oZQDt9z hUJQ== X-Gm-Message-State: AAQBX9cVdqCF83H2OIImtxfpoTcTTdlLpjoQTFptquFqvIiDVBZIu8pm CcQ5js//umclCSolWH3gT9n/yg== X-Received: by 2002:a05:6402:d0e:b0:502:e50:3358 with SMTP id eb14-20020a0564020d0e00b005020e503358mr1779099edb.3.1680698206345; Wed, 05 Apr 2023 05:36:46 -0700 (PDT) Received: from phenom.ffwll.local (212-51-149-33.fiber7.init7.net. [212.51.149.33]) by smtp.gmail.com with ESMTPSA id q16-20020a50aa90000000b004af6c5f1805sm7265301edc.52.2023.04.05.05.36.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Apr 2023 05:36:45 -0700 (PDT) Date: Wed, 5 Apr 2023 14:36:43 +0200 From: Daniel Vetter To: Miguel Ojeda Cc: Asahi Lina , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Sumit Semwal , Christian =?iso-8859-1?Q?K=F6nig?= , Luben Tuikov , Jarkko Sakkinen , Dave Hansen , Alyssa Rosenzweig , Karol Herbst , Ella Stanforth , Faith Ekstrand , Mary , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, rust-for-linux@vger.kernel.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org, linux-sgx@vger.kernel.org, asahi@lists.linux.dev, Daniel Vetter Subject: Re: [PATCH RFC 04/18] rust: drm: gem: Add GEM object abstraction Message-ID: Mail-Followup-To: Miguel Ojeda , Asahi Lina , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Sumit Semwal , Christian =?iso-8859-1?Q?K=F6nig?= , Luben Tuikov , Jarkko Sakkinen , Dave Hansen , Alyssa Rosenzweig , Karol Herbst , Ella Stanforth , Faith Ekstrand , Mary , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, rust-for-linux@vger.kernel.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org, linux-sgx@vger.kernel.org, asahi@lists.linux.dev References: <20230307-rust-drm-v1-0-917ff5bc80a8@asahilina.net> <20230307-rust-drm-v1-4-917ff5bc80a8@asahilina.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: Linux phenom 6.1.0-7-amd64 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 Wed, Apr 05, 2023 at 02:32:12PM +0200, Miguel Ojeda wrote: > On Wed, Apr 5, 2023 at 1:23 PM Daniel Vetter wrote: > > > > Ok if this is just interim I think it's fine. Would still be good to have > > the MAINTAINERS entry though even just to cover the interim state. Least > > because I'm assuming that when things are split up you'd still want to > > keep the rust list on cc for the rust parts, even when they move into > > subsystems? > > Sorry, I missed to reply the second part of your email -- replying here. > > Currently, the subsystem's code is under `rust/` (though modules can > go already into other folders). One of the reasons was technical > simplicity, and a nice side effect is that we could bootstrap things > while getting C maintainers involved over time. > > To accomplish that, the guidelines for contributing Rust code are that > the respective maintainers need to be at least Cc'd, even if the files > do not hit the `F:` fields for the time being -- see [1]. But, for us, > ideally, the maintainers will take the changes through their tree, > instead of going through the Rust one, since that is the end goal. > > And, of course, if you already want to have `F:` fields for the Rust > code, that is even better! (Whether those should be in the same entry > or in a new one, it is up to you, of course, and whether it is a > different set of people / level of support / etc.) > > Then, when the `kernel` crate split happens, we can move the code > directly under whatever folders it should be naturally, when their > maintainers are ready. For some subsystems, that may mean they do not > need any `F:` fields since they are already covered (e.g. if they did > not create a new entry for Rust code only). And for cases like yours, > where you already had `F:` fields, it means the move of the files can > be done right away as soon as the split happens. > > In short, we would definitely welcome if you add `F:` fields already > (whether in existing or new entries) -- it would mean you are ahead of > the curve! :) > > As for the mailing list, yes, for the time being, I ask that all > changes to please be sent to the Rust list, so that everybody that > wants to follow the Rust progress has everything in a single place, so > that we try to remain consistent in the beginning on e.g. coding > guidelines, so that Rust reviewers can help spot mistakes, and so on > and so forth. > > But, as Rust grows in the kernel, as systems become non-experimental, > and as maintainers take ownership of the code, that should eventually > go away and let things be as usual with C code. Then the Rust > subsystem (and its list) will become smaller, and it will be the > subsystem (and the discussion place) for anything not covered by other > subsystems, such as core Rust abstractions and types, Rust > infrastructure and so on. > > How does that sound? Yeah sounds all great! I think interim at least a separate rust drm entry would be good, to make sure we always cc both rust and dri-devel. Once it's too much for you and you generally trust the dri-devel folks to not design stupid interfaces, we can then drop that and only ping rust folks when needed. I do expect that's some years out though. -Daniel > > [1] https://rust-for-linux.com/contributing#the-rust-subsystem (I may > reorganize this to be Rust's `P:` field, by the way) > > Cheers, > Miguel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch