Hey Will,
On Tue, Nov 15, 2022 at 01:25:34PM +, Will Deacon wrote:
[...]
> On Mon, Nov 14, 2022 at 08:11:27PM +, Oliver Upton wrote:
> > +int kvm_pgtable_hyp_walk(struct kvm_pgtable *pgt, u64 addr, u64 size,
> > +struct kvm_pgtable_walker *walker);
>
> Hmm, this feel
On Mon, Nov 14, 2022 at 08:11:27PM +, Oliver Upton wrote:
> A subsequent change to the page table walkers adds RCU protection for
> walking stage-2 page tables. KVM uses a global lock to serialize hyp
> stage-1 walks, meaning RCU protection is quite meaningless for
> protecting hyp stage-1 walk
A subsequent change to the page table walkers adds RCU protection for
walking stage-2 page tables. KVM uses a global lock to serialize hyp
stage-1 walks, meaning RCU protection is quite meaningless for
protecting hyp stage-1 walkers.
Add a new helper, kvm_pgtable_hyp_walk(), for use when walking h