[RFC PATCH v3 22/22] arm64: Enable livepatch for ARM64

madvenka
2023-02-02T07:44:06Z

From: "Madhavan T. Venkataraman" <madvenka@linux.microsoft.com>

Enable livepatch in arch/arm64/Kconfig.

Signed-off-by: Madhavan T. Venkataraman <madvenka@linux.microsoft.com>
---
arch/arm64/Kconfig | 3 +++
1 file changed, 3 insertions(+)

diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 73c3f30a37c7..01f802935dda 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -232,6 +232,8 @@ config ARM64
select HAVE_SOFTIRQ_ON_OWN_STACK
select HAVE_STACK_VALIDATION if FRAME_POINTER_VALIDATION
select STACK_VALIDATION if HAVE_STACK_VALIDATION
+ select HAVE_RELIABLE_STACKTRACE if STACK_VALIDATION
+ select HAVE_LIVEPATCH if HAVE_DYNAMIC_FTRACE_WITH_REGS && HAVE_RELIABLE_STACKTRACE
help
ARM 64-bit (AArch64) Linux support.

@@ -2269,3 +2271,4 @@ source "drivers/acpi/Kconfig"

source "arch/arm64/kvm/Kconfig"

+source "kernel/livepatch/Kconfig"
--
2.25.1