dovetail: x86: Warning when building for 32 bit systems
Subsystems (2)
Hi all,
the following ist mainly for documentation purposes:
when building for (old) x86 32 bit systems I got the following warning:
vmlinux.o: warning: objtool: __do_fast_syscall_32()+0xf5: call to trace_hardirqs_off() leaves .noinstr.text section
As it turned out this is a Linux bug which has already been addressed upstream, so we will pull in the necessary fix with next update of the dovetail tree. The fix is now on its way to the stable branches.
Upstream:240001d4e304 ("x86/entry: Fix noinstr fail in __do_fast_syscall_32()")
arch/x86/entry/common.c +1 -1
@@ -148,8 +148,8 @@ static noinstr bool __do_fast_syscall_32(struct pt_regs *regs)/* User code screwed up. */ regs->ax = -EFAULT ; -instrumentation_end ();local_irq_disable (); +instrumentation_end ();irqentry_exit_to_user_mode (regs);return false; }
Best regards,
Florian
Signature · 2 lines
Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux