From patchwork Wed Nov 18 08:19:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 11914175 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5CF67C56202 for ; Wed, 18 Nov 2020 08:20:08 +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 D30F3221F1 for ; Wed, 18 Nov 2020 08:20:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="kvOJMGK4"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="1UNrNCBX" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D30F3221F1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.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:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id: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:In-Reply-To:References:List-Owner; bh=R20YcPKwI6sueYAOJ8dMHa+2hbf+jbqgdoxOH1wue+M=; b=kvOJMGK4Fe9tml2ChUB8s+6fkc BWbd9pYWGEWTAr8fcnM29hAHcrgm0oAhCOGsTkE4CXPXu3NAM+r8orlPo326E66aEFcrUr8Rr/VIS OBod3gzcvUuL1oa1rq4tmSy5qL2v/1IuInNEMCjGuTSz/vM0QaG50LlBtKIfIvQPSLJR6ODJsPZdi GgZlT/3QF4nSTDZhJNXt7CsXE0T+xgA9+2aFWJ7C1UI74LBMLZuywNESS3TUGfqzUeTSW0O4GtO9/ h6NssDX+koDRHWGGLQP703W9eqYLHypTaM8ScP+/okLF3PlWDM1sV2k98aEhNWwxvx57BsxHfItKJ pSBy1/Xg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kfIgh-0007yt-1y; Wed, 18 Nov 2020 08:19:35 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kfIge-0007yY-VC for linux-arm-kernel@lists.infradead.org; Wed, 18 Nov 2020 08:19:33 +0000 Received: from e123331-lin.nice.arm.com (lfbn-nic-1-188-42.w2-15.abo.wanadoo.fr [2.15.37.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4252120782; Wed, 18 Nov 2020 08:19:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605687571; bh=TbvuHA2MpirMy3CIcnF9EBFVqV19R8xScdKAqIe0QoI=; h=From:To:Cc:Subject:Date:From; b=1UNrNCBX4ldB4a5jh/pwpoiMZkYNhUUhTkSeE3j90shNJ2degPGB8WfEllYBgrw3+ fcUlrbibSVRM5dlifYexw4zhHRt/Mjs/E//467MwFcJSfu0GpUUUa2rld6HWX2yEey /9tIdSa5GMVuBWKm4XkFQ9NP9anuwFl8bmT3whcs= From: Ard Biesheuvel To: linux@armlinux.org.uk Subject: [PATCH] ARM: hyp-stub: remove unused .L__boot_cpu_mode_offset symbol Date: Wed, 18 Nov 2020 09:19:15 +0100 Message-Id: <20201118081915.907-1-ardb@kernel.org> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201118_031933_085399_04C5CBD0 X-CRM114-Status: UNSURE ( 9.81 ) X-CRM114-Notice: Please train this message. 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: linus.walleij@linaro.org, Ard Biesheuvel , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Commit aaac3733171fca94 ("ARM: kvm: replace open coded VA->PA calculations with adr_l call") removed all uses of .L__boot_cpu_mode_offset, so there is no longer a need to define it. Signed-off-by: Ard Biesheuvel Reviewed-by: Linus Walleij --- arch/arm/kernel/hyp-stub.S | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/arm/kernel/hyp-stub.S b/arch/arm/kernel/hyp-stub.S index 103d0bdb2b7e..b699b22a4db1 100644 --- a/arch/arm/kernel/hyp-stub.S +++ b/arch/arm/kernel/hyp-stub.S @@ -225,12 +225,6 @@ ENTRY(__hyp_soft_restart) ret lr ENDPROC(__hyp_soft_restart) -#ifndef ZIMAGE -.align 2 -.L__boot_cpu_mode_offset: - .long __boot_cpu_mode - . -#endif - .align 5 ENTRY(__hyp_stub_vectors) __hyp_stub_reset: W(b) .