Re: [PATCH 2/2] powerpc/mm/memtrace: Let the arch hotunplug code flush cache

2018-04-11 Thread Balbir Singh
On Wed, Apr 11, 2018 at 9:05 PM, Michael Ellerman wrote: > Balbir Singh writes: > >> Don't do this via custom code, instead now that we have support >> in the arch hotplug/hotunplug code, rely on those routines >> to do the right thing. >> >> Fixes: 9d5171a8f248 ("powerpc/powernv: Enable removal

Re: [PATCH 2/2] powerpc/mm/memtrace: Let the arch hotunplug code flush cache

2018-04-11 Thread Michael Ellerman
Balbir Singh writes: > Don't do this via custom code, instead now that we have support > in the arch hotplug/hotunplug code, rely on those routines > to do the right thing. > > Fixes: 9d5171a8f248 ("powerpc/powernv: Enable removal of memory for in memory > tracing") That's not really right. Th

Re: [PATCH 2/2] powerpc/mm/memtrace: Let the arch hotunplug code flush cache

2018-04-10 Thread rashmica
On 06/04/18 15:24, Balbir Singh wrote: > Don't do this via custom code, instead now that we have support > in the arch hotplug/hotunplug code, rely on those routines > to do the right thing. > > Fixes: 9d5171a8f248 ("powerpc/powernv: Enable removal of memory for in memory > tracing") > because t

[PATCH 2/2] powerpc/mm/memtrace: Let the arch hotunplug code flush cache

2018-04-05 Thread Balbir Singh
Don't do this via custom code, instead now that we have support in the arch hotplug/hotunplug code, rely on those routines to do the right thing. Fixes: 9d5171a8f248 ("powerpc/powernv: Enable removal of memory for in memory tracing") because the older code uses ppc64_caches.l1d.size instead of pp