All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] KVM: arm64: Update comment for parameter rename
@ 2021-03-15 14:23 Andrew Scull
  2021-03-18 10:46 ` Will Deacon
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Scull @ 2021-03-15 14:23 UTC (permalink / raw)
  To: kvmarm; +Cc: kernel-team, maz, catalin.marinas, will

The first parameter of __hyp_do_panic() was changed, so update the
comment that's intended to explain the significance of passing zero.
This hunk previously got lost in the merge.

Fixes: c4b000c3928d ("KVM: arm64: Fix nVHE hyp panic host context restore")
Signed-off-by: Andrew Scull <ascull@google.com>
---

Applied on 5.12-rc3. The backports of the original patch contained this
hunk, and it's mainly cosmetic anyway, so no further action is needed.

---
 arch/arm64/kvm/hyp/nvhe/host.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/kvm/hyp/nvhe/host.S b/arch/arm64/kvm/hyp/nvhe/host.S
index 5d94584840cc..c419648c1d3f 100644
--- a/arch/arm64/kvm/hyp/nvhe/host.S
+++ b/arch/arm64/kvm/hyp/nvhe/host.S
@@ -152,7 +152,7 @@ SYM_FUNC_END(__hyp_do_panic)
 
 .macro invalid_host_el1_vect
 	.align 7
-	mov	x0, xzr		/* restore_host = false */
+	mov	x0, xzr		/* host_ctxt = NULL */
 	mrs	x1, spsr_el2
 	mrs	x2, elr_el2
 	mrs	x3, par_el1
-- 
2.31.0.rc2.261.g7f71774620-goog

_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] KVM: arm64: Update comment for parameter rename
  2021-03-15 14:23 [PATCH] KVM: arm64: Update comment for parameter rename Andrew Scull
@ 2021-03-18 10:46 ` Will Deacon
  0 siblings, 0 replies; 2+ messages in thread
From: Will Deacon @ 2021-03-18 10:46 UTC (permalink / raw)
  To: Andrew Scull; +Cc: catalin.marinas, maz, kernel-team, kvmarm

On Mon, Mar 15, 2021 at 02:23:11PM +0000, Andrew Scull wrote:
> The first parameter of __hyp_do_panic() was changed, so update the
> comment that's intended to explain the significance of passing zero.
> This hunk previously got lost in the merge.
> 
> Fixes: c4b000c3928d ("KVM: arm64: Fix nVHE hyp panic host context restore")
> Signed-off-by: Andrew Scull <ascull@google.com>
> ---
> 
> Applied on 5.12-rc3. The backports of the original patch contained this
> hunk, and it's mainly cosmetic anyway, so no further action is needed.
> 
> ---
>  arch/arm64/kvm/hyp/nvhe/host.S | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/kvm/hyp/nvhe/host.S b/arch/arm64/kvm/hyp/nvhe/host.S
> index 5d94584840cc..c419648c1d3f 100644
> --- a/arch/arm64/kvm/hyp/nvhe/host.S
> +++ b/arch/arm64/kvm/hyp/nvhe/host.S
> @@ -152,7 +152,7 @@ SYM_FUNC_END(__hyp_do_panic)
>  
>  .macro invalid_host_el1_vect
>  	.align 7
> -	mov	x0, xzr		/* restore_host = false */
> +	mov	x0, xzr		/* host_ctxt = NULL */
>  	mrs	x1, spsr_el2
>  	mrs	x2, elr_el2
>  	mrs	x3, par_el1

Acked-by: Will Deacon <will@kernel.org>

Will
_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-18 10:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-15 14:23 [PATCH] KVM: arm64: Update comment for parameter rename Andrew Scull
2021-03-18 10:46 ` Will Deacon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.