Message ID | 20240417-arm32-cfi-v6-2-6486385eb136@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 E886DC04FF9 for <linux-arm-kernel@archiver.kernel.org>; Wed, 17 Apr 2024 08:31:28 +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:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=1lERpYS8ac+IFHXZDhuYafpNWuSAzCnHwP5KbIjLudM=; b=Cp7WgNsFAxsnzy LW6KOeeN2x4o9PLb3j/Oh1Wya4dyXS85xB1enl+pewD19WGmTCk5a1yTBXWgSy4fpgtnTDe/U6/XG JRIC39OzHLzUwGluJPYtuAcWtd2Oe7vQjnB9y2uCSC0+nLeCzigiyN25yqreTl2UcXDfqh3Cq7B8W Z9Vp/K62k8v3iy6Tn5r1j2yPx0WbaSNzr1TLyns6jdhfzITom+5PX5roB5lAikNOsS85+HAtF6ICm 4gVGT/jiL2l604eZBjqK9RenzlV/U0oZEEOioM341OI3KkE13rysngInPLhv9x56TG56GKDJv6ErI KoAb8Azb+aIlrZFTzR6g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rx0hE-0000000FDOJ-32Tu; Wed, 17 Apr 2024 08:31:12 +0000 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rx0h6-0000000FDJF-1e4E for linux-arm-kernel@lists.infradead.org; Wed, 17 Apr 2024 08:31:06 +0000 Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-518a56cdbcfso6348351e87.2 for <linux-arm-kernel@lists.infradead.org>; Wed, 17 Apr 2024 01:31:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713342661; x=1713947461; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=B8O1l9DG1nr6tC/T09XllcDqc2JZrTHVCm6s1PJNYaY=; b=n4uZ8yyiKLZwrMjIk91/6XWlLuOllL/Hq+CRROQfJo77LiTS1AhCd9iP2aTz+TiA9O 31mrHppABrsVrkCW2ejN6/1VIEzmMNX1Xi8eZz++ODRcpYs9ihejSXb7LWANkZfl+Mj1 6VInFHAlGbMmnMVUEmMcIwu/rQW4DMlu97b5oAmz7rYgmjnxeRwocKB8bOq8662qI130 Xl3Z1srmgQp6F/BEkTf5T50yYhTowKL+nqf6lYUw2MaSytXM4/0itMuBwnyNiyo1YU+f LGugTXE2jw+2TKRY/EJj2lNJmCTeG+hVEBKIIr/0iihfGHf2tisWj6I4O4B0ZldutQUn S36w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713342661; x=1713947461; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=B8O1l9DG1nr6tC/T09XllcDqc2JZrTHVCm6s1PJNYaY=; b=A9Ysvv2VEQxtmlS4ow2SlvIeKE6/yxFBMZXJNRYuhViwk7rKQBwtv4g9ItgZ5MKAWa PzI6ejSJxQ5zg58qdaRbHoYT8H3tKF+rFcyNhsMP5VKxFqRphFAYWtdWkaozjsNVp7me XEdFuk0+gZU58zdhXQNSeJk6X39/Y2zjANdTDKdPQkOhz4wphlwiQfBsnXIomfo/DWdQ Vvc/IJE//lY5LUD/KjldjFu0s3jAV/wQFQC7fKuNhes67vERpUswunMa7j61vcb1+54o wthX6nVt6o248jXZHaA3WqS6UVaMraSzA8D+Qea3Nk0x3DYUbZvvpVNjHNlOVlJq4Abp BpKg== X-Gm-Message-State: AOJu0Yzcwu/4UFr3xW3A50suMIOJnZmeY/NcMwB/y0ScWOS9iF9fxl0K hNuyeznQirF1dBuJTwRlb4XHyzUlLDBetPy8MaewU5wgUyy9r6SdD0EtMSWSuQQ= X-Google-Smtp-Source: AGHT+IGUnZrEIHfBBbG4EyQF/+1ZV+ejt2IYqs6beIEUlrR/J6flJei6ybRM4DwGnqlKSCUa7KsxEg== X-Received: by 2002:a05:6512:2c9b:b0:518:c382:3216 with SMTP id dw27-20020a0565122c9b00b00518c3823216mr8556361lfb.34.1713342661519; Wed, 17 Apr 2024 01:31:01 -0700 (PDT) Received: from [192.168.1.140] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id d10-20020ac24c8a000000b00516d2489f16sm1873151lfl.260.2024.04.17.01.30.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 01:30:59 -0700 (PDT) From: Linus Walleij <linus.walleij@linaro.org> Date: Wed, 17 Apr 2024 10:30:51 +0200 Subject: [PATCH v6 02/11] ARM: ftrace: Define ftrace_stub_graph MIME-Version: 1.0 Message-Id: <20240417-arm32-cfi-v6-2-6486385eb136@linaro.org> References: <20240417-arm32-cfi-v6-0-6486385eb136@linaro.org> In-Reply-To: <20240417-arm32-cfi-v6-0-6486385eb136@linaro.org> To: Russell King <linux@armlinux.org.uk>, Sami Tolvanen <samitolvanen@google.com>, Kees Cook <keescook@chromium.org>, Nathan Chancellor <nathan@kernel.org>, Nick Desaulniers <ndesaulniers@google.com>, Ard Biesheuvel <ardb@kernel.org>, Arnd Bergmann <arnd@arndb.de> Cc: linux-arm-kernel@lists.infradead.org, llvm@lists.linux.dev, Linus Walleij <linus.walleij@linaro.org> X-Mailer: b4 0.13.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240417_013104_530386_4BDDF605 X-CRM114-Status: GOOD ( 10.20 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
CFI for ARM32 using LLVM
|
expand
|
diff --git a/arch/arm/kernel/entry-ftrace.S b/arch/arm/kernel/entry-ftrace.S index 3e7bcaca5e07..bc598e3d8dd2 100644 --- a/arch/arm/kernel/entry-ftrace.S +++ b/arch/arm/kernel/entry-ftrace.S @@ -271,6 +271,10 @@ ENTRY(ftrace_stub) ret lr ENDPROC(ftrace_stub) +ENTRY(ftrace_stub_graph) + ret lr +ENDPROC(ftrace_stub_graph) + #ifdef CONFIG_DYNAMIC_FTRACE __INIT