Re: [RFC PATCH v3 09/16] KVM: arm64: Use separate function for the mapping size in user_mem_abort()

2020-12-02 Thread Alexandru Elisei
Hi Haibo, On 11/5/20 10:01 AM, Haibo Xu wrote: > On Wed, 28 Oct 2020 at 01:26, Alexandru Elisei > wrote: >> user_mem_abort() is already a long and complex function, let's make it >> slightly easier to understand by abstracting the algorithm for choosing the >> stage 2 IPA entry size into its own

Re: [RFC PATCH v3 09/16] KVM: arm64: Use separate function for the mapping size in user_mem_abort()

2020-11-05 Thread Haibo Xu
On Wed, 28 Oct 2020 at 01:26, Alexandru Elisei wrote: > > user_mem_abort() is already a long and complex function, let's make it > slightly easier to understand by abstracting the algorithm for choosing the > stage 2 IPA entry size into its own function. > > This also makes it possible to reuse th

[RFC PATCH v3 09/16] KVM: arm64: Use separate function for the mapping size in user_mem_abort()

2020-10-27 Thread Alexandru Elisei
user_mem_abort() is already a long and complex function, let's make it slightly easier to understand by abstracting the algorithm for choosing the stage 2 IPA entry size into its own function. This also makes it possible to reuse the code when guest SPE support will be added. Signed-off-by: Alexa