Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1887084rbb; Tue, 27 Feb 2024 04:37:39 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXeVIaDJGPH7WqowYChjw7P0Lho5HbTco44RPwDbfmhCgE8m9Id2j2q0sOfE7pYQBfdmb29OYAgwsen5SePrBo0Q2RNcTqsfz1xq8iD4g== X-Google-Smtp-Source: AGHT+IFMssgrPoA8JJ7Q1aWUZ8bHLXcq0FXyZ5JRr27mw3EjFvWzlVxFH7GZKWrU40fR7r8H9kHu X-Received: by 2002:a05:620a:2188:b0:787:bd2f:e30d with SMTP id g8-20020a05620a218800b00787bd2fe30dmr2944555qka.19.1709037459104; Tue, 27 Feb 2024 04:37:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709037459; cv=pass; d=google.com; s=arc-20160816; b=iAR6Yo4F4oPCi8C3Q1A3YD5YLZKiI2mY4WCfPCIH499DnJ7/PlpezvOJ8jLdqSPYEr AVJtxrYOrxPLK23255ahrSJPl8w1tUz6fAxp9BhgoUUTudWcnz1p3lzgZnSJulkoFETa LnqhfGvZUUlu1FQ4wwb7q/MV3q8C6bhHTiErvH8YwfY9fd4SouL84ckjhyEzsGtNsnhh btNqMQZd8rVJTTOnJJvH47s04O4hc7hosjcAUcjQ/Cvt5ZJ8eCr4O6YK0Z0GlycJ6eMF 0wW07zXPOTuVHOrYR9E8MYQhoHv5xwVH585xO3bpNyPPv1dr9Z1ehV9XanZJIQnABi+X vohA== 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=vL3h/IKG2Lc53EUgGT8KSBiS7JMMvvCh4EzUmuDxQuI=; fh=zgrZddJK3+M32bJtoQRrW1bd2QNOWtu1amjZu+/rLKc=; b=A+Z/66Z1IwRTQEWMYpWm4yMUsQMa94NBls+rj34BZWEh+T6U3loPmOHZA9+/7FKe/I 7D0S4VSJgv+vtHXtY8jFXOA8pDj+aRR9h5ra0D1cyKeYiqsEB2UyDd81E2oNNqGfySAr r21c5cUAHHsh0ZHHwiX1KJfenY4nqwEYyhofa4G17ct/iaSDgC+UaHBZRlwz84I6C29k dvnZw+nxkwiPrvY7NLgh+fkiOb2glxt6fQ7d9chHkEEV6KgQEYpQN7vTelU4GfmiaFw1 +D8ZFotQSa9Orxo3lMcCY0T6gHAi2pLiDvEvQzs6V5pCEZH0n/XpCEkNjMaZG+Kju0Z6 85jQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=hqnyz1zy; 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-83241-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83241-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id l20-20020a05620a211400b007833f260edesi6951889qkl.487.2024.02.27.04.37.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 04:37:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83241-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=hqnyz1zy; 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-83241-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83241-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id D82801C21C76 for ; Tue, 27 Feb 2024 12:37:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DB412137C5B; Tue, 27 Feb 2024 12:37:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="hqnyz1zy" 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 8F0E11CD3B; Tue, 27 Feb 2024 12:37:26 +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=1709037448; cv=none; b=HFEj8AtQAnf6LzYcPgGJru9Fl2TIVwrpWpIeGUSEESe6CEN9tloy6waFqXD33YH9Da6tVajGY/8QUavkN5iOyqErjdCZaIZQJi3wkRE6A1iH/AVXXUqjyizomoyMliIhFla20taPPVdAmLqGJHX6Ouh3GnXha4IYIO6EKZ2AUX0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709037448; c=relaxed/simple; bh=vL3h/IKG2Lc53EUgGT8KSBiS7JMMvvCh4EzUmuDxQuI=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=PrshsZqcllTisn67flBj+K2kIqhnyyr8DRAVpnGCqiTPiuhYmk4R/kUO2tZPguQNP97t3uxMPf3SJlbDfyLdvghyQX7xLaZeqTkVvD+stcxmnb97H8KuAgfweJoaEwB4DaadzY9G8ZTMoSUjI3woEJSVjGkBT90qZZpP4+Lc/x8= 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=hqnyz1zy; 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=1709037446; x=1740573446; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=vL3h/IKG2Lc53EUgGT8KSBiS7JMMvvCh4EzUmuDxQuI=; b=hqnyz1zyUmFx0mZVDgnVpoyeyc98LDGtGQqep23JBNikKIOmNQtYPZZw Cpuaj2zj+Tzm0OaYn44FFbNiuhZfKCPVdGz4bqc/rVeOuj93HTV9CN3ID 0vqVDPNwN1LlkGgg6dO0qVneqptTd78uraVSU1GLMEt8UF5bFzo2ii90Q RNP9MJ7o1yZboZmqIZe/ZRdV97d7QsDFyiK0FAlxRLtdXL66fleo2VY86 50RQy2yTVxaNjlJRWxY329KQi+Izk05Pvl1r85tnpjmce0o3oXpAzA1SS pmFp//244xdLHXb8kLtfifufNI+wMWrmwzWBCHmBDOkH0qH7QZB1Jxv9Z Q==; X-CSE-ConnectionGUID: RIjtrF0uTky5IbYLb0NUFw== X-CSE-MsgGUID: VyN+l4VUTNyBBErAHgla5w== X-IronPort-AV: E=Sophos;i="6.06,187,1705388400"; d="asc'?scan'208";a="16883354" 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 05:37:25 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) 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; Tue, 27 Feb 2024 05:37:09 -0700 Received: from wendy (10.10.85.11) 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.35 via Frontend Transport; Tue, 27 Feb 2024 05:37:06 -0700 Date: Tue, 27 Feb 2024 12:36:23 +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-swarm-serpent-2010b255f68a@wendy> References: <20240223-leverage-walmart-5424542cd8bd@spud> <20240223-employee-pessimism-03ba0b58db6b@spud> <20240227-resolved-deceit-4a59a6af5b71@wendy> <20240227-glove-underwire-f562a56cf2c7@wendy> 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="lgqlciDgvTDbCOgO" Content-Disposition: inline In-Reply-To: --lgqlciDgvTDbCOgO Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 27, 2024 at 01:12:51PM +0100, Miguel Ojeda wrote: > On Tue, Feb 27, 2024 at 12:05=E2=80=AFPM Conor Dooley > wrote: > > > > My point though was more > > that either this was acceptable for v6.9 or would be v6.10 material > > with the same mechanism as arm64. Rebasing after v6.9-rc1 but not > > adapting to that way of doing things is what seemed silly to me, since > > if a resend is required then the other improvements should be carried > > out at the same time. >=20 > If avoiding the `target.json` is possible, definitely. >=20 > I didn't want to assume it is, though -- e.g. the native integer > widths you have is 64 but the built-in targets use 32:64 (perhaps > there is a way to tweak it with an LLVM param via `-Cllvm-args`, but I > don't see any obvious way from a quick look; `opt` does have it, > though). Looking closer at those targets, all of them enable compressed instructors, but we support hardware that does not support them. I think that means we are stuck with the custom targets. I could badger Palmer to pick this up tomorrow, provided you're okay with the gist of this series. Cheers, Conor. --lgqlciDgvTDbCOgO Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZd3XRwAKCRB4tDGHoIJi 0pwnAQDKxa0TynZPieVRztR0zcy3tmhfLcVSi9lF1+smiaRObwD/S98C/1BHyqaa o69/XjNcE1BNOR9mwoXX9xRD9UA01Qc= =I1HU -----END PGP SIGNATURE----- --lgqlciDgvTDbCOgO--