WSL2-Linux-Kernel/drivers/perf/arm_cspmu
Besar Wicaksono a91bbd5c99 perf: arm_cspmu: Fix module cyclic dependency
Build on arm64 allmodconfig failed with:
  | depmod: ERROR: Cycle detected: arm_cspmu -> nvidia_cspmu -> arm_cspmu
  | depmod: ERROR: Found 2 modules in dependency cycles!

The arm_cspmu.c provides standard functions to operate the PMU and the
vendor code provides vendor specific attributes. Both need to be built as
single kernel module.

Update the makefile to compile sources under arm_cspmu into one module.

Signed-off-by: Besar Wicaksono <bwicaksono@nvidia.com>
Reviewed-and-Tested-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20221116203952.34168-1-bwicaksono@nvidia.com
Signed-off-by: Will Deacon <will@kernel.org>
2022-11-18 13:32:11 +00:00
..
Kconfig perf: arm_cspmu: Fix build failure on x86_64 2022-11-18 13:31:54 +00:00
Makefile perf: arm_cspmu: Fix module cyclic dependency 2022-11-18 13:32:11 +00:00
arm_cspmu.c perf: arm_cspmu: Fix modular builds due to missing MODULE_LICENSE()s 2022-11-15 18:24:03 +00:00
arm_cspmu.h
nvidia_cspmu.c perf: arm_cspmu: Fix modular builds due to missing MODULE_LICENSE()s 2022-11-15 18:24:03 +00:00
nvidia_cspmu.h perf: arm_cspmu: Add support for NVIDIA SCF and MCF attribute 2022-11-15 13:48:08 +00:00