From patchwork Mon Oct 16 13:15:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jamie Cunliffe X-Patchwork-Id: 13423239 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 CFBBBCDB465 for ; Mon, 16 Oct 2023 13:16:30 +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:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=NkHoNzXycc4cc9AJWrD5CN+0Y9lpIBdiOgvZ7YtOo2o=; b=bdWS+/B0uylBrt oVHyFoq5XGwAl2h6GTgmovqH3Sk0y8wbgxz7e9BF7HCtMrry/tmCAd2A1uqRh3coQYzCryX5ZOOHO Tx2PJDuiBs6nAsFt1IV2Un+/NN7+EaFrTpsL2G1PV0MALPe5liuimGPP9WkBlM+MOFeeorlcoWAEc jK239Pf9/PM5IB2Qx7xiHOlKG9eXfGdSjzRPYG6deIPSQqphkWx+HTlgIPFe8q4EAI/4wOsoldt0y CfUkTHO1G+pQDYQ8CI5plmbo4WrmgCmvNqu2lSLqFQVJ9iOfKG5PEkkBIsFjQPsFOcwxOsT3Etjrq eznkI24unRT0TcA/mIVA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qsNRv-009iAR-0x; Mon, 16 Oct 2023 13:15:59 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qsNRs-009i9q-18 for linux-arm-kernel@lists.infradead.org; Mon, 16 Oct 2023 13:15:57 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E7E9F1FB; Mon, 16 Oct 2023 06:16:32 -0700 (PDT) Received: from capper-ampere.manchester.arm.com (capper-ampere.manchester.arm.com [10.32.100.23]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 1B17A3F5A1; Mon, 16 Oct 2023 06:15:50 -0700 (PDT) From: Jamie Cunliffe To: linux-arm-kernel@lists.infradead.org, rust-for-linux@vger.kernel.org Cc: Miguel Ojeda , Catalin Marinas , Will Deacon , steve.capper@arm.com, Asahi Lina , boqun.feng@gmail.com Subject: [PATCH v3 0/1] Rust enablement for AArch64 Date: Mon, 16 Oct 2023 14:15:22 +0100 Message-Id: <20231016131523.1521965-1-Jamie.Cunliffe@arm.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231016_061556_459218_2A3BD6D4 X-CRM114-Status: UNSURE ( 9.46 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable Rust support for the AArch64 architecture. The only change here since the v2 patch is the removal of the fp-armv8 feature. rustc ties fp and Neon together. However due to a bug in versions before 1.71 fp wasn't correctly being disabled. Now the compiler version used is 1.71 we can drop this option which now allows this to build without warnings. Jamie Cunliffe (1): arm64: rust: Enable Rust support for AArch64 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(-)