KVM: arm64: Introduce mm_ops member for structure stage2_attr_data
authorYanan Wang <wangyanan55@huawei.com>
Thu, 17 Jun 2021 10:58:22 +0000 (18:58 +0800)
committerMarc Zyngier <maz@kernel.org>
Fri, 18 Jun 2021 11:35:35 +0000 (12:35 +0100)
commita4d5ca5c7cd8fe85056b8cb838fbcb7e5a05f356
treea7fa816b4fa47b666660f20568452675baf0db11
parent6204004de3160900435bdb4b9a2fb8749a9277d2
KVM: arm64: Introduce mm_ops member for structure stage2_attr_data

Also add a mm_ops member for structure stage2_attr_data, since we
will move I-cache maintenance for guest stage-2 to the permission
path and as a result will need mm_ops for some callbacks.

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-3-wangyanan55@huawei.com
arch/arm64/kvm/hyp/pgtable.c