Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp290939rwd; Thu, 8 Jun 2023 00:13:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ419AErFt/HM5sB+d4uGGPtcPxVnzjTrnNwI/x8m1urWCWSd5Q/gy/u16Og4j213uWGnbtD X-Received: by 2002:a17:902:c94f:b0:1b0:6c3:e851 with SMTP id i15-20020a170902c94f00b001b006c3e851mr4299543pla.18.1686208400626; Thu, 08 Jun 2023 00:13:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686208400; cv=none; d=google.com; s=arc-20160816; b=UkGi33VKrYf11F9QaDFnlxTVqLtMbkIr01arC/YaVrvL/ixtI3Q/MPv419slBwaBFC 17Xbee2aDuxlEI8Z9WqFu9QFuPNg0TpRXjSBgw1Ot6E4L2X8BNaDCRkiFNJojtFKEgaU 1GvGKvlM5r3aqKQffzYskEJJvzmp6h/h9m6ZUflPFa+3WufS4agd0r13+fP+inxLhD5Z aWdMm9kGG9e5JQ7dk+vsF2DTbFi6SFyWJ4eMMIaccR4a0kJoYXGi/PAtoxWfSbqulurA p95DT3+tGJHcw/9tiFlxz23qRMkzAQPxtohpddwYECi1psUtYJp31iGVd9cc3bd3/dIo JiWw== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=77a0rYSCp2pI+GmaZCGA16px4DVtNmeBHtA66fSs5X0=; b=JDqKdu/1YJkuYJPPOGVtjLqUNCPgG/L/TllblqT5nTggj29wSngeyiWhwxVKTKGZeI fowfEHdAjqOlpE3P3aqZMyYjrD8lauAADr+o7KJ/Lru4wkUtd8ibJ9KFvZcCFDNzcewg DXLaile/XSm9C6qTOjkiZpxyRU4J8SLSNx0zIME1Gk0WuH0yxCvwjod0jzmHrsfZfL82 ywO7ZwesSTDuhA43YDKZB21Y8A6muFveiArkmxjCR7APP93HI0QOWpXY2Ytz0zSGrX7r aBiJ0/wAQZo6TtoyoSRuI4iP3nk1tinOAMdWgmXUh9YuxDJY36FcQUUm6QdfX9v/YmJI tRtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=jPEVMUVE; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l2-20020a170903244200b001b11168bde3si630798pls.521.2023.06.08.00.13.05; Thu, 08 Jun 2023 00:13:20 -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=@microchip.com header.s=mchp header.b=jPEVMUVE; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235211AbjFHHKw (ORCPT + 99 others); Thu, 8 Jun 2023 03:10:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233900AbjFHHKu (ORCPT ); Thu, 8 Jun 2023 03:10:50 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3F6A137; Thu, 8 Jun 2023 00:10:49 -0700 (PDT) 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 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jwKHTUeWzoRRJDdX" Content-Disposition: inline In-Reply-To: <20230608-dispatch-sneer-aa09bd7b2eb8@wendy> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 --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--