[PATCH] perf/marvell_cn10k: Fix tad_pmu_event_init() to check pmu type first

Will Deacon will at kernel.org
Tue May 10 04:33:14 PDT 2022


On Tue, 10 May 2022 15:56:57 +0530, Tanmay Jagdale wrote:
> Make sure to check the pmu type first and then check event->attr.disabled.
> Doing so would avoid reading the disabled attribute of an event that is
> not handled by TAD PMU.
> 
> 

Applied to will (for-next/perf), thanks!

[1/1] perf/marvell_cn10k: Fix tad_pmu_event_init() to check pmu type first
      https://git.kernel.org/will/c/33835e8dfb3c

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list