From 99288e911ad553ffee55b3da942f6e722fc0573b Mon Sep 17 00:00:00 2001 From: Vincent Donnefort Date: Wed, 20 Dec 2023 13:35:00 +0000 Subject: [PATCH] ANDROID: KVM: arm64: Document module_change_host_prot_range When this pKVM module ops has been introduced, the documentation has been omitted. Bug: 308373293 Change-Id: I9e471414e72a1ee04c132de4ed95d77e815ae8c9 Signed-off-by: Vincent Donnefort --- arch/arm64/include/asm/kvm_pkvm_module.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/include/asm/kvm_pkvm_module.h b/arch/arm64/include/asm/kvm_pkvm_module.h index bf68d862b7d8..b8e5f8064358 100644 --- a/arch/arm64/include/asm/kvm_pkvm_module.h +++ b/arch/arm64/include/asm/kvm_pkvm_module.h @@ -72,6 +72,11 @@ enum pkvm_psci_notification { * @register_host_perm_fault_handler), otherwise * pKVM will be unable to handle this fault and the * CPU will be stuck in an infinite loop. + * @host_stage2_mod_prot_range: Similar to @host_stage2_mod_prot, but takes a + * range as an argument (@nr_pages). This + * considerably speeds up the process for a + * contiguous memory region, compared to the + * per-page @host_stage2_mod_prot. * @host_stage2_get_leaf: Query the host's stage2 page-table entry for * the page @phys. * @register_host_smc_handler: @cb is called whenever the host issues an SMC