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 X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 25657C433ED for ; Tue, 18 May 2021 10:21:30 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E59A860BD3 for ; Tue, 18 May 2021 10:21:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E59A860BD3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: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:List-Owner; bh=CVazl323QAueRl4lW2uWWUHkzmZfoqWxBQqWSpNMTnA=; b=T68fpf0iydnsGN/0Vt71qn9RX hLFD7XgAt4zQ+qW1zpql/sj3/6uBMewMsD913sV7Hf2IKcELxTSMY04VDftv3VKnXBMJer3lPQ3VA vNvH7n0axo1lTyfzJd9/b++Dr9spNbr99AknuQRAbMfIMrLG7md8RVFVwrDC3DrjNo3Ux9LeOqxOS zYtWxlAp2CT3R+nk4z6smBbknK7RiyWae+r+UHhesfGAp3j0S7BRdrePEL3i+K1PymT9MGX9ITJpl zV0kAZqZ//deQKYBBgytlEP72aKrWdD49Q+dkNZfoZLBfgLGratqRm3LwbhcRNIGXT6aDhpZcvR6e JDBgJ/zHg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1liwp8-000L3j-RD; Tue, 18 May 2021 10:19:39 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liwkX-000Jan-36 for linux-arm-kernel@desiato.infradead.org; Tue, 18 May 2021 10:14:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=1NrlLKPzo/ej7VyAkE2KcXJQfqWWZpc4OdxcnwrewSA=; b=sSXUml5iVBoC7Am5iSq1mvBAD0 ygPmpZCTXq4/Az8FQBmJSGAnxNCSbMAoc4vbrdJ/KYSvNravfeaJdKfRGW0EiIIuqTqMaU23S1cGa L01jw0GgkVM+6b39K+qf+v1sOsvPpoitjNS0BUMQVL2EqBH4HstbnyGCsM8VTp96IMuXtyfmlaGyE p4Lcbpvvv5aH8Uw9b6V0CxlP3cyXuaxeJz5B/q9Or3ttuhlbRXz9BCxi14A1sSOj4OIt6RzmA/Tze SivgZVBqjkrAp7ylMqBEolQS2rPLPAaESxj+AP36Rcd5GmNRyW4fsDY4lOSoGcBIUm+wOwCKOoRSO oj1wCqqQ==; Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liwkU-00EYFT-3V for linux-arm-kernel@lists.infradead.org; Tue, 18 May 2021 10:14:51 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4FFB4611AD; Tue, 18 May 2021 10:14:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1621332889; bh=Ol5DX2Ox1Gg+j4vvxkAFCqMKrDF11HKcRizrfMDhysc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SHS91BgflGyUoMCrXrQQ2MHKKGQJb6Euh5WRXBfB72+v5+XKUnFuIsfinyekHfdvA BzT5kDJeb8SddRVbnlHGug1ECUfwfBGaaRoBREMZSob+5ygh5H8AhUQzZS5c+oUMiK NTDW/8x5Zk7vyExT/u/Xyni5xoyKNcNkwqNFGYTp8yArGakNF1LoD396iTi/dBHfjn tisFONWknGLGrkkQVnIUii5f5txYq0+bUrTQohS5IxFNjlztbNsRJPKUsQOJvrBpN/ eyvtp22nGih3qBfBaurNRR0umbVOYbIX4zrl+WEgXSd2InSmKFHEbrkHzbskrYD/Mh x0SQ5E7S1dfYA== From: Mark Brown To: Catalin Marinas , Will Deacon Cc: Mark Rutland , Lorenzo Pieralisi , Sudeep Holla , linux-arm-kernel@lists.infradead.org, Mark Brown Subject: [PATCH v1 1/2] arm64: asmlinkage: Enable use of BTI_C macro in SYM_CODE Date: Tue, 18 May 2021 11:09:18 +0100 Message-Id: <20210518100919.6674-2-broonie@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210518100919.6674-1-broonie@kernel.org> References: <20210518100919.6674-1-broonie@kernel.org> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=726; h=from:subject; bh=Ol5DX2Ox1Gg+j4vvxkAFCqMKrDF11HKcRizrfMDhysc=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBgo5JLWI+1yGeTbKoW+32W5q7pXJYKc0bwW7m61bNz FGsyXOmJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYKOSSwAKCRAk1otyXVSH0PizB/ 4/VibgVRSy9xiYfHpt7+IW39DxAroi/D5nibKbzSpOsDPFn9TY898cZz9zPa8puT/c5MwUn6waFgSr 0DC6j6U9h8c+i/DtvfeV5RcCVrfCOp+ATHVOO5sx+R7qPBZh+PLB/fPdq0WLQzPFd9l21BJAxjzxZC fKcK8+HBK5S1mVj7lgya2mPs0SxQmF8CJq3fSNZWdzoy8uva3wE3ZF4ETsQ4QxvTvGvBi0gYYSDFYi vrJkFx/WAWLi88YNDpcjY6bItWcqvOv+EJlypqeDSlo3nedjRcEQ69MZzw+F//Hvy4acwMER/+mcN2 kkhsRpzJk6YZgWTtqn1iFTNQXD8rNe X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210518_031450_179647_C21FA40B X-CRM114-Status: UNSURE ( 9.02 ) 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: , 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 SYM_CODE sections may require BTI landing pads but won't have them automatically generated by the symbol definiton macros. Make an empty version of the BTI_C macro available so that they can more easily create the landing pads if they need them. Signed-off-by: Mark Brown --- arch/arm64/include/asm/linkage.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/include/asm/linkage.h b/arch/arm64/include/asm/linkage.h index ba89a9af820a..d98f9af8b8ec 100644 --- a/arch/arm64/include/asm/linkage.h +++ b/arch/arm64/include/asm/linkage.h @@ -42,6 +42,10 @@ SYM_START(name, SYM_L_WEAK, SYM_A_NONE) \ BTI_C +#else + +#define BTI_C + #endif /* -- 2.20.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel