UPSTREAM: drivers: perf: arm_pmuv3: Add new macro PMUV3_INIT_MAP_EVENT()
This further compacts all remaining PMU init procedures requiring specific map_event functions via a new macro PMUV3_INIT_MAP_EVENT(). While here, it also changes generated init function names to match to those generated via the other macro PMUV3_INIT_SIMPLE(). This does not cause functional change. Cc: Will Deacon <will@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Reviewed-by:James Clark <james.clark@arm.com> Signed-off-by:
Anshuman Khandual <anshuman.khandual@arm.com> Link: https://lore.kernel.org/r/20231114061656.337231-1-anshuman.khandual@arm.com Signed-off-by:
Will Deacon <will@kernel.org> (cherry picked from commit 877806b9) BUG=b:369190856 TEST=emerge Change-Id: I641b0401b472d0270782244464dca40a8308af11 Signed-off-by:
Hsin-Yi Wang <hsinyi@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/5926504 Reviewed-by:
Sean Paul <sean@poorly.run> Reviewed-by:
Douglas Anderson <dianders@chromium.org> Signed-off-by:
Hubert Mazur <hmazur@google.com> Signed-off-by:
Tomasz Nowicki <tnowicki@google.com>
Loading
Please sign in to comment