Re: [PATCH v2 5/6] KVM: arm/arm64: Stop using {pmd,pud,pgd}_populate

2018-06-09 Thread Christoffer Dall
On Wed, May 30, 2018 at 01:47:05PM +0100, Marc Zyngier wrote: > The {pmd,pud,pgd}_populate accessors usage in the kernel have always > been a bit weird in KVM. We don't have a struct mm to pass (and > neither does the kernel most of the time, but still...), and > the 32bit code has all kind of

Re: [PATCH v2 5/6] KVM: arm/arm64: Stop using {pmd,pud,pgd}_populate

2018-05-31 Thread Mark Rutland
On Wed, May 30, 2018 at 01:47:05PM +0100, Marc Zyngier wrote: > The {pmd,pud,pgd}_populate accessors usage in the kernel have always > been a bit weird in KVM. We don't have a struct mm to pass (and > neither does the kernel most of the time, but still...), and > the 32bit code has all kind of

[PATCH v2 5/6] KVM: arm/arm64: Stop using {pmd,pud,pgd}_populate

2018-05-30 Thread Marc Zyngier
The {pmd,pud,pgd}_populate accessors usage in the kernel have always been a bit weird in KVM. We don't have a struct mm to pass (and neither does the kernel most of the time, but still...), and the 32bit code has all kind of cache maintenance that doesn't make sense on ARMv7+ when MP extensions