summaryrefslogtreecommitdiffstats
path: root/arch/riscv/configs/rv32_defconfig
diff options
context:
space:
mode:
authorAnup Patel <apatel@ventanamicro.com>2022-03-24 11:00:20 +0530
committerPalmer Dabbelt <palmer@rivosinc.com>2022-03-31 13:28:32 -0700
commit2e7451fb57632454aaccc8ca1aac167751df9fca (patch)
treee018944045174193bd991a70f1bb4d72a772f320 /arch/riscv/configs/rv32_defconfig
parent617487600b94b83c9733d8e3cb55a3f09beee194 (diff)
downloadlinux-2e7451fb57632454aaccc8ca1aac167751df9fca.tar.gz
linux-2e7451fb57632454aaccc8ca1aac167751df9fca.tar.bz2
linux-2e7451fb57632454aaccc8ca1aac167751df9fca.zip
RISC-V: Enable profiling by default
Let us enable profiling by default in RV32 and RV64 defconfigs so that we can use RISC-V PMU drivers on various RISC-V platforms. Signed-off-by: Anup Patel <apatel@ventanamicro.com> Reviewed-by: Atish Patra <atishp@rivosinc.com> Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch/riscv/configs/rv32_defconfig')
-rw-r--r--arch/riscv/configs/rv32_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/configs/rv32_defconfig b/arch/riscv/configs/rv32_defconfig
index 17037d5f3ba3..36aa6ff5a001 100644
--- a/arch/riscv/configs/rv32_defconfig
+++ b/arch/riscv/configs/rv32_defconfig
@@ -15,6 +15,7 @@ CONFIG_CHECKPOINT_RESTORE=y
CONFIG_BLK_DEV_INITRD=y
CONFIG_EXPERT=y
# CONFIG_SYSFS_SYSCALL is not set
+CONFIG_PROFILING=y
CONFIG_SOC_SIFIVE=y
CONFIG_SOC_VIRT=y
CONFIG_ARCH_RV32I=y