Re: [PATCH v3 27/32] KVM: arm64: Refactor stage2_map_set_prot_attr()

2021-03-05 Thread Quentin Perret
On Thursday 04 Mar 2021 at 20:03:36 (+), Will Deacon wrote: > On Tue, Mar 02, 2021 at 02:59:57PM +, Quentin Perret wrote: > > In order to ease its re-use in other code paths, refactor > > stage2_map_set_prot_attr() to not depend on a stage2_map_data struct. > > No functional change

Re: [PATCH v3 27/32] KVM: arm64: Refactor stage2_map_set_prot_attr()

2021-03-04 Thread Will Deacon
On Tue, Mar 02, 2021 at 02:59:57PM +, Quentin Perret wrote: > In order to ease its re-use in other code paths, refactor > stage2_map_set_prot_attr() to not depend on a stage2_map_data struct. > No functional change intended. > > Signed-off-by: Quentin Perret > --- >

[PATCH v3 27/32] KVM: arm64: Refactor stage2_map_set_prot_attr()

2021-03-02 Thread Quentin Perret
In order to ease its re-use in other code paths, refactor stage2_map_set_prot_attr() to not depend on a stage2_map_data struct. No functional change intended. Signed-off-by: Quentin Perret --- arch/arm64/kvm/hyp/pgtable.c | 19 --- 1 file changed, 8 insertions(+), 11