Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp1000471rdb; Fri, 9 Feb 2024 07:29:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IF2dhf/jhXye5TjcO8hcJni/30NdiZ1UCuhQbuNx7fMuTi3lK3jutFNNysBFP5jMNAz6gm1 X-Received: by 2002:a17:902:d58b:b0:1d9:9e4f:c0d5 with SMTP id k11-20020a170902d58b00b001d99e4fc0d5mr2282787plh.40.1707492550660; Fri, 09 Feb 2024 07:29:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707492550; cv=pass; d=google.com; s=arc-20160816; b=CMEQmUdPzEWUav06QpEFFbIUzUXWkmdgSFiobnC7LUNXSbhw5QOAAfy4Cj8nY8HzTI rwxYbfn6DTwCBkWhTT1EnNve9qRgnB0Ft3RYLWql63xImXEx0enJxfkygG6hUKhosmuu DLqITcrp8zIK3yF3Ascb+4xbCiGmmYePSm9Kg5I67cr9VNFVOPvmYnJ7mulJsiJSeTN5 +jFq6Oi9CBrlHMvvnt5g6LEXkhOgGTLYgE5kzO0XBH2J26WiYAOD0VrCcvvQfimcGkL5 3Ji18TViHNHglNYbjP5Ma9FFKCfnG4Bvhjc9o6yohGFOd+JhdW8fFfJr9BH+U+cBYcnF HgSw== 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=qsEohGDlLb5D6DJLRfIDcQFTUfVGUCeWwneA1f1Lcq0=; fh=hs2j8N7rIiMRPnjwRgVlHWKbstdsqgfLRrHw7lSfKoM=; b=Nq2pWh+4+zkvml82QnwzBvauq5p97MoXIWvmqeXOHzgpU1sF1cnZud5JziUQ++nr21 Dj5pdbuSegGkjfKv1/+zHpR0EAXrEY3DVk0eXIV+mYfXbMPqWCVYt6Yz9NeIspNjS6Q5 rIddUo85vw+5gflerkObb6oJ/NShQfIaWeE8mTzm+gg3Q2aeju5jauLZ9Q7vxOPmOmPx SO8ZCkjATSJA/v0iYOSDJlQ+9Y1qtT14hNzt66ozy5Ovhgz1BZ2dPKmv7vxcrq/LxIzm eB4QJqO1AOmcSKtoZGynhbjnlZ2I4cij5BH4yVeLKwwNbpz4A/5FI/9V2x7hEqV2c2lU FONg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e84l+KMQ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-59524-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59524-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCX8ckg53sDPMNqAJ5h84OQjacfHTjHeuF4orUMaVDyjCcxuTKFoEhNQvhYrCok3x8F9eX1Gs6me4XwPEtzzp9hr5rlQpJ98am6PEPwTCg== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id i19-20020a170902eb5300b001d9643f32a4si1739961pli.501.2024.02.09.07.29.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 07:29:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-59524-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e84l+KMQ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-59524-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59524-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 9C1FEB23ED0 for ; Fri, 9 Feb 2024 15:18:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 60C626EB65; Fri, 9 Feb 2024 15:18:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="e84l+KMQ" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 7A48428DB5; Fri, 9 Feb 2024 15:18:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707491909; cv=none; b=kJXb+Qj7hi3HXh1ufU21FemQ1XmJhhN6d4cXmN2Rv+eRH4APi4UuqPcxu0kAChIeEYcDpfHXuLFFNKB7spBVg3kMw9zoiZxHa1AVoEBaXD4cB+HyeYeCOgV7wg2UZ2HvMAQcUwKh5/pBwOqgRVjNsRNUeb+HEGRDeHnwHIMc3AQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707491909; c=relaxed/simple; bh=qsEohGDlLb5D6DJLRfIDcQFTUfVGUCeWwneA1f1Lcq0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ubTD3azCk5eIuj9NlqJuXyrm92XFOkteMJZnfHgSlP4JNZGcjuWtxGEKZXTyBS7OW6wfmoEC2G9033okqqHJcDrVJ3hP3pl1SSBMaBLnFdwJ4bAkaDOEuhD1MPHFSeQN6+MIbLpV3/RlckTdNA9nBapIgrMTnqu6v1ZzZO/63Ko= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=e84l+KMQ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1CC62C433C7; Fri, 9 Feb 2024 15:18:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707491909; bh=qsEohGDlLb5D6DJLRfIDcQFTUfVGUCeWwneA1f1Lcq0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=e84l+KMQC9NBIrXYUXkAX7vePQw7RIDj6eTwmZptCjhNJwjV09bzS+TA3v7x9PL20 VhodEm4/wktAFiIgm9a0Ra/aI1NWfBYhhq7P1/fi46rVq77YvPNytX7FAEQ8m0lyCm fml3Tbe7OJ8/V1Ra234KnVF7h3kaOPCd1711Om/tOp4U55fqoqGt/ufvIbi3AZBGw+ J2lVHp1hUcBU1gdYyXZNQpVwHo+35aORpEAmhMb9KfvO1zawHyxiePWJq7HWV+M905 Xs/SkkoiCxY3ymG5k5HDgbZnkOD+nlzBseccKvsANiMS1td65W/KsfOYnQSJRl/iNp Qauf5rYHZVmDQ== Date: Fri, 9 Feb 2024 15:18:22 +0000 From: Conor Dooley To: Miguel Ojeda Cc: Conor Dooley , linux-riscv@lists.infradead.org, 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 , rust-for-linux@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, Matthew Maurer , Ramon de C Valle , Sami Tolvanen Subject: Re: [PATCH v1 0/2] RISC-V: enable rust Message-ID: <20240209-rage-keg-1b2982cd17d9@spud> References: <20240117-swiftly-parasail-618d62972d6e@spud> <20240118-implode-delirium-eefdd86e170e@spud> <20240125-bucked-payroll-47f82077b262@wendy> <20240125-lazy-thrower-744aacc6632a@wendy> <20240126-eccentric-jaywalker-3560e2151a92@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="CHccunpyRzIcwl0N" Content-Disposition: inline In-Reply-To: --CHccunpyRzIcwl0N Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 27, 2024 at 02:46:38PM +0100, Miguel Ojeda wrote: > On Fri, Jan 26, 2024 at 11:01=E2=80=AFPM Conor Dooley = wrote: > > > > Is that even needed? We already have ARCH_SUPPORTS_CFI_CLANG and AFAIU > > rust supports it if clang does, so a second option is superfluous? >=20 > From a quick look, I don't see it enabled in any RISC-V built-in > target in `rustc` yet. >=20 > It may also still be the case that KCFI needs some tweaks for, say, > RISC-V, before the flag actually works, i.e. we couldn't just test the > flag in that case -- Ramon: how likely is it that RISC-V would work if > KCFI works for aarch64 and x86_64? Well, there's been no reply here. I'll do sa you suggested and add a=20 depends on !CFI_CLANG to RUST. Cheers, Conor. --CHccunpyRzIcwl0N Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZcZCPgAKCRB4tDGHoIJi 0v5zAQCzZ7t4RKWWhpbT+/YlhCexHgJAtD+HTzNc09+i1Ph0HwEAhd/NiiTHdmkJ LbqEznQmgueGJZpHS5dLO20wBGVAUgA= =q5/s -----END PGP SIGNATURE----- --CHccunpyRzIcwl0N--