Skip to content

Commit b015001

Browse files
vwaxRussell King (Oracle)
authored andcommitted
ARM: 9320/1: fix stack depot IRQ stack filter
Place IRQ handlers such as gic_handle_irq() in the irqentry section even if FUNCTION_GRAPH_TRACER is not enabled. Without this, the stack depot's filter_irq_stacks() does not correctly filter out IRQ stacks in those configurations, which hampers deduplication and eventually leads to "Stack depot reached limit capacity" splats with KASAN. A similar fix was done for arm64 in commit f679495 ("arm64: set __exception_irq_entry with __irq_entry as a default"). Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vincent Whitchurch <[email protected]> Signed-off-by: Russell King (Oracle) <[email protected]>
1 parent 414f28a commit b015001

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

arch/arm/include/asm/exception.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010

1111
#include <linux/interrupt.h>
1212

13-
#ifdef CONFIG_FUNCTION_GRAPH_TRACER
1413
#define __exception_irq_entry __irq_entry
15-
#else
16-
#define __exception_irq_entry
17-
#endif
1814

1915
#endif /* __ASM_ARM_EXCEPTION_H */

0 commit comments

Comments
 (0)