Re: [PATCH v2] powerpc/perf: Fix loop exit condition in nest_imc_event_init

2019-05-03 Thread Michael Ellerman
On Tue, 2018-12-18 at 06:20:41 UTC, Anju T Sudhakar wrote: > The data structure (i.e struct imc_mem_info) to hold the memory address > information for nest imc units is allocated based on the number of nodes > in the system. > > nest_imc_event_init() traverse this struct array to calculate the

Re: [PATCH v2] powerpc/perf: Fix loop exit condition in nest_imc_event_init

2018-12-18 Thread Madhavan Srinivasan
On 18/12/18 11:50 AM, Anju T Sudhakar wrote: The data structure (i.e struct imc_mem_info) to hold the memory address information for nest imc units is allocated based on the number of nodes in the system. nest_imc_event_init() traverse this struct array to calculate the memory base address

[PATCH v2] powerpc/perf: Fix loop exit condition in nest_imc_event_init

2018-12-17 Thread Anju T Sudhakar
The data structure (i.e struct imc_mem_info) to hold the memory address information for nest imc units is allocated based on the number of nodes in the system. nest_imc_event_init() traverse this struct array to calculate the memory base address for the event-cpu. If we fail to find a match for