Re: [PATCH v4 12/34] KVM: arm64: Introduce a Hyp buddy page allocator

2021-03-11 Thread Will Deacon
On Wed, Mar 10, 2021 at 05:57:29PM +, Quentin Perret wrote: > When memory protection is enabled, the hyp code will require a basic > form of memory management in order to allocate and free memory pages at > EL2. This is needed for various use-cases, including the creation of hyp > mappings or

[PATCH v4 12/34] KVM: arm64: Introduce a Hyp buddy page allocator

2021-03-10 Thread Quentin Perret
When memory protection is enabled, the hyp code will require a basic form of memory management in order to allocate and free memory pages at EL2. This is needed for various use-cases, including the creation of hyp mappings or the allocation of stage 2 page tables. To address these use-case,