[PATCH] powerpc/perf: Return accordingly on invalid chip-id in

Michael Ellerman patch-notifications at ellerman.id.au
Fri May 3 16:59:05 AEST 2019


On Tue, 2018-11-27 at 08:24:52 UTC, Anju T Sudhakar wrote:
> Nest hardware counter memory resides in a per-chip reserve-memory.
> During nest_imc_event_init(), chip-id of the event-cpu is considered to
> calculate the base memory addresss for that cpu. Return, proper error
> condition if the chip_id calculated is invalid.
> 
> Reported-by: Dan Carpenter <dan.carpenter at oracle.com>
> Fixes: 885dcd709ba91 ("powerpc/perf: Add nest IMC PMU support")
> Reviewed-by: Madhavan Srinivasan <maddy at linux.vnet.ibm.com>
> Signed-off-by: Anju T Sudhakar <anju at linux.vnet.ibm.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/a913e5e8b43be1d3897a141ce61c1ec0

cheers


More information about the Linuxppc-dev mailing list