diff options
author | Marc Zyngier <maz@kernel.org> | 2021-02-12 14:08:13 +0000 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-02-12 14:08:13 +0000 |
commit | c5db649f3ded34096e84358e27be38931a691d99 (patch) | |
tree | dba21c4e3c692052bb2c26f95499129c77a59ed2 /arch/arm64/include | |
parent | 6b76d624e64fbb4bcbf1bc81ddbbe9e2432af082 (diff) | |
parent | 509552e65ae8287178a5cdea2d734dcd2d6380ab (diff) |
Merge branch 'kvm-arm64/concurrent-translation-fault' into kvmarm-master/next
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'arch/arm64/include')
-rw-r--r-- | arch/arm64/include/asm/kvm_pgtable.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/kvm_pgtable.h b/arch/arm64/include/asm/kvm_pgtable.h index 52ab38db04c7..8886d43cfb11 100644 --- a/arch/arm64/include/asm/kvm_pgtable.h +++ b/arch/arm64/include/asm/kvm_pgtable.h @@ -157,6 +157,11 @@ void kvm_pgtable_stage2_destroy(struct kvm_pgtable *pgt); * If device attributes are not explicitly requested in @prot, then the * mapping will be normal, cacheable. * + * Note that the update of a valid leaf PTE in this function will be aborted, + * if it's trying to recreate the exact same mapping or only change the access + * permissions. Instead, the vCPU will exit one more time from guest if still + * needed and then go through the path of relaxing permissions. + * * Note that this function will both coalesce existing table entries and split * existing block mappings, relying on page-faults to fault back areas outside * of the new mapping lazily. |