mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 22:51:35 +00:00
a64e697cef
Base enablement patch to register performance monitoring hardware support for power10. Patch introduce the raw event encoding format, defines the supported list of events, config fields for the event attributes and their corresponding bit values which are exported via sysfs. Patch also enhances the support function in isa207_common.c to include power10 pmu hardware. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Signed-off-by: Athira Rajeev <atrajeev@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/1594996707-3727-9-git-send-email-atrajeev@linux.vnet.ibm.com
14 lines
413 B
C
14 lines
413 B
C
// SPDX-License-Identifier: GPL-2.0+
|
|
//
|
|
// Copyright 2019 Madhavan Srinivasan, IBM Corporation.
|
|
|
|
extern int init_ppc970_pmu(void);
|
|
extern int init_power5_pmu(void);
|
|
extern int init_power5p_pmu(void);
|
|
extern int init_power6_pmu(void);
|
|
extern int init_power7_pmu(void);
|
|
extern int init_power8_pmu(void);
|
|
extern int init_power9_pmu(void);
|
|
extern int init_power10_pmu(void);
|
|
extern int init_generic_compat_pmu(void);
|