From: Will Deacon <will@kernel.org>
To: Joey Gouly <joey.gouly@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>,
Marc Zyngier <maz@kernel.org>,
nd@arm.com, linux-arm-kernel@lists.infradead.org,
Catalin Marinas <catalin.marinas@arm.com>
Subject: Re: [PATCH v1] KVM: arm64: make the hyp vector table entries local
Date: Tue, 23 Feb 2021 10:47:56 +0000 [thread overview]
Message-ID: <20210223104756.GA10425@willie-the-truck> (raw)
In-Reply-To: <20210222164956.43514-1-joey.gouly@arm.com>
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 <joey.gouly@arm.com>
> ---
> 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@kernel.org>
Will
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2021-02-23 10:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-22 16:49 [PATCH v1] KVM: arm64: make the hyp vector table entries local Joey Gouly
2021-02-23 10:47 ` Will Deacon [this message]
2021-02-24 9:44 ` Marc Zyngier
2021-02-24 12:36 ` Will Deacon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210223104756.GA10425@willie-the-truck \
--to=will@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=joey.gouly@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=mark.rutland@arm.com \
--cc=maz@kernel.org \
--cc=nd@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox