mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
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>
20 lines
734 B
Plaintext
20 lines
734 B
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
|
|
config ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU
|
|
tristate "ARM Coresight Architecture PMU"
|
|
depends on ARM64 || COMPILE_TEST
|
|
help
|
|
Provides support for performance monitoring unit (PMU) devices
|
|
based on ARM CoreSight PMU architecture. Note that this PMU
|
|
architecture does not have relationship with the ARM CoreSight
|
|
Self-Hosted Tracing.
|
|
|
|
config NVIDIA_CORESIGHT_PMU_ARCH_SYSTEM_PMU
|
|
tristate "NVIDIA Coresight Architecture PMU"
|
|
depends on ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU
|
|
help
|
|
Provides NVIDIA specific attributes for performance monitoring unit
|
|
(PMU) devices based on ARM CoreSight PMU architecture.
|