Skip to content
Permalink
Browse files
RISC-V: Add a perf platform driver
Implement a perf platform driver that can support all the essential perf
features in future. It can also accommodate both SBI based perf
driver and legacy driver at the same time. Most of the common functionality
between the two drivers are kept in this driver while SBI specific
functionality will be implemented in SBI specific driver.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
  • Loading branch information
atishp04 committed Mar 18, 2021
1 parent 37bf8fd commit 5009c84a60b998b44c7c8481984b5553bfc0986c
Show file tree
Hide file tree
Showing 5 changed files with 459 additions and 0 deletions.
@@ -56,6 +56,14 @@ config ARM_PMU
Say y if you want to use CPU performance monitors on ARM-based
systems.

config RISCV_PMU
depends on RISCV
bool "RISC-V PMU framework"
default y
help
Say y if you want to use CPU performance monitors on RISCV-based
systems.

config ARM_PMU_ACPI
depends on ARM_PMU && ACPI
def_bool y
@@ -10,6 +10,7 @@ obj-$(CONFIG_FSL_IMX8_DDR_PMU) += fsl_imx8_ddr_perf.o
obj-$(CONFIG_HISI_PMU) += hisilicon/
obj-$(CONFIG_QCOM_L2_PMU) += qcom_l2_pmu.o
obj-$(CONFIG_QCOM_L3_PMU) += qcom_l3_pmu.o
obj-$(CONFIG_RISCV_PMU) += riscv_pmu.o
obj-$(CONFIG_THUNDERX2_PMU) += thunderx2_pmu.o
obj-$(CONFIG_XGENE_PMU) += xgene_pmu.o
obj-$(CONFIG_ARM_SPE_PMU) += arm_spe_pmu.o

0 comments on commit 5009c84

Please sign in to comment.