OpenCloudOS-Kernel/drivers/perf
Julien Thierry 0bdcc78fd5 arm_pmu: arm64: Use NMIs for PMU
commit d8f6267f7c upstream.

Add required PMU interrupt operations for NMIs. Request interrupt lines as
NMIs when possible, otherwise fall back to normal interrupts.

NMIs are only supported on the arm64 architecture with a GICv3 irqchip.

[Alexandru E.: Added that NMIs only work on arm64 + GICv3, print message
	when PMU is using NMIs]

Signed-off-by: Julien Thierry <julien.thierry@arm.com>
Signed-off-by: Alexandru Elisei <alexandru.elisei@arm.com>
Tested-by: Sumit Garg <sumit.garg@linaro.org> (Developerbox)
Cc: Julien Thierry <julien.thierry.kdev@gmail.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20200924110706.254996-8-alexandru.elisei@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: huwentao <huwentao19@h-partners.com>
2024-11-05 17:04:08 +08:00
..
hisilicon tkernel: sync code to the same with tk4 pub/lts/0017-kabi 2024-06-12 13:13:20 +08:00
Kconfig perf: Add Arm CMN-600 PMU driver 2024-08-13 14:21:45 +08:00
Makefile perf: Add Arm CMN-600 PMU driver 2024-08-13 14:21:45 +08:00
arm-cci.c ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
arm-ccn.c ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
arm-cmn.c update arm-cmn.c from tkernel5 2024-08-13 14:22:37 +08:00
arm_dsu_pmu.c tkernel: sync code to the same with tk4 pub/lts/0017-kabi 2024-06-12 13:13:20 +08:00
arm_pmu.c arm_pmu: arm64: Use NMIs for PMU 2024-11-05 17:04:08 +08:00
arm_pmu_acpi.c tkernel: add base tlinux kernel interfaces 2024-06-11 20:09:33 +08:00
arm_pmu_platform.c tkernel: sync code to the same with tk4 pub/lts/0017-kabi 2024-06-12 13:13:20 +08:00
arm_smmuv3_pmu.c tkernel: sync code to the same with tk4 pub/lts/0017-kabi 2024-06-12 13:13:20 +08:00
arm_spe_pmu.c tkernel: sync code to the same with tk4 pub/lts/0017-kabi 2024-06-12 13:13:20 +08:00
fsl_imx8_ddr_perf.c tkernel: sync code to the same with tk4 pub/lts/0017-kabi 2024-06-12 13:13:20 +08:00
qcom_l2_pmu.c tkernel: sync code to the same with tk4 pub/lts/0017-kabi 2024-06-12 13:13:20 +08:00
qcom_l3_pmu.c ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
thunderx2_pmu.c ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
xgene_pmu.c ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00