KVM: arm64: pkvm: Document the side effects of kvm_flush_dcache_to_poc()
authorMarc Zyngier <maz@kernel.org>
Sat, 8 Apr 2023 16:04:25 +0000 (17:04 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 14 Apr 2023 07:23:29 +0000 (08:23 +0100)
commit8442d65373c6316876208c1ad27729e9682fa3cf
tree8879a4754ec4060ea61456be929518d2bfb86427
parent7e1b2329c205d0a08ebaf3f619318a8a18f36644
KVM: arm64: pkvm: Document the side effects of kvm_flush_dcache_to_poc()

We rely on the presence of a DSB at the end of kvm_flush_dcache_to_poc()
that, on top of ensuring completion of the cache clean, also covers
the speculative page table walk started from EL1.

Document this dependency.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/hyp/nvhe/mem_protect.c