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 0D5EDCDB482 for ; Thu, 19 Oct 2023 15:45:46 +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-Transfer-Encoding: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-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8cMhO76W28VLvF8f6Fvtb6hk/WiHK+khwxbABmFz4eo=; b=I3cgXSqoShjLhE IOimUm6gi+2W6KDlpqIwt3L4HGHzrN1xrgQYuC4WSQb3UQGLcZus6mEqEW6+kckAQyAah5oJ/rTKc 8Nk6diS2le70K4FE7LQisgREmdexWDjBJ612BAoyJK2W5mdLjIXRkXzLZ47VOCRjBZdazBDFT6oML zrhqmQkIPe3cp1C0xduWFAroKwXplG7Sue7xh3gBM5hcrQBhNDfqxgAU9o3X8XGlbSNsFjWEdlDpn dF0ZO7Lj6NQ7ydY7FAG9gIMEDGShc7Qc2btsRD5B17hsr5sBaCRobJqdGV6XPZIf5f4j8OuIkdDWg 5GIyl0STjpdOK32469hQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qtVDR-000Eld-1H; Thu, 19 Oct 2023 15:45:41 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qtUDe-0006pf-1R for linux-arm-kernel@bombadil.infradead.org; Thu, 19 Oct 2023 14:41:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=mcD9fLsdcTOyV2OBMs0qW2Gi7HgjOesj0LAbeidIAKI=; b=A+aR1YXKdx8Ua6z8X0WdJDVFbq hSGRH42yNV9XEUD+kFdPlYxUWf5nBpclrGwAoZPVHV0Q1aj8cnJ8JCUYW2coBPd8PXclfUOm2FWC7 4tALCaNVKZmYLflAethnsGICS4bYodzvKRrT5elrMizgz5N7KrUKhmIdrDv+VaR99xvL1mG1Aj9Xo B1NKhFyVB05LP4qLWhF6wcJym0ujLqnSq1hV1mKzbrM5ZUAhDWABxsg43wnx/91SaQcFmKrxr4sHS JcBwXyt6I38SBgFmXMbwiT6Q/VMUYTMaMtCH8MqdmUAFp3g96MFn6qdKiCINPT6JpEYv+fntQhdX5 iVj7y/jw==; Received: from dfw.source.kernel.org ([139.178.84.217]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qtUDa-009vmw-31 for linux-arm-kernel@lists.infradead.org; Thu, 19 Oct 2023 14:41:48 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 0650B615A3; Thu, 19 Oct 2023 14:41:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 191C3C433CA; Thu, 19 Oct 2023 14:41:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697726501; bh=ObxRFemgpKK2dOpFgH2rqxPTtFoQK09xhdZUsccVGqQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DsUs0xJbY+BIiDnOx8Ybdrqq/LOyqnLUUbUhEqH3wo4hkrXOMp9dm19dPOIwzhp4y yN7RE4qifVnkz8+XVk7V2chsS5KmTvAfmvaraKq3DTIq6wXEhsYrYyqMQ8Mx3aOINf hMVcJh5ZTKi3eX2N+nMFWMk8EVD/AIg9mJ56ejtb2EcTVLOzafYNZJw0R5xVdC0hQZ EekjqOUEDR0FrrJrL1n4wyVfnVBDH6HsrC58CfehcKVAxZYKAgGBLS7nzNLPbwPIF3 wHPJcSQY7CBUNqovAP1LnDnp7MdRPRqZh9txozo4x44UPldOJcV9PRsHUybu+hn6ag S1LF7ujWgsGiw== Date: Thu, 19 Oct 2023 15:41:36 +0100 From: Will Deacon To: Jamie Cunliffe Cc: linux-arm-kernel@lists.infradead.org, rust-for-linux@vger.kernel.org, Miguel Ojeda , Catalin Marinas , steve.capper@arm.com, Asahi Lina , boqun.feng@gmail.com Subject: Re: [PATCH v3 1/1] arm64: rust: Enable Rust support for AArch64 Message-ID: <20231019144136.GA19567@willie-the-truck> References: <20231016131523.1521965-1-Jamie.Cunliffe@arm.com> <20231016131523.1521965-2-Jamie.Cunliffe@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20231016131523.1521965-2-Jamie.Cunliffe@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231019_154147_215785_B110E4BA X-CRM114-Status: GOOD ( 16.48 ) X-BeenThere: linux-arm-kernel@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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Oct 16, 2023 at 02:15:23PM +0100, Jamie Cunliffe wrote: > This commit provides the build flags for Rust for AArch64. The core Rust > support already in the kernel does the rest. This enables the PAC ret > and BTI options in the Rust build flags to match the options that are > used when building C. > > The Rust samples have been tested with this commit. > > Signed-off-by: Jamie Cunliffe > --- > Documentation/rust/arch-support.rst | 1 + > Makefile | 1 - > arch/arm64/Kconfig | 1 + > arch/arm64/Makefile | 4 ++++ > arch/x86/Makefile | 1 + > rust/Makefile | 6 +++++- > scripts/Makefile | 5 +++-- > scripts/generate_rust_target.rs | 4 +++- > 8 files changed, 18 insertions(+), 5 deletions(-) Acked-by: Will Deacon Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel