Thread (34 messages) 34 messages, 4 authors, 2025-06-19

Re: next-20250605: Test regression: qemu-x86_64-compat mode ltp tracing Oops int3 kernel panic

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2025-06-10 13:23:58
Also in: lkml

On Tue, 10 Jun 2025 17:41:36 +0900
Masami Hiramatsu (Google) [off-list ref] wrote:
SERIALIZE instruction may flash pipeline, thus the processor needs
to reload the instruction. But it is not ensured to reload it from
memory because SERIALIZE does not invalidate the cache.
From my understanding, an IPI on a CPU is equivalent to a smp_mb() on that
CPU. There shouldn't be any need for flushing the cache.
If that hypotheses is correct, we need to invalidate the cache
(flush TLB) in the third step, before the do_sync_core().
I'm not sure how the TLB would be affected.

-- Steve
Or, if it is unsure, we can just evacuate the kernel from die("int3")
by retrying the new instruction, when the INT3 is disappeared.
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help