[PATCH v4 05/13] KVM: arm64: Rename __guest_exit_panic __hyp_panic

Will Deacon will at kernel.org
Mon Jun 3 07:34:24 PDT 2024


On Wed, May 29, 2024 at 01:12:11PM +0100, Pierre-Clément Tosi wrote:
> Use a name that expresses the fact that the routine might not exit
> through the guest but will always (directly or indirectly) end up
> executing hyp_panic().
> 
> Use CPU_LR_OFFSET to clarify that the routine returns to hyp_panic().
> 
> Signed-off-by: Pierre-Clément Tosi <ptosi at google.com>
> ---
>  arch/arm64/kvm/hyp/entry.S              | 6 +++---
>  arch/arm64/kvm/hyp/hyp-entry.S          | 2 +-
>  arch/arm64/kvm/hyp/include/hyp/switch.h | 4 ++--
>  arch/arm64/kvm/hyp/nvhe/host.S          | 4 ++--
>  4 files changed, 8 insertions(+), 8 deletions(-)

Hmm, I'm not sure about this. When is __guest_exit_panic() called outside
of guest context?

Will



More information about the linux-arm-kernel mailing list