[PATCH 01/20] KVM: arm64: Prefault host stage-2 entries on block split
Wei-Lin Chang
weilin.chang at arm.com
Mon Sep 7 11:34:40 PDT 2026
On Mon, Aug 03, 2026 at 11:08:45AM +0100, Vincent Donnefort wrote:
> From: Keir Fraser <keirf at google.com>
>
> For the host stage-2 that is idmap, we can avoid lazy-mapping on block
> splitting by propagate existing valid mappings to neighbouring entries
> of the new table.
>
> Co-developed-by: Quentin Perret <qperret at google.com>
I believe the co-author also needs a Signed-off-by line.
Thanks,
Wei-Lin Chang
> Signed-off-by: Keir Fraser <keirf at google.com>
> Signed-off-by: Vincent Donnefort <vdonnefort at google.com>
>
> diff --git a/arch/arm64/kvm/hyp/pgtable.c b/arch/arm64/kvm/hyp/pgtable.c
> index b74dd5ce1efd..34f78a58cded 100644
> --- a/arch/arm64/kvm/hyp/pgtable.c
> +++ b/arch/arm64/kvm/hyp/pgtable.c
> @@ -1030,10 +1030,39 @@ static int stage2_map_walk_table_pre(const struct kvm_pgtable_visit_ctx *ctx,
> return 0;
> }
>
[...]
More information about the linux-arm-kernel
mailing list