lkml.org 
[lkml]   [2022]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH V5 00/22] arch: Add basic LoongArch support
Hi, Ruoyao,

The problem still exists in 5.16-rc8, can you try to change
cpu_relax() definition to smp_mb()? It seems can fix the problem.

Huacai

On Tue, Dec 28, 2021 at 4:34 PM Xi Ruoyao <xry111@mengyan1223.wang> wrote:
>
> On Tue, 2021-12-21 at 15:53 +0800, Huacai Chen wrote:
>
> > On Mon, Dec 20, 2021 at 5:04 PM Xi Ruoyao <xry111@mengyan1223.wang>
> > wrote:
> > >
> > > The snapshot panics on my system under high pressure (building and
> > > testing GCC). The panic message is pasted, but it's kind of broken up
> > > likely because multiple CPU cores were outputing to the serial console
> > > simutaniously.
> > >
> > > The config is attached. I'm not sure the reason of the panic (bug in
> > > the patches or bug in mainline kernel?) Do you have some pointers to
> > > diagnostic and fix the issue?
> > >
> > > [ 5391.004745] CPU 1 Unable to handle kernel paging request at virtual address 000000000040007e, era == 90000000003aa07c, ra == 90000000003aa84c
>
> /* snip */
>
> > We also found that the latest github kernel has some stable issues,
> > and we are investigating.
>
> I rebased the patches onto 438645193e59e91761ccb3fa55f6ce70b615ff93 and
> the problem *seems* gone. Not sure if it's something fixed in the
> mainline or some more strange thing.
> --
> Xi Ruoyao <xry111@mengyan1223.wang>
> School of Aerospace Science and Technology, Xidian University

\
 
 \ /
  Last update: 2022-01-05 10:40    [W:0.073 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site