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 X-Spam-Level: X-Spam-Status: No, score=-15.5 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_SANE_1 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 B6A81C433DB for ; Tue, 23 Feb 2021 10:49:27 +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 50C8864DE8 for ; Tue, 23 Feb 2021 10:49:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 50C8864DE8 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:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject: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=QHvhvvmUcBA4W3WCeEU1scj4Kdpfe3sPFCIQSqzlsdc=; b=m6MmQufIv/TuKZ8jfzYP1wWkc GudhSSQz8DyDR1QamwQiDYC5P3V82y9WKiXiYqTSPXRxbLCCXWs464TPqccbs4mENLUlPtinXfbWB Lguc20n9rZ3EXvwSGdQd4+osSejIWdLiXFPC6ycfbai9TB25yPrAC2oULrxwOYWjojKGVX+GcG+zW L52vuSYmtYtwHTWOrscqK+CMjnpBe2qaftCZ5fpyLW/qafebFtte1GOZf4Ga0HpK/eS3QNFLC4DwL +mW2+4jbhSKZkKM+h5ujCoPuHdACjocc76kW5Wul4shv7NN3342dfnYj6yfbpow4j18d5d/Nm+JBb hYtNhTHRQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lEVEa-0002ZW-Ik; Tue, 23 Feb 2021 10:48:04 +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 1lEVEX-0002Z3-UL for linux-arm-kernel@lists.infradead.org; Tue, 23 Feb 2021 10:48:02 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id B84A064DF5; Tue, 23 Feb 2021 10:47:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614077280; bh=iw4PtbipX1aFjFJI6+x5zCr0rnseV0taIMnmqgYxT3g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HiOasHkL6zeKFxU2yNaeTyyVdYdD25GaBJhqAU45vG84v/XcEu1gF1LlrZdGGS4EB TvYORheoucCGsr6YD/f1zM9qlSk56PYRAkp6tcBAW3OaiGwunu6pDRNUqhZ9pwQm7+ JD3DQuf8sUzizEuSr9IcbSjJ+Rf3FoRlFKdFkw3PeprVm0V1e7Zw+CRAxVgsJIRelI cwxsgivKftdTq/QjmCRDUviE1J8NB9WjoA7B7Iz7xrv57ms7WAVo4pZ3zuU3bI9T1z T5z9r8MkXBvPQCcvZnnA+EQT41zAobwQv7fvJHZjQarlTlenv+4Q1wz05u0a6x8dm4 s6JIBlEhsd5fw== Date: Tue, 23 Feb 2021 10:47:56 +0000 From: Will Deacon To: Joey Gouly Subject: Re: [PATCH v1] KVM: arm64: make the hyp vector table entries local Message-ID: <20210223104756.GA10425@willie-the-truck> References: <20210222164956.43514-1-joey.gouly@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210222164956.43514-1-joey.gouly@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210223_054802_072031_35FCCA34 X-CRM114-Status: GOOD ( 13.50 ) 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 , Marc Zyngier , nd@arm.com, linux-arm-kernel@lists.infradead.org, Catalin Marinas 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 22, 2021 at 04:49:56PM +0000, Joey Gouly wrote: > Make the hyp vector table entries local functions so they > are not accidentally referred to outside of this file. > > Using SYM_CODE_START_LOCAL matches the other vector tables (in hyp-stub.S, > hibernate-asm.S and entry.S) > > Signed-off-by: Joey Gouly > --- > arch/arm64/kvm/hyp/hyp-entry.S | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm64/kvm/hyp/hyp-entry.S b/arch/arm64/kvm/hyp/hyp-entry.S > index d179056e1af8..5f49df4ffdd8 100644 > --- a/arch/arm64/kvm/hyp/hyp-entry.S > +++ b/arch/arm64/kvm/hyp/hyp-entry.S > @@ -119,7 +119,7 @@ el2_error: > > .macro invalid_vector label, target = __guest_exit_panic > .align 2 > -SYM_CODE_START(\label) > +SYM_CODE_START_LOCAL(\label) > b \target > SYM_CODE_END(\label) > .endm Acked-by: Will Deacon Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel