[Linux-stm32] [PATCH net-next 3/3] net: stmmac: Introducing support for Page Pool
Jose Abreu
Jose.Abreu at synopsys.com
Mon Jul 22 11:39:21 UTC 2019
From: Lars Persson <lists at bofh.nu>
Date: Jul/22/2019, 12:11:50 (UTC+00:00)
> On Mon, Jul 22, 2019 at 12:18 PM Ilias Apalodimas
> <ilias.apalodimas at linaro.org> wrote:
> >
> > On Thu, Jul 18, 2019 at 07:48:04AM +0000, Jose Abreu wrote:
> > > From: Jon Hunter <jonathanh at nvidia.com>
> > > Date: Jul/17/2019, 19:58:53 (UTC+00:00)
> > >
> > > > Let me know if you have any thoughts.
> > >
> > > Can you try attached patch ?
> > >
> >
> > The log says someone calls panic() right?
> > Can we trye and figure were that happens during the stmmac init phase?
> >
>
> The reason for the panic is hidden in this one line of the kernel logs:
> Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
>
> The init process is killed by SIGSEGV (signal 11 = 0xb).
>
> I would suggest you look for data corruption bugs in the RX path. If
> the code is fetched from the NFS mount then a corrupt RX buffer can
> trigger a crash in userspace.
>
> /Lars
Jon, I'm not familiar with ARM. Are the buffer addresses being allocated
in a coherent region ? Can you try attached patch which adds full memory
barrier before the sync ?
---
Thanks,
Jose Miguel Abreu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-net-stmmac-Add-memory-barrier.patch
Type: application/octet-stream
Size: 1397 bytes
Desc: 0001-net-stmmac-Add-memory-barrier.patch
URL: <http://st-md-mailman.stormreply.com/pipermail/linux-stm32/attachments/20190722/558efd2a/attachment.obj>
More information about the Linux-stm32
mailing list