Re: [PATCH] powerpc/powernv/memtrace: Fake non-memblock aligned sized traces

2020-11-17 Thread Michael Ellerman
Jordan Niethe writes: > On Mon, Nov 16, 2020 at 11:02 PM Michael Ellerman wrote: >> >> Jordan Niethe writes: >> > The hardware trace macros which use the memory provided by memtrace are >> > able to use trace sizes as small as 16MB. Only memblock aligned values >> > can be removed from each NUMA

Re: [PATCH] powerpc/powernv/memtrace: Fake non-memblock aligned sized traces

2020-11-16 Thread Jordan Niethe
On Mon, Nov 16, 2020 at 11:02 PM Michael Ellerman wrote: > > Jordan Niethe writes: > > The hardware trace macros which use the memory provided by memtrace are > > able to use trace sizes as small as 16MB. Only memblock aligned values > > can be removed from each NUMA node by writing that value to

Re: [PATCH] powerpc/powernv/memtrace: Fake non-memblock aligned sized traces

2020-11-16 Thread Michael Ellerman
Jordan Niethe writes: > The hardware trace macros which use the memory provided by memtrace are > able to use trace sizes as small as 16MB. Only memblock aligned values > can be removed from each NUMA node by writing that value to > memtrace/enable in debugfs. This means setting up, say, a 16MB t

Re: [PATCH] powerpc/powernv/memtrace: Fake non-memblock aligned sized traces

2020-11-11 Thread Michael Neuling
CC Rashmica Gupta On Wed, 2020-11-11 at 16:55 +1100, Jordan Niethe wrote: > The hardware trace macros which use the memory provided by memtrace are > able to use trace sizes as small as 16MB. Only memblock aligned values > can be removed from each NUMA node by writing that value to > memtrace/ena

[PATCH] powerpc/powernv/memtrace: Fake non-memblock aligned sized traces

2020-11-10 Thread Jordan Niethe
The hardware trace macros which use the memory provided by memtrace are able to use trace sizes as small as 16MB. Only memblock aligned values can be removed from each NUMA node by writing that value to memtrace/enable in debugfs. This means setting up, say, a 16MB trace is not possible. To allow