On Mon, 15 Dec 2025 09:16:39 +0100, Patrick Rudolph wrote:
> When compiled with FTRACE=1 U-boot will crash as %rdi is clobbered
> in board_init_f_alloc_reserve() and board_init_f_init_reserve() will
> memset the .text segment instead of the global_data struct.
>
> According to the System V AMD64 ABI %rdi is not preserved and the
> existing code only worked as board_init_f_alloc_reserve() was small
> enough to not use %rdi.
>
> [...]
Applied to u-boot/master, thanks!
[1/1] x86: cpu: Fix crash on FTRACE enabled builds
commit: a8d982e1f1726254ef27bbdf362f98954ee3feb7
--
Tom