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 2BD00C54798 for ; Tue, 27 Feb 2024 10:17:55 +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=PtgcA7N6iS+ge/bl3I+1s6tTt/v3bqOaFClQljYkFxo=; b=EbSLNvHUMs8XWohk2NJUzOIMkz dwJ/VlwnR+b2q2y/uhC4gjghBkwL8V1cAXMmOQHCvUrs8j7AKQi96psja1W3/IZLHSkKBiC4keCpv onHe7g1/i8XZyQn34vDPBiBAu1hqqexjRHVYvAho42CTv1yvJM1Fh1vjRakWuTsJO2x7t22cTu00C RW7idrw3i2fOW17NwLh3eMPf+6/8hmxM2IgrkAgBeYivVilR2rjz6IDCGA7J5BBIV25+Xhj7Ov3/9 NLfQ1UI5mBFLz/DFC1p1wNhWhM9IyCGmy+8eLNCxNNbF3iZ6E7mKeQNFfmv7xr3k4LNOW60piHLrf x6sbpW6g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1reuWz-00000004gzZ-3JQS; Tue, 27 Feb 2024 10:17:49 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1reuWt-00000004gvz-0V82 for linux-riscv@lists.infradead.org; Tue, 27 Feb 2024 10:17:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1709029062; x=1740565062; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=BCYUXwloy7tx6CRy691yjbouMr/IoorgoY29ZokBmYE=; b=ybC+BVUJgzou+CI5al+qwjYyEMIKqTbwgt+seo2rGNUAwpjO3uC/iho8 03o0R2Ipnvf63xRs/sx18Q019EYSzwAO+dB4mqeHnNnSUudr/h5F+FMCd 5/b/E1ZijgX+O/3T7awSPngNo1KYzhRZNP9OeZvUiFtBvhImoW0jJS408 JG+DY5Gb9MizrIY8UJ0wWEF2r32mFqF70MwBlArpMkivHWIP5MlpB/wyQ w5D1uHcm+2hdmSL6toKJxCq6gwRbZWyBraunNlIUW4z6RyGEG8DA42x+j crEeFtB/4mSHadsJuKp2gh9pTqy/51zZCzVSkNjnTzoao3ueJGjzEL3G7 g==; X-CSE-ConnectionGUID: LY36k2aJTB+eb3sMK+kGPw== X-CSE-MsgGUID: hIqM4eg7QzWgtrOMupVYnQ== X-IronPort-AV: E=Sophos;i="6.06,187,1705388400"; d="asc'?scan'208";a="16878492" X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 27 Feb 2024 03:17:41 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 27 Feb 2024 03:17:12 -0700 Received: from wendy (10.10.85.11) 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.35 via Frontend Transport; Tue, 27 Feb 2024 03:17:09 -0700 Date: Tue, 27 Feb 2024 10:16:26 +0000 From: Conor Dooley To: Miguel Ojeda CC: Conor Dooley , , 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 v2 2/3] scripts: generate_rust_target: enable building on RISC-V Message-ID: <20240227-resolved-deceit-4a59a6af5b71@wendy> References: <20240223-leverage-walmart-5424542cd8bd@spud> <20240223-employee-pessimism-03ba0b58db6b@spud> MIME-Version: 1.0 In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240227_021743_307375_4C27E116 X-CRM114-Status: GOOD ( 16.00 ) 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="===============6631375105699171332==" Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org --===============6631375105699171332== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Q7uzvEFdRZs2AO5O" Content-Disposition: inline --Q7uzvEFdRZs2AO5O Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 23, 2024 at 03:39:47PM +0100, Miguel Ojeda wrote: > Conor Dooley wrote: > Thanks for this Connor! > arm64 is sending these for 6.9: >=20 > https://git.kernel.org/arm64/c/f82811e22b48 > https://git.kernel.org/arm64/c/724a75ac9542 >=20 > So it would be nice to see if it may be already possible to enable it > via a builtin target + flags instead of the custom target, e.g. arm64 > does: >=20 > KBUILD_RUSTFLAGS +=3D --target=3Daarch64-unknown-none -Ctarget-featur= e=3D"-neon" >=20 > and so on. >=20 > If it does not work, it would be good to know what would be needed for > RISC-V and put it into the unstable features / wanted features list > for Rust. Sure, I'll take a look. > Either way, it is not a blocker (although you will need a rebase after > arm64 lands to use the `target.json` in the right places). Nah, I think that is silly. Either this goes in as-is, and there's fixup done by Linus, or the thing should be converted to match arm64, assuming that that is possible. Cheers, Conor. --Q7uzvEFdRZs2AO5O Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZd22egAKCRB4tDGHoIJi 0i2xAQCRgFXg1ZapmwoJszFsyzygxNYjswLT1sD8OtIU1BPdWgEAwEJBWvVFMPMo eBGiUJpqcMZ92Gg1yEfHXhd17awAWww= =SKPI -----END PGP SIGNATURE----- --Q7uzvEFdRZs2AO5O-- --===============6631375105699171332== 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 --===============6631375105699171332==--