x86/unwind/orc: Add 'signal' field to ORC metadata
authorJosh Poimboeuf <jpoimboe@kernel.org>
Fri, 10 Feb 2023 22:42:01 +0000 (14:42 -0800)
committerIngo Molnar <mingo@kernel.org>
Sat, 11 Feb 2023 11:37:51 +0000 (12:37 +0100)
commitffb1b4a41016295e298409c9dbcacd55680bd6d4
tree28b6a4e2afd6c2ad1999bca5d95f8ba24133a942
parenta20717aca33b1ff133f513721050fe6c3d7f97b5
x86/unwind/orc: Add 'signal' field to ORC metadata

Add a 'signal' field which allows unwind hints to specify whether the
instruction pointer should be taken literally (like for most interrupts
and exceptions) rather than decremented (like for call stack return
addresses) when used to find the next ORC entry.

Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/d2c5ec4d83a45b513d8fd72fab59f1a8cfa46871.1676068346.git.jpoimboe@kernel.org
arch/x86/include/asm/orc_types.h
arch/x86/include/asm/unwind_hints.h
arch/x86/kernel/unwind_orc.c
include/linux/objtool.h
tools/arch/x86/include/asm/orc_types.h
tools/include/linux/objtool.h
tools/objtool/orc_dump.c