Re: [RFC v2 11/14] arm64: Move the ASID allocator code in a separate file

2019-07-15 Thread Julien Grall
On 04/07/2019 15:56, James Morse wrote: Hi Julien, Hi James, Thank you for the review. On 20/06/2019 14:06, Julien Grall wrote: We will want to re-use the ASID allocator in a separate context (e.g allocating VMID). So move the code in a new file. The function asid_check_context has been

Re: [RFC v2 11/14] arm64: Move the ASID allocator code in a separate file

2019-07-04 Thread James Morse
Hi Julien, On 20/06/2019 14:06, Julien Grall wrote: > We will want to re-use the ASID allocator in a separate context (e.g > allocating VMID). So move the code in a new file. > > The function asid_check_context has been moved in the header as a static > inline function because we want to avoid

[RFC v2 11/14] arm64: Move the ASID allocator code in a separate file

2019-06-20 Thread Julien Grall
We will want to re-use the ASID allocator in a separate context (e.g allocating VMID). So move the code in a new file. The function asid_check_context has been moved in the header as a static inline function because we want to avoid add a branch when checking if the ASID is still valid.