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 C9ABEC433F5 for ; Mon, 14 Feb 2022 12:56:02 +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=Wo9rXj70qkTmwyNRkdByKoSscof1YUyphImZQNszyaE=; b=BmhhcPntHJAwTl u6KXrvJUXrjo73hclWMvtS2eZmPLBFFC7rFD06QQA7DQVG1qwf2tlY/quxsh41VQtlt/Lyje4g/ly WAuAd6ACQ2/itkhLEIjFVQCWRuRUTUnH0OVYSO6ey0Kx7XDp0QlU++Y9FVum8Iw/VXt6NTFOjfQk8 9jv/TPLxUf2ZnKrkkpYuJVEfbnmUIvmDdTO8epSLmZc+vUDVeKEJkuLMZ6zTRqO6hLctmrvPX4hcI w+X3twYwkehGDlFIlurR768mZDZECg45g4r4+ZJSBZP9+puPJ004PTPsYvZSXCdHvIrtQ+ctjVviz m+IpKKpihJedQJTX2YRw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nJasD-00FHKV-54; Mon, 14 Feb 2022 12:54:34 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nJaeI-00FCAB-A3 for linux-arm-kernel@lists.infradead.org; Mon, 14 Feb 2022 12:40:12 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 09F5861387; Mon, 14 Feb 2022 12:40:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9BEA7C340E9; Mon, 14 Feb 2022 12:40:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1644842408; bh=W6xzbXlhfh8GDuOj2o8aFtlqgn09SaArCNxnqOp14PA=; h=From:To:Cc:Subject:Date:From; b=JBSJdfeRNJxJLmr8niw55loEdobqe703ITbta5BsQix4tE32rSN6zzmv6BIx47KWj aakh7SciDpR2bzScGHw7u7VOr5hgHYftJca6xeK0s4f+co8aapQ05cyO6PAqDbHyUN 9+hpBCjdW+l0zIJlL84K9a+zFJqrtYNsJ3Nc7PsCyF4XB618axup0b52em58eKMzAL s5Jfk2PxBuTjA8k4OWv6gO6yycW8YDc55mO7Jf4Li9JFHm11/qhG3wtpvOuqfekRoy D13Pz9WzOS0UuhXaU44xpZY27lhAba6gvVUW9OkLwbArqBe7XpBE9Vx04kYlUyRjGb 74/tV1S4haHxg== From: Ard Biesheuvel To: linux+pull@armlinux.org.uk Cc: linux-arm-kernel@lists.infradead.org, Ard Biesheuvel Subject: [GIT PULL] ARM ftrace fixes for Thumb2, Clang and the EABI unwinder Date: Mon, 14 Feb 2022 13:39:56 +0100 Message-Id: <20220214123956.3713-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=2872; h=from:subject; bh=W6xzbXlhfh8GDuOj2o8aFtlqgn09SaArCNxnqOp14PA=; b=owEB7QES/pANAwAKAcNPIjmS2Y8kAcsmYgBiCk2b54LyzYZRj6EsqRcPaND7biHhepJJ24LMIAW4 h0msEs2JAbMEAAEKAB0WIQT72WJ8QGnJQhU3VynDTyI5ktmPJAUCYgpNmwAKCRDDTyI5ktmPJHr1C/ wKPV2gxiSG1Fd7sGthiB+tdz6VDdq+KvUmuLGH4Tssk+8Scqsss8MzdaRqc5HiMas8dNb8mbPXSQjQ 439cU5iZXTx4WHR4CBPhJwH8vO5zmSJZPPJUMw7gL3ALUDFeF1Lmk9tvuh+1AgCjCTRNeY8yg6MbNp E4ZJqZYejfDmjWe3IAz7ooA/rA8Xw42UtJlCu6Jp2tqRd8cnfF54n5wg+OpC4UemSLzBYQ9bDpwHf7 yW4iNi1JLfH4i6h07x9OUk1ea9sQZgh3W6TdQvNakHL8nAF9sW4n8RY4b6/eMwTVFPSDXHcUj1Mby1 E+Bx8nB+SC4tRMKGA6FvRg6PT4ovGJQFIeyrXXpRTM/dizPBAjwy7WTaCBRvT3bgjvVqC0B6t3u86y fQ2/9Sh3A0fkpzwnkkTJCNbuk0C+lGmILRobG8FgaJnztA+ENzdw43DpLd89speMRxrKm517swHHTG qoV5h27+T+FmxM9HROcuXqPeTzIJXMMMazbYlQjGEiglU= 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-20220214_044010_467773_4E238D63 X-CRM114-Status: GOOD ( 11.61 ) 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 The following changes since commit 4d5a643e738c6b6ccc1a05f6938643c3f08df29b: ARM: make get_current() and __my_cpu_offset() __always_inline (2022-01-31 16:06:35 +0100) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git tags/arm-ftrace-for-rmk for you to fetch changes up to d6800ca73a7d325627c045c16d7cfdc7465f4333: Revert "ARM: 9144/1: forbid ftrace with clang and thumb2_kernel" (2022-02-10 09:55:05 +0100) ---------------------------------------------------------------- ARM: ftrace fixes and cleanups Make all flavors of ftrace available on all builds, regardless of ISA choice, unwinder choice or compiler: - use ADD not POP where possible - fix a couple of Thumb2 related issues - enable HAVE_FUNCTION_GRAPH_FP_TEST for robustness - enable the graph tracer with the EABI unwinder - avoid clobbering frame pointer registers to make Clang happy Link: https://lore.kernel.org/linux-arm-kernel/20220203082204.1176734-1-ardb@kernel.org/ ---------------------------------------------------------------- Ard Biesheuvel (12): ARM: ftrace: ensure that ADR takes the Thumb bit into account ARM: ftrace: use ADD not POP to counter PUSH at entry ARM: ftrace: use trampolines to keep .init.text in branching range ARM: ftrace: avoid redundant loads or clobbering IP ARM: ftrace: avoid unnecessary literal loads ARM: ftrace: enable HAVE_FUNCTION_GRAPH_FP_TEST ARM: unwind: track location of LR value in stack frame ARM: ftrace: enable the graph tracer with the EABI unwinder ARM: kprobes: treat R7 as the frame pointer register in Thumb2 builds ARM: cacheflush: avoid clobbering the frame pointer ARM: mach-bcm: disable ftrace in SMC invocation routines Revert "ARM: 9144/1: forbid ftrace with clang and thumb2_kernel" Russell King (Oracle) (1): Merge tag 'arm-vmap-stacks-v6' of git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux into devel-stable arch/arm/Kconfig | 4 +- arch/arm/Kconfig.debug | 2 +- arch/arm/include/asm/cacheflush.h | 12 +-- arch/arm/include/asm/ftrace.h | 20 +---- arch/arm/include/asm/stacktrace.h | 3 + arch/arm/kernel/Makefile | 6 +- arch/arm/kernel/entry-ftrace.S | 128 +++++++++++++++++-------------- arch/arm/kernel/ftrace.c | 62 +++++++++++++-- arch/arm/kernel/unwind.c | 7 +- arch/arm/mach-bcm/Makefile | 1 + arch/arm/mach-exynos/mcpm-exynos.c | 6 +- arch/arm/mm/cache-v7.S | 40 +++++----- arch/arm/probes/kprobes/actions-common.c | 8 +- arch/arm/probes/kprobes/actions-thumb.c | 16 +++- 14 files changed, 182 insertions(+), 133 deletions(-) _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel