From patchwork Fri Jul 31 23:08:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kees Cook X-Patchwork-Id: 11695587 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4C254161F for ; Fri, 31 Jul 2020 23:13:19 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 0051A205CB for ; Fri, 31 Jul 2020 23:13:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="cq6pjeST"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="frsRNHX4"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="klOQguEy" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0051A205CB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=4Riqd+Fl9IQTFPJY+2tqtPMcsxCiTdjlQmxGMvC9NuA=; b=cq6pjeSTZJM9WQn9l2j6hApSN eONfZZB5esvOS8IU968bNnj2RPGXt5Ktt8ZgBcjEglW65D3YO6TEFoaFrESuqxPBcJWJUtSthSISZ /6HwGHjkY66M7Vi3srmMTny6aEbRJ1BFy8g1Ox0ki38rgkXG4GR1e2/PGsAW71zHIaTs4EUMVTTZk UQoC+LD+owZ7+PyBfntldjF5TOlxD3vW+/OWL8k8XwOnmM/YlbT3vAh4KdpcfuNE7xsH7bt+vQWY8 nWuDCjpy6RIcZirS/GqIQKkZ1b5GQajsPFbL/ZzCBSBU6j8716L8ZzlK6dTw0XL1ez6Fwt/ASHkr3 6PgXeQmAA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k1eAq-0000Wi-Ug; Fri, 31 Jul 2020 23:10:49 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k1e93-0008G1-W9 for linux-arm-kernel@merlin.infradead.org; Fri, 31 Jul 2020 23:08:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=Y6H7F3yYvyF+nG4ZythWO1q4A4EGexkc0hsQxsFmb9Y=; b=frsRNHX4SiCTvsoRjO2VirbO0T xQ4Mp/chhjzByw6qYCqiLFlLfNuNULzSI4OJcL7fCv5YyacmBBrx+3WYQ1+F5GJs5sU6t9u2FpIzZ f+1rkN3EoMyL1kPsf2FxL157VtjB4sWlbl6N/TyWcN7suNG0qUwa3aQSoOidbBbIf/9B0zUVIPgHS 3ZOpDR4tIcm7sHWCVQatNGc7IDGSihj3Le2mGL2PgzqSH3ZnPUretc5mMNidZMWZ1rF1J01n6gVNj dpbqw0UbUBeT62pkdzY/9Dhr7pettET7+HNs7+cMj1t1vvPDjxFXvPecqavezFqaaYzxMQk5duu4F FxxmaswA==; Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k1e8s-0000Yu-N2 for linux-arm-kernel@lists.infradead.org; Fri, 31 Jul 2020 23:08:55 +0000 Received: by mail-pg1-x541.google.com with SMTP id z5so16793042pgb.6 for ; Fri, 31 Jul 2020 16:08:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Y6H7F3yYvyF+nG4ZythWO1q4A4EGexkc0hsQxsFmb9Y=; b=klOQguEyjL+W3pS7h757dA97Jss1XwCr9uiod+TUnQnifo+W8HZxqnhpghrEPuhfhz orOov5palRtEjwarVacfnfixNz/3aBq8qsEHACSBEYKMfnct6CzEpn+hdJxpAimvvV6n TfN5kHYecvHl4EkWHkAnabuO4KrAoCTvFJ6U4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Y6H7F3yYvyF+nG4ZythWO1q4A4EGexkc0hsQxsFmb9Y=; b=NcRPWYTFwQVZqJWFc2qNonUoaPmWsdPPYtKDp65WLUJMcok1CB63lyjC+Z4laYdqC6 Oi9/NXK8vkgp0ICaG76ZZNbWHZHX5xZKIEtrlQvsah6znqoSov+a8B6zYIReWlIW0GVX 2hAjQydr23qxK9swzYAzwRkF9en9KDptrSv7FHxzOd6I4bUCu2bSCRos/D+mA0h73DVt 3pcNPnu/ck5p1NDm8YCK/rJbrUr8V2aDUh4AwczCS141kdPUr7uLqPJoh06f39dDJ2br i8woZEEpVDVL+3Hzf2/atf1Asd88Ri/SQZs3JnFhtrhjY9+nNo+nfBX5p+CrYLMtLijM bF9w== X-Gm-Message-State: AOAM533a0yVqwovVITTkyhp2LbI3GCmgpCdPS0ryMENpOjua/fKSYJ0x krkGM1jjgTV6ZBjzpxPa762gVA== X-Google-Smtp-Source: ABdhPJz/K7Q0NhIe2TN23D0lBoo8o7R9UHhN6RM4BLn3KCwsvDLXrhht2x1eWmeoEfDbj/ppP75PXg== X-Received: by 2002:a65:408b:: with SMTP id t11mr5660099pgp.407.1596236922651; Fri, 31 Jul 2020 16:08:42 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id m31sm10905376pjb.52.2020.07.31.16.08.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Jul 2020 16:08:42 -0700 (PDT) From: Kees Cook To: Thomas Gleixner , Will Deacon Subject: [PATCH v5 16/36] arm64/kernel: Remove needless Call Frame Information annotations Date: Fri, 31 Jul 2020 16:08:00 -0700 Message-Id: <20200731230820.1742553-17-keescook@chromium.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200731230820.1742553-1-keescook@chromium.org> References: <20200731230820.1742553-1-keescook@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200801_000848_032410_4B2B9504 X-CRM114-Status: GOOD ( 11.78 ) X-Spam-Score: -2.1 (--) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-2.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:541 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.0 DKIMWL_WL_HIGH DKIMwl.org - Whitelisted High sender X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , linux-arch@vger.kernel.org, linux-efi@vger.kernel.org, Kees Cook , Arnd Bergmann , Catalin Marinas , Masahiro Yamada , x86@kernel.org, Nick Desaulniers , Russell King , linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com, Arvind Sankar , Ingo Molnar , James Morse , Nathan Chancellor , Borislav Petkov , Peter Collingbourne , Ard Biesheuvel , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Remove last instance of an .eh_frame section by removing the needless Call Frame Information annotations which were likely leftovers from 32-bit arm. Suggested-by: Ard Biesheuvel Acked-by: Will Deacon Signed-off-by: Kees Cook --- arch/arm64/kernel/smccc-call.S | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/kernel/smccc-call.S b/arch/arm64/kernel/smccc-call.S index 1f93809528a4..d62447964ed9 100644 --- a/arch/arm64/kernel/smccc-call.S +++ b/arch/arm64/kernel/smccc-call.S @@ -9,7 +9,6 @@ #include .macro SMCCC instr - .cfi_startproc \instr #0 ldr x4, [sp] stp x0, x1, [x4, #ARM_SMCCC_RES_X0_OFFS] @@ -21,7 +20,6 @@ b.ne 1f str x6, [x4, ARM_SMCCC_QUIRK_STATE_OFFS] 1: ret - .cfi_endproc .endm /*