Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp612124rwl; Wed, 5 Apr 2023 05:33:01 -0700 (PDT) X-Google-Smtp-Source: AKy350ZXaO0Gy1S6yREaGSPmO5ecgk+vaF9OFyKNOUpWgK5zv6pv7+3bTR9RgsIqVGtnFa/CKPs0 X-Received: by 2002:a17:902:ce8c:b0:1a1:465b:2d22 with SMTP id f12-20020a170902ce8c00b001a1465b2d22mr6056502plg.47.1680697980820; Wed, 05 Apr 2023 05:33:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680697980; cv=none; d=google.com; s=arc-20160816; b=ge1FJVKWY89F9cw+1q5cnzn/BTwXAxfRnJgZfZtby96yGpncpSjJMVC+FUOHUhhdab GyVSUy7lWp2R6YFc69JmEqJahGSmsvgLW2oB5Z1h/oRXVhnO7lqCZGxSuM6mPV02YFSX j18pSoesnyCbHaGl4laZaHKviA0M1XXUrFwPcwLDGU6c2GVLwJlmbkKJSrYy2QLEwOSR ribhlfDNVKiLwkXzDgLmD40aRWJDGR9LMAlVELTdJJNFq1Y1yH3DrPw6lkXTs/DOEbHQ q74AeopM83X5ZSbK1aoQl/rQyZKtO75hll7fwtgFYBosl9mPiWZODBJH5Iw3044ncyNS T1bg== 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=SQcMbra2CgBD1rOvxGpRVnkzaGjn0KHujzI1BY777uY=; b=cXOouzajAWTlR20xgr2a/9J02enbo/rOygfuHevgXMF7v349MMtU3rGLyz2NO+UnkK maDoO+5u9Ff1QqoIzK1UzCx1Up/Auuq8Tl41ewqs9/vMXXoqYLcZYLQnWG7u5ZDDmQw+ 0/LCW6C0YQZGe+EEksXBu/cJd3f+xGGjxvsDah8AxcrytzouMUnSX29OJnGeVbNPn6zK hULJRKfUzs6J21lgAH0T3GG4jBauMQntyNI+jz6xGBq6M5XpcCICIYMI6kwFxS7ayc7M 6jUq3jfB489mJr5sV+UkvGWbEWUjRnWbncF5oB2VPq0vZoKBAlIdKPJbcYr0gVDOKCN5 S0Og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=MkV5dExL; 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 r23-20020a170902be1700b0019a7a67d312si11873294pls.454.2023.04.05.05.32.47; Wed, 05 Apr 2023 05:33:00 -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=20210112 header.b=MkV5dExL; 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 S238016AbjDEMc0 (ORCPT + 99 others); Wed, 5 Apr 2023 08:32:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237375AbjDEMcZ (ORCPT ); Wed, 5 Apr 2023 08:32:25 -0400 Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D6E31BC5; Wed, 5 Apr 2023 05:32:24 -0700 (PDT) Received: by mail-yb1-xb2c.google.com with SMTP id m16so21954373ybk.0; Wed, 05 Apr 2023 05:32:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680697943; 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=SQcMbra2CgBD1rOvxGpRVnkzaGjn0KHujzI1BY777uY=; b=MkV5dExLiNqHfiYmWMuvch56083VrvbatouYUkL58SSm+WrMUvsdZSE3XxB3d8jeJf EK33MHkqG3MELcpSeqXzpH2whK3o8Lmx0GixFiv1YWYv+7tRaeIgngnfWuJ/dlYntL3q 5EMAWmxeenJFRgI1bH3bR+6XbKuOpqI4Hockj/fOTVKrWkTCss31mmnSsukYKg1k+IqN OkLaehmee/JjhR7r8W8jnPHDsXhFzcqjzFr6Z2qWPssKR8xHf9IYTgj2dDtB5ES4viLg 7lFMhaiKVbLFTNAbOFF+3ByTplR68WQgItjc+07KNEyaqeeqNZwZ4frv2WtLxz60hAz8 3V2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680697943; 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=SQcMbra2CgBD1rOvxGpRVnkzaGjn0KHujzI1BY777uY=; b=ol7j5E8ufFI1Fuv8+OTBBCVmw9aX0iEOHuaTeD3Yyadn8VBuFAPFJW6uFuUwRIuFzq JdHQpbmF9dM2IQ8jzRcVyybSOufJXB/SNgdRco2Nz6mmx9lv8M/m/gnGZAzm2be0ORcf WPEKIDTswlVriJmekt9QoXZe82LrzWmBvRKnuCsdfSfse3KJDdddXRnz/dPRiLRDWXRE AHvdmiwXR12aSfvWKFm3qo98yUETJ4JLgxb3HyWCpGcBin9KcGlAQsI5S9PjQj327+VL 2hD894W/Gu1/KJ1WjElCN3ultkverTw03WOuFtLyh7Nkf2HPB3XM6IZ44B+h6ygfRITE sLKQ== X-Gm-Message-State: AAQBX9eFfm3AXwv1xhLFo2LZBTGyin9XRVilBtmJeSAJLl99m64txkDu lkxFooG9nLclzwLEyKQQI8kvixiH0mkOEQYL8yU= X-Received: by 2002:a25:774d:0:b0:b80:2bf9:2f78 with SMTP id s74-20020a25774d000000b00b802bf92f78mr4111595ybc.11.1680697943516; Wed, 05 Apr 2023 05:32:23 -0700 (PDT) MIME-Version: 1.0 References: <20230307-rust-drm-v1-0-917ff5bc80a8@asahilina.net> <20230307-rust-drm-v1-4-917ff5bc80a8@asahilina.net> In-Reply-To: From: Miguel Ojeda Date: Wed, 5 Apr 2023 14:32:12 +0200 Message-ID: Subject: Re: [PATCH RFC 04/18] rust: drm: gem: Add GEM object abstraction To: Miguel Ojeda , Asahi Lina , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Sumit Semwal , =?UTF-8?Q?Christian_K=C3=B6nig?= , 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 Cc: Daniel Vetter Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 5, 2023 at 1:23=E2=80=AFPM Daniel Vetter wrot= e: > > 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? [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