From 8e0c271e59877160e9bfde5a337232444c1f45cd Mon Sep 17 00:00:00 2001 From: caelli Date: Thu, 11 Apr 2024 20:47:04 +0800 Subject: [PATCH] arm64: change config for performance change some config for performance Signed-off-by: caelli Reviewed-by: yilingjin Reviewed-by: yuehongwu Signed-off-by: Jianping Liu --- arch/arm64/Kconfig | 3 +-- arch/arm64/configs/tencent.config | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 4826d10e9f37..8e1444c47769 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -166,7 +166,6 @@ config ARM64 select HAVE_FUNCTION_ARG_ACCESS_API select HAVE_RCU_TABLE_FREE select HAVE_RSEQ - select HAVE_STACKPROTECTOR select HAVE_SYSCALL_TRACEPOINTS select HAVE_KPROBES select HAVE_KRETPROBES @@ -576,7 +575,7 @@ config ARM64_ERRATUM_1286807 config ARM64_ERRATUM_1463225 bool "Cortex-A76: Software Step might prevent interrupt recognition" - default y + default n help This option adds a workaround for Arm Cortex-A76 erratum 1463225. diff --git a/arch/arm64/configs/tencent.config b/arch/arm64/configs/tencent.config index d89c63cbe2bd..f0d14f316cec 100644 --- a/arch/arm64/configs/tencent.config +++ b/arch/arm64/configs/tencent.config @@ -68,7 +68,7 @@ CONFIG_KEXEC_FILE=y CONFIG_CRASH_DUMP=y # CONFIG_RODATA_FULL_DEFAULT_ENABLED is not set CONFIG_COMPAT=y -# CONFIG_ARM64_HW_AFDBM is not set +CONFIG_ARM64_HW_AFDBM=y # CONFIG_ARM64_PAN is not set CONFIG_ARM64_MODULE_PLTS=y CONFIG_PM_WAKELOCKS=y