From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 70C9AC4829E for ; Mon, 12 Feb 2024 20:17:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=/pnTM7MHOWIKeC9JaH60nAYo0WzPZPaNj0Tuk3bpiLU=; b=SkQh1GmCjIltAP6iw1nrIhYhi1 qn+0vMu6z1GJF3x0qUcj2IPfj8dTAivl1VgwkHFRgulHSBJzp6bzTdF4OxUjC8BUDIgaFuaG5P80L J3WPZLo8SoXTzd+neXikcL6i3xqOriyQ/4D/c0J2BIuCPnIeL5ixmGHKAR4ogMnnDEW0bqNCbejKk 8w3AiNoxo7SJLmCe8syCpjAWIWDdnEMwLL5FQwFhx2iIfCE0a5COCs13kfKvua+9pfS/86wH8z0Jo t+EkXQbrW/WGwuNhzLOHJfTerCDWrGeeWo/4cMlc511Gid8P+XiCKKzLZAH01Mh6BAOqanidqqdOU n96s2HHg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZckK-00000006qgg-3rme; Mon, 12 Feb 2024 20:17:44 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZckH-00000006qfu-41mz for linux-riscv@lists.infradead.org; Mon, 12 Feb 2024 20:17:43 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 53502CE14A0; Mon, 12 Feb 2024 20:17:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 35F75C433F1; Mon, 12 Feb 2024 20:17:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707769058; bh=Rj06hafTCiyYS44RXdDjgCx/QrBaExSSWLkRezkp1WA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=X+i4Kcy8KwTYZaA9DRB9gp/BAdGBVRfD7bKOCgPjeydbfp0mblshUNNi+P5qU3Ntt 9lSQdgC9J4E0ZScwHXsFpzj7dBZccyZve+F4ps1bMyLKQ12t2tW1LNjEpB3sgxXsbD tbzqtA+3ken2t/Xtbvn3/2Te6Hr0zJvzXRS2L7fK+nOm8Tey9Q6RN1v42u5lKhQds2 /wOuE+NL7eLCzORsTsJK2K9N3BwYIl0lYBmdSgKDtRV5kixXlRSrNM74oKh67oB4zv Io2hsp7zoaX2X1V52Hq6eYNDnecdK/TD3sjwSFVCzThrovySIIQlbv8kfJGJHZDUy4 Uvseb6GNI3UbQ== Date: Mon, 12 Feb 2024 20:17:31 +0000 From: Conor Dooley To: Miguel Ojeda Cc: Ramon de C Valle , Trevor Gross , Conor Dooley , linux-riscv@lists.infradead.org, Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Jonathan Corbet , Paul Walmsley , Palmer Dabbelt , Nathan Chancellor , Nick Desaulniers , Tom Rix , rust-for-linux@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, Matthew Maurer , Sami Tolvanen Subject: Re: [PATCH v1 0/2] RISC-V: enable rust Message-ID: <20240212-demotion-blitz-1c9ab85dbc73@spud> References: <20240125-bucked-payroll-47f82077b262@wendy> <20240125-lazy-thrower-744aacc6632a@wendy> <20240126-eccentric-jaywalker-3560e2151a92@spud> <20240209-rage-keg-1b2982cd17d9@spud> MIME-Version: 1.0 In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240212_121742_372856_F460DFC5 X-CRM114-Status: GOOD ( 14.32 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1121199483612065992==" Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org --===============1121199483612065992== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Fnsa84sXGmOTaKtZ" Content-Disposition: inline --Fnsa84sXGmOTaKtZ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 12, 2024 at 08:11:21PM +0100, Miguel Ojeda wrote: > On Mon, Feb 12, 2024 at 8:02=E2=80=AFPM Ramon de C Valle wrote: > > > > Sorry for the late reply. Sami might be the best person to answer this,= but KCFI (not CFI) tests are lowered by passes that are architecture speci= fic (see https://reviews.llvm.org/D119296), so we'd need to add support for= RISC-V. There is no additional work required in the Rust compiler besides = enabling it for the new target. >=20 > Thanks a lot Ramon! >=20 > Then for RISC-V let's go for the `depends on` for the moment, and we > can remove when the support lands for RISC-V (ideally when someone has > managed to boot it at least under some configuration). If all you want is a boot under some configuration, that's not difficult. After all, I found the original issue by booting a kernel with CFI_CLANG enabled on the C side... > There is no additional work required in the Rust compiler besides enablin= g it for the new target. This is not super clear though, it says "in the Rust compiler", not "in the kernel's buildsystem". --Fnsa84sXGmOTaKtZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZcp82wAKCRB4tDGHoIJi 0l0+AQDwAn/aq+Fts6yHPXow2miyTAWD/hM47HfQMPIODOb5ZQD/dkB5CAfEyKfu rkbwjea4usmgQD4BLThgzp4mlabBVwM= =ORjx -----END PGP SIGNATURE----- --Fnsa84sXGmOTaKtZ-- --===============1121199483612065992== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv --===============1121199483612065992==--