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 D6BF3C7EE2E for ; Thu, 8 Jun 2023 07:10:58 +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=kpig52+aiFqZQW2bPZ8LMiRKVNJi9Gzn+OYxkviM3cI=; b=48BS8AByiLCAQKJnipcHoyNZjw rDv3b8f+Mk8abcL9ylFXLyLu0KUrIax+93qLHnjccMml6wc4aMnuCjAi0Ly/PUguRokxMpNN8Henb 4tI1p+/YYI/E/AALL9m7qr0Pg50TYRqCKWfvtWsUXa2/Hzp9vAI0p0UdGybKJ5E5v5WF2yfp8fHt4 MenXr5UZvwJ9b/IYcEBma3+uXgIicXrxtZc927d79ZG2cQRNHmXQ3CjTDjqcxQCSzw71FFeUMpeFs zIo6uggRyvSx1k0CAbJ8bRvG7NyjQkTfihcipbbfOnQdOqP1x+vbDAFcHkTxwLnv4DvxjN9CSgcf7 y+5qrjGA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q79nJ-008MLS-1h; Thu, 08 Jun 2023 07:10:53 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q79nG-008MKa-0k for linux-riscv@lists.infradead.org; Thu, 08 Jun 2023 07:10:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1686208249; x=1717744249; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=77a0rYSCp2pI+GmaZCGA16px4DVtNmeBHtA66fSs5X0=; b=jPEVMUVEiBhX+hyD3cwPQiTUDJGptkWdTopDIf1E1MW1YUAbS8EITr6R t3t0ELcXmhZpKU3zQBXV3V045DlKxfiEURQYir+D97oMKf7WmotyZ4b68 oz3vZ/h0xEq6tPs5hzX7sH7pxxLiv6lKg9i3rryPvk683SN9HX/ozLrk5 feMGYifnOzWkGsUVc4XR8TPu5MVINpcETyUAczUu4saJK9SOzdDed00oR SCP4bR+Hw/lE2AdgM2mJBK6HEf1Q++48anKu6ZNcsZEwDNiPXTKryDWIv rAdpxi23XV3DWA4G+GII3hBnlgiqxS2ldrHQadqrTcz4x6X5JRjtHQpQB w==; X-IronPort-AV: E=Sophos;i="6.00,226,1681196400"; d="asc'?scan'208";a="219384620" X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 08 Jun 2023 00:10:48 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Thu, 8 Jun 2023 00:10:48 -0700 Received: from wendy (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Thu, 8 Jun 2023 00:10:45 -0700 Date: Thu, 8 Jun 2023 08:10:21 +0100 From: Conor Dooley To: CC: , 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 , , , , , Subject: Re: [PATCH v1 0/2] RISC-V: enable rust Message-ID: <20230608-hesitant-yield-5d95d8588584@wendy> References: <20230307102441.94417-1-conor.dooley@microchip.com> <20230608-dispatch-sneer-aa09bd7b2eb8@wendy> MIME-Version: 1.0 In-Reply-To: <20230608-dispatch-sneer-aa09bd7b2eb8@wendy> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230608_001050_333845_1D8C6753 X-CRM114-Status: GOOD ( 17.28 ) 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="===============5584672506267768287==" Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org --===============5584672506267768287== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jwKHTUeWzoRRJDdX" Content-Disposition: inline --jwKHTUeWzoRRJDdX Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Whoops, actually to Kwang this time... On Thu, Jun 08, 2023 at 08:01:16AM +0100, Conor Dooley wrote: > Hey Kwang, >=20 > On 08/06/2023 05:46, =EC=86=90=EA=B4=91=ED=9B=88/Tizen Platform Lab(SR)/= =EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90 wrote: > > Hi, > > Recently I'm trying to put a rust patch on the risc-v board. > > I saw a patch [1] and looked through it roughly. > > Only if llvm(not gcc) is allowed, it looks good with no major problems. > >=20 > > > I'll revisit this when my thoughts have settled down. > >=20 > > If you let me know the problematic part, may I try the patch? > >=20 > > [1] https://lore.kernel.org/linux-riscv/20230405-itinerary-handgrip- > > a5ffba368148@spud/ >=20 > Yeah, you can definitely try this or the downstream rust-for-linux > project - both should work well on RISC-V. > The problematic part is figuring out what ISA extensions are supported > by the rust compiler being used (and by bindgen), and deciding what to > put in -march as a result. >=20 > I think it is unlikely to matter for you, unless you're aggressively > mixing versions for different parts of your toolchain. >=20 > I do intend revisting this, probably after the min. version for rust > gets bumped, I've just been really busy with other work the last weeks. >=20 > Cheers, > Conor. --jwKHTUeWzoRRJDdX Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZIF+3QAKCRB4tDGHoIJi 0r8aAQDt9wF+pdgpVhMZv8tXfWeGH+y3LngjRFfXsNrCWFKrMgEA8mUqA5y0O7OT apVAA19VykNqtMRTWy+d1gGuDYRcfQc= =GVNO -----END PGP SIGNATURE----- --jwKHTUeWzoRRJDdX-- --===============5584672506267768287== 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 --===============5584672506267768287==--