[PATCH v4 16/21] KVM: arm64: Enable retrieving protections attributes of PTEs

2021-08-09 Thread Quentin Perret
Introduce helper functions in the KVM stage-2 and stage-1 page-table manipulation library allowing to retrieve the enum kvm_pgtable_prot of a PTE. This will be useful to implement custom walkers outside of pgtable.c. Signed-off-by: Quentin Perret --- arch/arm64/include/asm/kvm_pgtable.h | 20 +++

Re: [PATCH v4 16/21] KVM: arm64: Enable retrieving protections attributes of PTEs

2021-08-10 Thread Fuad Tabba
Hi Quentin, On Mon, Aug 9, 2021 at 5:25 PM Quentin Perret wrote: > > Introduce helper functions in the KVM stage-2 and stage-1 page-table > manipulation library allowing to retrieve the enum kvm_pgtable_prot of a > PTE. This will be useful to implement custom walkers outside of > pgtable.c. > >