All of lore.kernel.org
 help / color / mirror / Atom feed
* [OpenRISC] OpenRISC SMP kernels broken after 5.8?
@ 2021-10-26 20:43 Jan Henrik Weinstock
  2021-10-31 21:46 ` Stafford Horne
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Henrik Weinstock @ 2021-10-26 20:43 UTC (permalink / raw)
  To: openrisc

Hi all,

I recently tried to update the kernel my simulator[1] is running to 
5.10, but I noticed the newer kernels (>5.8) all panic in 
flush_tlb_page[2], because it is called with vma == NULL from 
flush_tlb_kernel_range[3]. Looking at the code, I do not see how this 
could work for any SMP kernel (however, for non-SMP, we call 
local_tlb_flush_page[4], where we do not use vma, so I guess its fine 
there). Any ideas?

[1] https://github.com/janweinstock/or1kmvp
[2] 
https://elixir.bootlin.com/linux/v5.10.75/source/arch/openrisc/kernel/smp.c#L312
[3] 
https://elixir.bootlin.com/linux/v5.10.75/source/arch/openrisc/include/asm/tlbflush.h#L59
[4] 
https://elixir.bootlin.com/linux/v5.10.75/source/arch/openrisc/mm/tlb.c#L96

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-11-03  9:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-26 20:43 [OpenRISC] OpenRISC SMP kernels broken after 5.8? Jan Henrik Weinstock
2021-10-31 21:46 ` Stafford Horne
2021-11-03  8:02   ` Jan Henrik Weinstock
2021-11-03  9:14     ` Stafford Horne

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.