[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <mhng-82bfc066-f5f9-42ab-9cbf-f41d91011748@palmer-mbp2014>
Date: Thu, 31 Mar 2022 15:31:03 -0700 (PDT)
From: Palmer Dabbelt <palmer@...belt.com>
To: apatel@...tanamicro.com
CC: Paul Walmsley <paul.walmsley@...ive.com>, atishp@...shpatra.org,
Alistair Francis <Alistair.Francis@....com>,
anup@...infault.org, linux-riscv@...ts.infradead.org,
linux-kernel@...r.kernel.org, apatel@...tanamicro.com
Subject: Re: [PATCH v2] RISC-V: Enable profiling by default
On Wed, 23 Mar 2022 22:30:20 PDT (-0700), apatel@...tanamicro.com wrote:
> 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@...tanamicro.com>
> ---
> Changes since v1:
> - Enable CONFIG_PROFILING instead of CONFIG_PREF_EVENTS in defconfigs
> ---
> arch/riscv/configs/defconfig | 1 +
> arch/riscv/configs/rv32_defconfig | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
> index f120fcc43d0a..bfebee46784c 100644
> --- a/arch/riscv/configs/defconfig
> +++ b/arch/riscv/configs/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_MICROCHIP_POLARFIRE=y
> CONFIG_SOC_SIFIVE=y
> CONFIG_SOC_VIRT=y
> diff --git a/arch/riscv/configs/rv32_defconfig b/arch/riscv/configs/rv32_defconfig
> index 8b56a7f1eb06..2b68b1bd2559 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
Thanks, this is on for-next.
Powered by blists - more mailing lists