KVM: arm64: Tweak parameters of guest cache maintenance functions
authorYanan Wang <wangyanan55@huawei.com>
Thu, 17 Jun 2021 10:58:23 +0000 (18:58 +0800)
committerMarc Zyngier <maz@kernel.org>
Fri, 18 Jun 2021 11:35:35 +0000 (12:35 +0100)
commit378e6a9c78a02b4b609846aa0afccf34d3038977
treeab613e32ee12b86f79f822ee286632eee66d4772
parenta4d5ca5c7cd8fe85056b8cb838fbcb7e5a05f356
KVM: arm64: Tweak parameters of guest cache maintenance functions

Adjust the parameter "kvm_pfn_t pfn" of __clean_dcache_guest_page
and __invalidate_icache_guest_page to "void *va", which paves the
way for converting these two guest CMO functions into callbacks in
structure kvm_pgtable_mm_ops. No functional change.

Reviewed-by: Fuad Tabba <tabba@google.com>
Signed-off-by: Yanan Wang <wangyanan55@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210617105824.31752-4-wangyanan55@huawei.com
arch/arm64/include/asm/kvm_mmu.h
arch/arm64/kvm/mmu.c