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 7FB20C433FE for ; Mon, 28 Feb 2022 14:16:41 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=06HT7BgzMLhCpOlK8L0HUMqLiyKyqHLPd2rxWSMDcTw=; b=0qqnA08sJtArCr om94lOC4ecsBHZjDYGcJVk7yE3tUzf6YdMtFoRGWl9toM5Wlq1roDws+cwVIpXSCgmXSiIe1N/Sbg YoU/lvquQ8FRXXbs429moXBkb7rai32azn4H+bejgXRSzfIT1rHYfpxvNTbVnTI4y0+y88fzruHh2 4NWXU8cAk6XMlB+yiGl7WzcSC37mpKQlbNGeCKKzH+BDGSNwWI9Q2BxEkeRgdcCR3ehARd2Wljh05 xxWASqOhSf6moye6IxIu6MOJ0my1rP0BSzlrhvGq6S59f1EIuv+ShihnIaXwzwnMK24i4C83rrMV6 SmRq4nZr3nLlKtGFW9+Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nOgnu-00CodP-0h; Mon, 28 Feb 2022 14:15:10 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nOggG-00CmCl-6m for linux-arm-kernel@lists.infradead.org; Mon, 28 Feb 2022 14:07:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=mT5MJM4VK2q646mnSXJJo55XOZ6mao2w26pPvOioPZk=; b=IbJntYD6CBbL+PJ9D1jjFYu0vK 2iQUgAfS/3c/fhk4TxZTDZGioxTPds1wzKoeQnowJ6TD9IWVF9r3vdOXyStitNOVk0RNCGJnRHuNT Nwod1gxFJs8+7X4dgwRMck5zGfCoaLcjA6Ls5BVm0OfEcVnemSl0dKMbQXSdQ3kmdab8N/vrKy93F whHn2Prs6XWZENRcXjunHnk57vsccY+Hi+MBT+uaeLpV3Hi75Q3h0G2bjch0Y3uAHGKyz1NdHjwVZ Ove4qLMRcPEOKBNOnnU2MPI1D1z3Tu70vG6ZerRl963zmF6//X50AGTvqDqWfhv2qTvqaoAQv59v/ AuFrZkvw==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:57560) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nOggE-0008Q2-Iy; Mon, 28 Feb 2022 14:07:14 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1nOggD-0006DD-Vm; Mon, 28 Feb 2022 14:07:13 +0000 Date: Mon, 28 Feb 2022 14:07:13 +0000 From: "Russell King (Oracle)" To: Ard Biesheuvel Cc: Linux ARM Subject: Re: [GIT PULL v2] ARM ftrace fixes for Thumb2, Clang and the EABI unwinder Message-ID: References: <20220214143735.112800-1-ardb@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220228_060716_294596_B97E32DC X-CRM114-Status: GOOD ( 21.04 ) 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 On Mon, Feb 28, 2022 at 01:46:26PM +0100, Ard Biesheuvel wrote: > On Mon, 14 Feb 2022 at 15:37, Ard Biesheuvel wrote: > > > > The following changes since commit 2fa3948244939471bfc93fa2f7cf3a1aadf79822: > > > > Merge tag 'arm-vmap-stacks-v6' of git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux into devel-stable (2022-01-31 15:26:45 +0000) > > > > 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) > > > > PRv2: use rmk's current devel-stable as the start commit > > > > ---------------------------------------------------------------- > > 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" > > > > 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(-) > > Ping? Unsurprisingly, this increases the amount of conflicts (both arch/arm/Kconfig* files) when merging it with v5.17-rc1. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel