
From: Huacai Chen <chenhuacai@loongson.cn> mainline inclusion from mainline-v6.9 commit 9cc1df421f00453afdcaf78b105d8e7fd03cce78 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IB3IRE Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?i... --------------------------------------------------------------------------- Enable ORC stack unwinder. Enable ftrace. Enable livepatch. Signed-off-by: Huacai Chen <chenhuacai@loongson.cn> [only enable configs of orc, ftrace and livepatch - yangtiezhu] Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn> --- arch/loongarch/configs/loongson3_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/loongarch/configs/loongson3_defconfig b/arch/loongarch/configs/loongson3_defconfig index bda7dd7783e3..5602d9fe182b 100644 --- a/arch/loongarch/configs/loongson3_defconfig +++ b/arch/loongarch/configs/loongson3_defconfig @@ -43,6 +43,7 @@ CONFIG_NR_CPUS=256 CONFIG_NUMA=y CONFIG_CPU_HAS_LSX=y CONFIG_CPU_HAS_LASX=y +CONFIG_LIVEPATCH=y CONFIG_CPU_FREQ=y CONFIG_CPU_FREQ_STAT=y CONFIG_CPU_FREQ_GOV_POWERSAVE=y @@ -2195,5 +2196,7 @@ CONFIG_SCHEDSTATS=y CONFIG_DEBUG_LIST=y CONFIG_RCU_CPU_STALL_TIMEOUT=60 # CONFIG_RCU_TRACE is not set +CONFIG_FUNCTION_TRACER=y # CONFIG_STRICT_DEVMEM is not set +CONFIG_UNWINDER_ORC=y # CONFIG_RUNTIME_TESTING_MENU is not set -- 2.42.0