]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: arm64: nv: Stop passing vCPU through void ptr in S2 PTW
authorOliver Upton <oupton@kernel.org>
Mon, 24 Nov 2025 19:01:49 +0000 (11:01 -0800)
committerOliver Upton <oupton@kernel.org>
Mon, 1 Dec 2025 08:44:01 +0000 (00:44 -0800)
commit977d1bf15c5179276d93468abbc00a224908ff72
tree3dd7847ae9ea7d6b0dbe54bd3f003219e917de3c
parentcdba9da34b145eb2f3c502279a454f9a1a8346c1
KVM: arm64: nv: Stop passing vCPU through void ptr in S2 PTW

The stage-2 table walker passes down the vCPU as a void pointer. That
might've made sense if the walker was generic although at this point it
is clear this will only ever be used in the context of a vCPU.

Suggested-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Tested-by: Marc Zyngier <maz@kernel.org>
Link: https://msgid.link/20251124190158.177318-8-oupton@kernel.org
Signed-off-by: Oliver Upton <oupton@kernel.org>
arch/arm64/kvm/nested.c