Re: [PATCH v2] mips: mm: Call rcutree_report_cpu_starting() even earlier

From: Stefan Wiehler

Date: Wed Jul 01 2026 - 08:41:46 EST


Hi Maciej,

> I'm afraid I have no QEMU installation ready to use, so I can't reproduce
> your steps without getting sidetracked. Would you be able to explain why
> it triggers with QEMU and possibly the I6400 CPU in particular, but not on
> real SMP hardware I have? From your commit description I infer this isn't
> supposed to be a heisenbug.

The only explanation that comes to my mind is that your platform has
TLBINV support and never calls r4k_tlb_uniquify() [1], therefore
skipping the kmalloc() call. Would you please verify that?

Kind regards,

Stefan


[1] https://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git/tree/arch/mips/mm/tlb-r4k.c?h=mips-fixes#n817