Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp1208849lqd; Thu, 25 Apr 2024 08:47:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU1iF2FBEjVQTml73ZWJjRlIkBiMpimmKAshuWESCeqV/2deH30+qihbYt7pla4oagicSf+R9pbq88J0H+ToHwUKplVIp9XApW9O+moMA== X-Google-Smtp-Source: AGHT+IFyyvKTRnApt/w81b3jhNtY1urp8oA+cZX0lKVGqH8zWfEBdOoJ6I9hAK79WZ2pdvrp12za X-Received: by 2002:a50:cdd2:0:b0:570:1ea8:c50a with SMTP id h18-20020a50cdd2000000b005701ea8c50amr27589edj.6.1714060047385; Thu, 25 Apr 2024 08:47:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714060047; cv=pass; d=google.com; s=arc-20160816; b=lS021tINHirakNXohMNHHwYIwxdA9ekiouZiNxG8pAEX/fDHCWMt16kmT1b9uvHjc6 ZVbOISuYj0ICXP4zK3znrBpf5OhhJbNjDtdBhI+4XktLnqxjAeXirbCETJdh0FBPVq/J LzzrnxrXLCVIXZxMt8a94Xq01CyStayWPB+15Tk0hdbIZuyebVTSdDgKaZ6l7iqrAiCN uKlzswSJ44w87uk391Cl7h7S7IZ2y5K9Nnl8aY8Rt89q/nBIcpZfXnSfVZDRsikG8rro m6Bzq8oau4IS9pTisgtxLxzNNngDfaTUq0z/YwKu0t4TYqbCHWB2CKSCCyD2RJtdzfGV zEew== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:feedback-id:references :in-reply-to:message-id:subject:cc:from:to:date:dkim-signature; bh=Wyk9bt4qzmsPvR7NHjsvjFtMkQK/718z5azMohImAFw=; fh=ltxsu+NOoSuYKg9Tyovzs9/Jx0a7fpR+9wIatsLgB7M=; b=mVo7cL+aF7aA0McBdd7Xn1f3S7REeUthSe5mEL0YnW/GIUCKS47oOcwErGJiKeMGoE LxRbyBhKuBDYISrozI0qQfMu3L/8fxHKeY+lJGQbZk67rJIeVAyqj/jvwtEYzs13afwo wPY+O+wUoKjCznkbkJchsP+ZLEwlowGl3OyRFEY665aqDghWjcqmmMxZ+YdtKKUNctk9 UCcoUtqIjm8LARiZRIyFLFPx1ZSo5UX+xVoZY4Tqbx+/x5NORJ2zawpN8/nNFS8ZYOnH gG1ykcPKovF8zTaB6YlJVCGzj1mqL0NF6daGnK066Tk5h/AkkuoTv5EPvjuYRWmGaxgI lxbA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@proton.me header.s=protonmail header.b=c+vZktst; arc=pass (i=1 spf=pass spfdomain=proton.me dkim=pass dkdomain=proton.me dmarc=pass fromdomain=proton.me); spf=pass (google.com: domain of linux-kernel+bounces-158837-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158837-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=proton.me Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id j10-20020a05640211ca00b0057211477873si5449453edw.287.2024.04.25.08.47.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 08:47:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-158837-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@proton.me header.s=protonmail header.b=c+vZktst; arc=pass (i=1 spf=pass spfdomain=proton.me dkim=pass dkdomain=proton.me dmarc=pass fromdomain=proton.me); spf=pass (google.com: domain of linux-kernel+bounces-158837-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158837-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=proton.me Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D18041F241FD for ; Thu, 25 Apr 2024 15:47:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 55B6D14C5BF; Thu, 25 Apr 2024 15:46:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=proton.me header.i=@proton.me header.b="c+vZktst" Received: from mail-4322.protonmail.ch (mail-4322.protonmail.ch [185.70.43.22]) (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 1397C14AD26; Thu, 25 Apr 2024 15:46:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.70.43.22 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714060002; cv=none; b=DNt04mmvqjtZ92HNBkIUxX2S0Ug0IcR8z/GuC8w4mzrU6IS768BvICPeoyu0CUveuNpbWhVvCmbWxgkQnrAxaCJArCy6um3pTcPAiuA7zIHTv7EVoJSOYkB4D9OFWufFb4KPMPIV6DoBRpY+8X7VwE8Fs8YevS2bkLh3gKzu998= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714060002; c=relaxed/simple; bh=Wyk9bt4qzmsPvR7NHjsvjFtMkQK/718z5azMohImAFw=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=eaNUJ70kygufh6muGq6EL4Y4aB5w+98aXiEbJgPRkMm2p6ttdtXHKTnESW7uirnbpn0OTo85bKePlRvg13WdElMWfJQByvWHtw+VhnDPii/AKVoDxzNTuhLzVNBl58JyeqnAV6FSmqCpsEMLhKw7DYByl/91gGN+/QPC0+/TIUY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=proton.me; spf=pass smtp.mailfrom=proton.me; dkim=pass (2048-bit key) header.d=proton.me header.i=@proton.me header.b=c+vZktst; arc=none smtp.client-ip=185.70.43.22 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=proton.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=proton.me DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1714059734; x=1714318934; bh=Wyk9bt4qzmsPvR7NHjsvjFtMkQK/718z5azMohImAFw=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=c+vZktstzqmumilwh4SmQsmw/94/34SJn1O2b/KVRNNeStAWCQdZkIrpRdbjHsHwv 5vzX+Q3MOcdFLGkA5zjOSjrAihARVkLEaNf/ugG9lvbNiIBDmm7/CVnwQGGLXGdR5v fxqxjZVPSjOaMp2GlviQN5yg4n94c/XywjFe6jXI1tzV9AYxzfQdVPV9TUGBmbr0e4 BOZOCUrY1WXBXq6QDW4yru+c0X/Ul2TIN6DYc9RgyZGC23Dyv9h6CNX0j+od1OOtA2 lpbmqI3Jpa8+BDhPELNuhT1jIATFHcXQyRdetphKhCj2pLJa5nAFgJVgXTFw8Xy0yx e96rVEXYBFKyw== Date: Thu, 25 Apr 2024 15:42:06 +0000 To: Lyude Paul , dri-devel@lists.freedesktop.org From: Benno Lossin Cc: Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?utf-8?Q?Bj=C3=B6rn_Roy_Baron?= , Andreas Hindborg , Alice Ryhl , Asahi Lina , Martin Rodriguez Reboredo , FUJITA Tomonori , Danilo Krummrich , linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org Subject: Re: [PATCH 1/4] WIP: rust: Add basic KMS bindings Message-ID: In-Reply-To: <9fd1fea40f5d053e371bd076d9cb095ba3d77d93.camel@redhat.com> References: <20240322221305.1403600-1-lyude@redhat.com> <20240322221305.1403600-2-lyude@redhat.com> <0785452f-7714-4384-838b-879e0b224c3c@proton.me> <9fd1fea40f5d053e371bd076d9cb095ba3d77d93.camel@redhat.com> Feedback-ID: 71780778:user:proton X-Pm-Message-ID: 1e089611015051b5d61a372ac5af4555d099dc5c Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 22.04.24 03:47, Lyude Paul wrote: > On Wed, 2024-03-27 at 20:50 +0000, Benno Lossin wrote: >> Hi, >> >> I just took a quick look and commented on the things that stuck >> out to me. Some general things: >> - several `unsafe` blocks have missing SAFETY comments, >> - missing documentation and examples. >=20 > This is really early on - so I had wanted to post a WIP before I > actually wrote up everything to make sure I'm going in the right > direction (I'm certainly not planning on leaving things undocumented > when this is actually ready for submission :). No worries, I just wanted to point out everything that I found. One thing that I missed was your "RFC WIP" in your cover letter. I think that it's a good idea to put "RFC" onto every patch, that way people without context immediately know that it is not yet ready. --=20 Cheers, Benno