Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1825171rbb; Tue, 27 Feb 2024 02:18:05 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWxCBQBRod9ZXKRwtu2fbckXyDBZ7lcLyeVdVhCiom14uofiBrkaU0MNeNBjnQe1vtDQ5hOjbjyjO97ZICupmeixi1iym7O8pLc3iWh5w== X-Google-Smtp-Source: AGHT+IGE1Q1DYgfpqUJEYe0Kg+Yiz3SG6uGA2BbBPesXXFJzwSSrvhCc4IOHoYbk6JerGEdDnX9Z X-Received: by 2002:a17:902:ef48:b0:1dc:8eba:42c3 with SMTP id e8-20020a170902ef4800b001dc8eba42c3mr11057598plx.23.1709029084608; Tue, 27 Feb 2024 02:18:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709029084; cv=pass; d=google.com; s=arc-20160816; b=tJTqIjGkLnVTNuiTtp4pE2GF0//BbT2EAFz6cXVYC4WTpO9HJhYEfCtpsNgtFjS+xC OGt3nfaW0oqPws4nqFqAB0NexUXWxJLqhyq1Njwg4K9mELn6WRTm+zGfkS+bG9ySSmH1 F+ErhrTjF3hFENCTgyUkCNB5jnPM1XWzqfhmsrqgtesgXglVfVoTjD1SlF7g5QV1GjmH PTf02VruvvP7qFiCZHnIIST/+65HdQqwWwipx1LRbANgmUJzDL91yybietR7/X2pNnyt 9esLRjfTr62mq0RqWRAqyViaGS920evFc1en16bFkjN09nY92cIVQK+BsgzIDSrRuKOm uElw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=DYMLxpsHB3jdHAFYcAG08/mKYXzrW2gCv+8uRADJ720=; fh=zgrZddJK3+M32bJtoQRrW1bd2QNOWtu1amjZu+/rLKc=; b=jYdMnElsr7fxJbMSS8iIeJ9JP1UO7z6EgtUqDfO0RrllPAbtVo1aFCYLc3ZFZeTURY 8CyYQGGBvHtsSjwi6k5PuUiAfAKQ2fiOVKpXI9aKo0fZEk96LKyVYv2MnQGmrAfiU5ej 7+ip6ttol+IuftkXnbQ7P11xi0tdnUBfpX/oeXzSRjC3ODLBF8+wVZLoQBDc4tGiky7l 1BX1Ouu78pALKtis3nM3AzC/1VHNAsvOisdn0T7tuXY/gnOBqXrahVipmVhhhjQ/92p7 Ge8crKk0x2xoz4wYHb1YkVN804tBxIhTHPwIV+ynJHH19/qwYpJdLW+HqAJAIZ+hZGsP 98WA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=ybC+BVUJ; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-83017-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83017-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id b13-20020a170902650d00b001dba6cf080fsi1124753plk.224.2024.02.27.02.18.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 02:18:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83017-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=ybC+BVUJ; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-83017-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83017-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 3C5FA2859C1 for ; Tue, 27 Feb 2024 10:18:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A4C62138497; Tue, 27 Feb 2024 10:17:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="ybC+BVUJ" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (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 6D81A137C54; Tue, 27 Feb 2024 10:17:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.154.123 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709029064; cv=none; b=DXqlJ1JwWWakbWlgb4pqs52N3kTJ3G/yn4Hy1/JemcJwbMvsTau/2wntnRnk+1dWNOTAXGqqtcXPMUzVLAjrKhJLYvvQH2pAFfyGKlwjDmYqA1HJAYovelNPAK4mfDW9lNKaPp9oOKLsBmqHmTvdlsYsEH+ymxEzF32jYVF2qmA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709029064; c=relaxed/simple; bh=BCYUXwloy7tx6CRy691yjbouMr/IoorgoY29ZokBmYE=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=b6WsKkeSvcRFCgtfhDokrSUB7Z07Y7/GHZFiv/F5vHTogD9w4emsMKpMYx5Hij7x+N1DZSXBb/B+LHoHg1vQeJ3bpavm6hC2ZdGgF5+e5F6bBlSRTMdl62T4lb+vw+wdyDylefSfjNb2YICupIgbEb2hnVCmWnm2aVYW1q+LgIM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=ybC+BVUJ; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Q7uzvEFdRZs2AO5O" Content-Disposition: inline In-Reply-To: --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--