Re: [PATCH 16/21] KVM: arm64: Drop @max param from mmu_topup_memory_cache()

2020-06-11 Thread Sean Christopherson
On Wed, Jun 10, 2020 at 03:00:47PM -0700, Ben Gardon wrote: > On Fri, Jun 5, 2020 at 2:39 PM Sean Christopherson > wrote: > > > > Replace the @max param in mmu_topup_memory_cache() and instead use > > ARRAY_SIZE() to terminate the loop to fill the cache. This removes a > > BUG_ON() and sets the

Re: [PATCH 16/21] KVM: arm64: Drop @max param from mmu_topup_memory_cache()

2020-06-10 Thread Ben Gardon
On Fri, Jun 5, 2020 at 2:39 PM Sean Christopherson wrote: > > Replace the @max param in mmu_topup_memory_cache() and instead use > ARRAY_SIZE() to terminate the loop to fill the cache. This removes a > BUG_ON() and sets the stage for moving arm64 to the common memory cache > implementation. > >

[PATCH 16/21] KVM: arm64: Drop @max param from mmu_topup_memory_cache()

2020-06-05 Thread Sean Christopherson
Replace the @max param in mmu_topup_memory_cache() and instead use ARRAY_SIZE() to terminate the loop to fill the cache. This removes a BUG_ON() and sets the stage for moving arm64 to the common memory cache implementation. No functional change intended. Signed-off-by: Sean Christopherson ---