mirror-linux/arch
Josh Poimboeuf 3049fc4b5f x86/alternative: Refactor INT3 call emulation selftest
The INT3 call emulation selftest is a bit fragile as it relies on the
compiler not inserting any extra instructions before the
int3_selftest_ip() definition.

Also, the int3_selftest_ip() symbol overlaps with the int3_selftest
symbol(), which can confuse objtool.

Fix those issues by slightly reworking the functionality and moving
int3_selftest_ip() to a separate asm function.  While at it, improve the
naming.

Acked-by: Petr Mladek <pmladek@suse.com>
Tested-by: Joe Lawrence <joe.lawrence@redhat.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
2025-10-14 14:45:22 -07:00
..
alpha assorted dead code removal around asm/pgtable.h 2025-10-03 11:37:50 -07:00
arc Summary of significant series in this pull request: 2025-10-02 18:18:33 -07:00
arm ARM development for 6.18-rc1 2025-10-07 16:20:19 -07:00
arm64 arm64 fixes for -rc1 2025-10-07 08:59:25 -07:00
csky assorted dead code removal around asm/pgtable.h 2025-10-03 11:37:50 -07:00
hexagon Scheduler updates for v6.18: 2025-09-30 10:35:11 -07:00
loongarch hyperv-next for v6.18 2025-10-07 08:40:15 -07:00
m68k pci-v6.18-changes 2025-10-06 10:41:03 -07:00
microblaze assorted dead code removal around asm/pgtable.h 2025-10-03 11:37:50 -07:00
mips pci-v6.18-changes 2025-10-06 10:41:03 -07:00
nios2 Summary of significant series in this pull request: 2025-10-02 18:18:33 -07:00
openrisc OpenRISC updates for 6.18 2025-10-05 10:02:54 -07:00
parisc parisc architecture updates for kernel v6.18-rc1: 2025-10-10 10:01:55 -07:00
powerpc Generic: 2025-10-06 12:37:34 -07:00
riscv hyperv-next for v6.18 2025-10-07 08:40:15 -07:00
s390 s390/vmlinux.lds.S: Prevent thunk functions from getting placed with normal text 2025-10-14 14:45:21 -07:00
sh Summary of significant series in this pull request: 2025-10-02 18:18:33 -07:00
sparc pci-v6.18-changes 2025-10-06 10:41:03 -07:00
um updates for UML, notably 2025-10-06 12:10:55 -07:00
x86 x86/alternative: Refactor INT3 call emulation selftest 2025-10-14 14:45:22 -07:00
xtensa Xtensa updates for v6.18 2025-10-10 11:20:19 -07:00
.gitignore
Kconfig Kbuild updates for 6.18 2025-10-01 20:58:51 -07:00