Re: [PATCH v6 33/38] KVM: arm64: Introduce KVM_PGTABLE_S2_IDMAP stage 2 flag

2021-03-22 Thread Will Deacon
On Fri, Mar 19, 2021 at 10:01:41AM +, Quentin Perret wrote: > Introduce a new stage 2 configuration flag to specify that all mappings > in a given page-table will be identity-mapped, as will be the case for > the host. This allows to introduce sanity checks in the map path and to > avoid

[PATCH v6 33/38] KVM: arm64: Introduce KVM_PGTABLE_S2_IDMAP stage 2 flag

2021-03-19 Thread Quentin Perret
Introduce a new stage 2 configuration flag to specify that all mappings in a given page-table will be identity-mapped, as will be the case for the host. This allows to introduce sanity checks in the map path and to avoid programming errors. Suggested-by: Will Deacon Signed-off-by: Quentin Perret