Skip to contentSkip to conversation

KVM: arm64: Update comment for parameter rename

PATCH In review Andrew Scull 2 participants 2 messages Mar 15, 2021 – Mar 18, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 KVM: arm64: Update comment for parameter rename

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")

---

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(-)
arch/arm64/kvm/hyp/nvhe/host.S +1 -1
index 5d94584840cc..c419648c1d3f 100644
@@ -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
Signature · 6 lines
2.31.0.rc2.261.g7f71774620-goog

_______________________________________________
kvmarm mailing list
[email protected]
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 20 lines · Andrew Scull

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")

---

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(-)
arch/arm64/kvm/hyp/nvhe/host.S +0 -0
index 5d94584840cc..c419648c1d3f 100644

arch/arm64/kvm/hyp/nvhe/host.S SYM_FUNC_END(__hyp_do_panic) · line 158

Quoted 8 lines
arch/arm64/kvm/hyp/nvhe/host.S +1 -1
@@ -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

Will
_______________________________________________
kvmarm mailing list
[email protected]
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm