[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221110113034.17563-1-jakub@cloudflare.com>
Date: Thu, 10 Nov 2022 12:30:34 +0100
From: Jakub Sitnicki <jakub@...udflare.com>
To: linux-kernel@...r.kernel.org
Cc: kernel-team@...udflare.com, linux-kbuild@...r.kernel.org,
x86@...nel.org, Akinobu Mita <akinobu.mita@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: [PATCH] fault-inject: Enable stacktrace filter for x86-64
Stacktrace filtering for fault injection has been disabled on x86-64 since
2007 due to the lack of a DWARF unwinder. See commit 6d690dcac92a ("fault
injection: disable stacktrace filter for x86-64").
In 2017, the ORC unwider, an alternative to DWARF unwinder has been added
in commit ee9f8fce9964 ("x86/unwind: Add the ORC unwinder").
We can now re-enable the stacktrace filter for x86-64.
Cc: linux-kbuild@...r.kernel.org
Cc: x86@...nel.org
Cc: Akinobu Mita <akinobu.mita@...il.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>
Signed-off-by: Jakub Sitnicki <jakub@...udflare.com>
---
lib/Kconfig.debug | 1 -
1 file changed, 1 deletion(-)
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 3fc7abffc7aa..32c5329b0dd9 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1963,7 +1963,6 @@ config FAIL_SUNRPC
config FAULT_INJECTION_STACKTRACE_FILTER
bool "stacktrace filter for fault-injection capabilities"
depends on FAULT_INJECTION_DEBUG_FS && STACKTRACE_SUPPORT
- depends on !X86_64
select STACKTRACE
depends on FRAME_POINTER || MIPS || PPC || S390 || MICROBLAZE || ARM || ARC || X86
help
--
2.38.1
Powered by blists - more mailing lists