diff options
author | Besar Wicaksono <bwicaksono@nvidia.com> | 2023-08-22 02:16:08 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2023-10-05 15:58:27 +0300 |
commit | bfc653aa89cb05796d7b4e046600accb442c9b7a (patch) | |
tree | 341e2eb94006233db1a65aead07e3e5f1719178e /drivers/perf/arm_pmuv3.c | |
parent | 6465e260f48790807eef06b583b38ca9789b6072 (diff) | |
download | linux-bfc653aa89cb05796d7b4e046600accb442c9b7a.tar.xz |
perf: arm_cspmu: Separate Arm and vendor module
Arm Coresight PMU driver consists of main standard code and
vendor backend code. Both are currently built as a single module.
This patch adds vendor registration API to separate the two to
keep things modular. The main driver requests each known backend
module during initialization and defer device binding process.
The backend module then registers an init callback to the main
driver and continue the device driver binding process.
Signed-off-by: Besar Wicaksono <bwicaksono@nvidia.com>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Reviewed-and-tested-by: Ilkka Koskinen <ilkka@os.amperecomputing.com>
Link: https://lore.kernel.org/r/20230821231608.50911-1-bwicaksono@nvidia.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/perf/arm_pmuv3.c')
0 files changed, 0 insertions, 0 deletions