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 61F6EC433EF for ; Tue, 25 Jan 2022 15:45:45 +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=i8M67nlX2qooeVYtt5tF2AzqVG9fONIEuAGiynYZNoo=; b=0M+rXsyq/WjeVT WiVWNsgFizqK1GUB8XncBoWm3Di9sBI1SxSvo60oNVRFyyrBInoXSZMgf/gAa+1wYY7yPZHrfX2tN RNHvQDF2kONwcdIUlZbcjZRqbAmMTXB1Ei3AUoydWse6Jx2zzfgno3tTJgd1/RXBFe1Dy+cbeHk1l T69veG7Eib3wyy4bVmwxze/HbzlRi9y4D+BnVB6XpL9GMR5cqhKXjn2fzdqQESamgkf+u8n4F36Jg /JFeuSesgMCk5GLRf1ohaNDTIE282aFJTs3OFCWA6iQfY9e29slqQX5gXeVoCIVbCDJ5+eFXbrFm4 DF38DGai1oPokFWr3iIA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nCNzF-008Rbx-CI; Tue, 25 Jan 2022 15:44:02 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nCNsg-008Q4W-Bp for linux-arm-kernel@lists.infradead.org; Tue, 25 Jan 2022 15:37:15 +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 E2414616C0; Tue, 25 Jan 2022 15:37:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E6D97C340E0; Tue, 25 Jan 2022 15:37:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643125033; bh=VEZenmfRG34jQoj8XOQBdZWHC2Rm+I28BGql59Ik53s=; h=From:To:Cc:Subject:Date:From; b=lBq+3nuqgakCOw6UQX8egO/j9y4vNYdmluXcNCxKkWxd6YypSxqPrVgoOwQ7HY5FK nO/m4Yw5jaGudnrsc8WErSNXrLcF6YR2fZtEMi3NHpCmBUWQicUXO/HHINW/gJbvgx Arlj+sht8K+46/8EPL13ehVypBLwrWG6Nxv/x2qY3j84BKBHlAH3lQifgKOsF1b7/G Ke7+XJniTmIhkykr9qxNV0fLldyXjAT5kjtrdY7HXAGZTCu8buYARn3tRXZtKMvi3i mCQymrEi1/7SdFa9hy+DGU/v61e35CXi5A04vKg1Rb/8HuDI55QDUx5qf9Zo6UsvXy otUGdLMQGWy/g== From: Ard Biesheuvel To: linux@armlinux.org.uk, linux-arm-kernel@lists.infradead.org Cc: Ard Biesheuvel , Arnd Bergmann , Linus Walleij , Nick Desaulniers Subject: [PATCH 0/8] ARM: ftrace fixes and cleanups Date: Tue, 25 Jan 2022 16:36:48 +0100 Message-Id: <20220125153656.1802079-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=1261; h=from:subject; bh=VEZenmfRG34jQoj8XOQBdZWHC2Rm+I28BGql59Ik53s=; b=owEB7QES/pANAwAKAcNPIjmS2Y8kAcsmYgBh8BkInJ9dld/wT5dMQxex9AC3nhVHOBIfxPkZ6Icb x4RfOuyJAbMEAAEKAB0WIQT72WJ8QGnJQhU3VynDTyI5ktmPJAUCYfAZCAAKCRDDTyI5ktmPJHNwC/ 91w5Ec8SqUWElUiLTeXlxz7r/SVCM03lUYF3kG8BwxlzkfM+EGG/HXBXVp++B8d0YvhUVCnjhoBcEk cJztcyTI4m7Qk9jN+kJBWNiTB42NE2Rxj01qu2Qek73dY98sEZFY87iO5pT82sQn94luEc9Th6SYlr FyCeT9rZF7rp7/NkKNk0oyIoEAxmxthri7nysq0FJ9MMwJEhKBmNSYG5/6UM6pyiFghpMAGCQUJ1Rh ByffDNjTg8uk5KX/g8xPz8Kq3o3a9AXROeS95EKE50MwaK/7lihk41hzIQran1H59+P2g5CuYSogi/ tQ6MOR+/crM76I3/c18gVeo36iRzI2+kwfzTC1eOR0WG3+C469mefeaIBu2IzLJPQxM+mx8z0V0eiQ BgdhzmeIr1lSgwZaqYhoLe6W2I7RZOKCRpn/PAJ86hvNxb9WqSvmBLWBw9h++7XWEOtlVp17c52S9I DFCgTn4/JdBSu1Oi5GDHaHLVkmDMgd5bKErwLTK1XJN4c= 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-20220125_073714_489606_F84E1858 X-CRM114-Status: GOOD ( 12.06 ) 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 This series addresses a number of issues in the ARM support code for ftrace, mostly related to Thumb2 but affecting other configurations as well. Cc: Russell King Cc: Arnd Bergmann Cc: Linus Walleij Cc: Nick Desaulniers Ard Biesheuvel (8): ARM: ftrace: ensure that ADR take 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 arch/arm/Kconfig | 2 +- arch/arm/Kconfig.debug | 2 +- arch/arm/include/asm/ftrace.h | 20 +-- arch/arm/include/asm/stacktrace.h | 2 + arch/arm/kernel/Makefile | 6 +- arch/arm/kernel/entry-ftrace.S | 128 +++++++++++--------- arch/arm/kernel/ftrace.c | 47 ++++++- arch/arm/kernel/unwind.c | 7 +- 8 files changed, 125 insertions(+), 89 deletions(-) -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel