Re: [RFC PATCH] powerpc/mm/radix: Optimize tlbiel flush

2017-04-20 Thread Anton Blanchard
Hi Aneesh, > For a page walk cache flush, we don't need to loop with set number. > The set number is ignored with RIC=1 (pwc flush). > > For RIC=2 (flush all), inorder to flush implementation dependent > caches, we can ignore the set number. Hence we do a RIC=2 flush with > set no: 0, so we do

[RFC PATCH] powerpc/mm/radix: Optimize tlbiel flush

2017-04-20 Thread Aneesh Kumar K.V
For a page walk cache flush, we don't need to loop with set number. The set number is ignored with RIC=1 (pwc flush). For RIC=2 (flush all), inorder to flush implementation dependent caches, we can ignore the set number. Hence we do a RIC=2 flush with set no: 0, so we do both the tlb flush for