KVM: arm64: add comments to __kern_hyp_va
authorJoey Gouly <joey.gouly@arm.com>
Thu, 8 Feb 2024 10:54:21 +0000 (10:54 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Mon, 12 Feb 2024 20:29:59 +0000 (20:29 +0000)
commitd198e2668e247f40f68b008ce1d2656dbf2d47eb
treef0ad4132673ec8b2fdc13919511555ff81b2502f
parent1f3ca7023fe63a80e4acfa82f0186c3263356dcb
KVM: arm64: add comments to __kern_hyp_va

Document this function a little, to make it easier to understand.

The assembly comments were copied from the kern_hyp_va asm macro.

Signed-off-by: Joey Gouly <joey.gouly@arm.com>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Oliver Upton <oliver.upton@linux.dev>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20240208105422.3444159-2-joey.gouly@arm.com
[oliver: migrate a bit more detail from the asm variant]
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/include/asm/kvm_mmu.h