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

2020-06-08 Thread Huacai Chen
Reviewed-by: Huacai Chen On Sat, Jun 6, 2020 at 5:44 AM 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 MIPS to the common memory

[PATCH 19/21] KVM: MIPS: 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 MIPS to the common memory cache implementation. No functional change intended. Signed-off-by: Sean Christopherson ---