powerpc/include: Add data structures and macros for IMC trace mode
authorAnju T Sudhakar <anju@linux.vnet.ibm.com>
Tue, 16 Apr 2019 09:48:27 +0000 (15:18 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 2 May 2019 16:54:59 +0000 (02:54 +1000)
commitd1720adff3783a2ba7c128e304a385d18962835b
tree36026a0431b6c372dad6e6489c836c75cb2296e8
parent860b7d2286236170a36f94946d03ca9888d32571
powerpc/include: Add data structures and macros for IMC trace mode

Add the macros needed for IMC (In-Memory Collection Counters) trace-mode
and data structure to hold the trace-imc record data.
Also, add the new type "OPAL_IMC_COUNTERS_TRACE" in 'opal-api.h', since
there is a new switch case added in the opal-calls for IMC.

Signed-off-by: Anju T Sudhakar <anju@linux.vnet.ibm.com>
Reviewed-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/imc-pmu.h
arch/powerpc/include/asm/opal-api.h