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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 08B36C433F5 for ; Wed, 27 Oct 2021 23:35:32 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id C0E876023B for ; Wed, 27 Oct 2021 23:35:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org C0E876023B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=CDBVVyu31vWihMxHoJv871y2Z3UIcFRuUgcPxiizC5Q=; b=My4OZwWH634G3K v4nG+u4vK9hQmjQo6vfA/lGheHP+G7lpJs64RAyTbE8JRMMImD8UORXG0ahoSi7/dXtG8NbXo3uf7 dQxwQbsA69LIdwaWHycSDrE9JLgtDZ1ej05+D0u1bNmi2fIzl2I9nxWQCL1UNtNAXuAe+krmi4/Re 4W//dxUy/h8ZqCusAlt8v0G5Iv8pCVZgPHi5UnqupR7n7mVEbJxz8s8P3erCGemI/2kQxiPYc7PQ2 KKIVD79Fju+th8JiXbVcBcbTO9+CmMXr9fuIc7+LjuhvPIABCDqrgdqMxjc2WclhFRZbKPHuOs/lC +G1+s3PpsI6eF90BBwuA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mfsR4-006Uyi-Ar; Wed, 27 Oct 2021 23:34:22 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mfsR0-006Uxt-If for linux-arm-kernel@lists.infradead.org; Wed, 27 Oct 2021 23:34:19 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id D127D6023B; Wed, 27 Oct 2021 23:34:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1635377658; bh=5PrObgLTQDPNHVs1TLPvDQcmc95ZM4YyqFVRPifbWis=; h=From:To:Cc:Subject:Date:From; b=tBWY7HWoEeDsN8ro6ynS6nRO+3hc6hpaNOGxUWyLWGEY1MVgX15VzWaI7WldmY/7S t5+4c74K8LaEX9fk93xpTQAU1jsu3D4iq1WVezNuqq6I37Qra5OkWTTou4SBYNaGzH 6bx05RjToo604rwAbqX8iNqhSh1kVPeQTSuWHJURz18AZCP1wSlxTogL1pLZyuZJbR t0MPTxF2UMgKMHWqZYTxZWXy3YBs7MeHFrfrUMzLFqrWjuJjBpsSbgjvbTNKu2F99a +mDW+EiOclYyNQk8CxD/ychwFDihe8jOsqxypyShZWxN7mCqRNt8Y3LJe1GSO0NL1j TMYbEYhj7NeFg== From: Ard Biesheuvel To: linux-arm-kernel@lists.infradead.org Cc: Ard Biesheuvel , Mark Rutland , Quentin Perret , Catalin Marinas , James Morse , Will Deacon , Frederic Weisbecker , Peter Zijlstra , Kees Cook Subject: [PATCH v5 0/2] static call support for arm64 Date: Thu, 28 Oct 2021 01:34:07 +0200 Message-Id: <20211027233409.902331-1-ardb@kernel.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1118; h=from:subject; bh=5PrObgLTQDPNHVs1TLPvDQcmc95ZM4YyqFVRPifbWis=; b=owEB7QES/pANAwAKAcNPIjmS2Y8kAcsmYgBheeHs27vCg/uBbBrp4P7yMcVpmAd5olyFtlrKyOGY fK42xKyJAbMEAAEKAB0WIQT72WJ8QGnJQhU3VynDTyI5ktmPJAUCYXnh7AAKCRDDTyI5ktmPJAk4C/ 9NTLcxEMTFJ0V51S1UGXM87p50p+micipFk/ZI/dJSFI2ISHW7TGgGLIP4FAyYFO7dj6QGMhsc5L6s MNEVdxX3cKpu0dHDA0cF0dqfiGOXvh+V8fNot010OWANUB34z11IFztVHik/Y8Ono8GWbKCAY41/3w X4Re73e7/pZCxzouYoyuCbYodvWCq+NzJb9ehJiRWDPssGI4CEcjiHlAIGvBBzhTsnx8LTnWu55IdW SuE60BUMrF0rsZfnJK1DA2cj0NBFMpyEylFkrk53hQjPF7mOviOdjANiAzb96X5Kg2htu4PnKhBxri lGOYUPlquS3TOL/rIejQN9DU4ygpMgoex8C7JYvvZZDlk+4SvaTZMsh7xElmhH6vHhSV65BjAuOpfK sHkb5FTq7wxzZpmVNfibqbA/NByBG1/646Qch6g5iTVRMNFa0c6Xo8XciKTzkMm50nizEZAWyovSgm zbDEH4pBLsCda09qpJKBO7H2pDlMxe+BIo1+zQHgTVats= X-Developer-Key: i=ardb@kernel.org; a=openpgp; fpr=F43D03328115A198C90016883D200E9CA6329909 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211027_163418_670212_2F8DC3D7 X-CRM114-Status: UNSURE ( 9.17 ) 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 Changes since v4: - add preparatory patch to address generic CFI/LTO issues with static calls - add comment to patch #2 describing the trampoline layout - add handling of Clang CFI jump table entries - add PeterZ's ack to patch #2 Cc: Mark Rutland Cc: Quentin Perret Cc: Catalin Marinas Cc: James Morse Cc: Will Deacon Cc: Frederic Weisbecker Cc: Peter Zijlstra Cc: Kees Cook Ard Biesheuvel (2): static_call: force symbol references with external linkage for CFI/LTO arm64: implement support for static call trampolines arch/arm64/Kconfig | 1 + arch/arm64/include/asm/static_call.h | 40 +++++++++++ arch/arm64/kernel/patching.c | 72 +++++++++++++++++++- arch/arm64/kernel/vmlinux.lds.S | 1 + include/linux/static_call.h | 21 +++++- 5 files changed, 130 insertions(+), 5 deletions(-) create mode 100644 arch/arm64/include/asm/static_call.h -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel