KVM: arm64: Split init and set for table PTE
authorOliver Upton <oliver.upton@linux.dev>
Mon, 7 Nov 2022 21:56:40 +0000 (21:56 +0000)
committerMarc Zyngier <maz@kernel.org>
Thu, 10 Nov 2022 14:43:46 +0000 (14:43 +0000)
commit331aa3a0547d1c794587e0df374d13b16645e832
tree72dfa4ab582c808d72a9d678fb9d8183414ebed9
parentca5de2448c3b4c018fe3d6223df8b59068be1cd7
KVM: arm64: Split init and set for table PTE

Create a helper to initialize a table and directly call
smp_store_release() to install it (for now). Prepare for a subsequent
change that generalizes PTE writes with a helper.

Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221107215644.1895162-11-oliver.upton@linux.dev
arch/arm64/kvm/hyp/pgtable.c