x86_64: fix TRACE_IRQS_OFF regression
PATCH 2/4 x86_64: fix TRACE_IRQS_OFF regression
We need to save rax across the IRQ exit tracing, as it carries information about how to return from interrupt.
Jan
--- arch/x86_64/kernel/entry.S | 2 ++ 1 file changed, 2 insertions(+)
arch/x86_64/kernel/entry.S +2 -0
@@ -567,10 +567,12 @@ END(stub_rt_sigreturn) popq %rbp pushq %rbp + pushq %rax movq 8-ARGOFFSET+ORIG_RAX(%rbp), %rdi leaq 8-ARGOFFSET+RIP-8(%rbp), %rbp notq %rdi call ipipe_trace_end + popq %rax popq %rbp pushq %rbp #else
Quoted 3 lines · Jan Kiszka
We need to save rax across the IRQ exit tracing, as it carries information about how to return from interrupt.
Will merge (obviously). Thanks.
Signature · 1 line
Philippe.