Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7012515ybi; Mon, 22 Jul 2019 05:40:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqzaB2nfcciWxOofTY2+GnaQ1nzIIGcmFp2k6Aie/mZhsTXBX+KepocBR6PQ+2OW+i5YG89x X-Received: by 2002:aa7:9481:: with SMTP id z1mr58005pfk.92.1563799241399; Mon, 22 Jul 2019 05:40:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563799241; cv=none; d=google.com; s=arc-20160816; b=IgH+B8z4g/mkFSp25KL/UD3jPTH33eVbeVhopoZIsCTKvhP9CTI4UC3da6fksFC+Jq J5kwA3xqMmOV0L1HhkudbBk1+0BcFDg/PFZKaDNMBQx7rBQuvpuoKbeooXh1D1C07XLS CSq+R9jk9geamHLuAfZkb7NdFLeTpKiYqSfguw4OFx+huC81TuZnui0SSrdbNHe0+tQx nJPncJi6nM/SSFJRl7sGuYw4FTueWZQRu64184xjCvrhI2g93uALqRZsH9iO/FkxB3zR mVExdAe8tzK8TVdiHmYXOPfKD4oTkBKx69pOPH1hdpZSACQc8sIyFDtzX6mGBBpA089+ 4i/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ugRN07ELNBGju0FZXfeTINwMh3Eu6S1IN6qjdKCIFBE=; b=PzNgGWWICnRUSJG7c3OJVGQiCv+Sk1KLVSmM2vrKv4hz9iPB3EL2vPthkpT9tSngKM aHQSZjUj1nh856WbEtsRHz8GDc/I4ofmmz+qIORyOk5wOEA8yB4tJFKqpxPw46pwUaXv 6Hy9rqQDt2F+ii8a3kcz66fyNFDIF5zYYqiIg6cr32goDxElsbRN0o80h2mlX4JUr1dr 5PV66o81ttmSzijwzrpxIj9JHD4TdCoaavkpRkmBMIkW5PkmzA2dwOsVjwXUidcq8/hM WXbJlkla7UdI+UOlb9lBWvuHCT+NXKPuJKSwjBrAuqisaRt/BqHIWMA0aRRWLPw0SZ5j RAKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bofh-nu.20150623.gappssmtp.com header.s=20150623 header.b=gFpS54Ax; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f37si730098pgm.145.2019.07.22.05.40.25; Mon, 22 Jul 2019 05:40:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@bofh-nu.20150623.gappssmtp.com header.s=20150623 header.b=gFpS54Ax; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727845AbfGVLMD (ORCPT + 99 others); Mon, 22 Jul 2019 07:12:03 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:52798 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725989AbfGVLMD (ORCPT ); Mon, 22 Jul 2019 07:12:03 -0400 Received: by mail-wm1-f68.google.com with SMTP id s3so34724534wms.2 for ; Mon, 22 Jul 2019 04:12:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bofh-nu.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ugRN07ELNBGju0FZXfeTINwMh3Eu6S1IN6qjdKCIFBE=; b=gFpS54Ax3j5KsNqU6isZdGlE+UrqmTn1H7kDrcDfPtz5MDBUHiilO+ZhfhdUYaCeeU rnEF6ZKsuR9+Iv9LsEGoAaEVzSJuQ9SY3MRzFskJQjMVNJtpIQo5TVJC2A470Fnv5WKA Kkwh4Qvq5M8KWeAHKby9Ab4DdLCxK9kvQlmG+LVcXjze03oJ9l16KEKk7AfepwwSlUmB 4PCxmpKH72WnymNl5ig50UJfK/N7j5HIxINywTZieue+9SYmx5xcD735gsjHwAFt1cX0 5yC2/bv/9IG7OT2uIPZuVOkzW+kwc0AoBZclZ7h01TmKpUOxv2kH86Bx5WGN7FOca3nn oKVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ugRN07ELNBGju0FZXfeTINwMh3Eu6S1IN6qjdKCIFBE=; b=FgD0FrS31qxxdd2e8t76S5qzhzkAGqxHHOROmU0OjTfzYZMDtM9E0sDS8huFUdwPJA utYXcPaOzwoJsDOlawWPRGOZqqfSepJ2FYm/dGGmq3N3RBZoS7VzRDBltsnHF7GdqO4j YaxcYvz52CZUxQRwyBKV8mMorYMBvb0TiqwIjlqTUcHBBoAPxHetLgYYfOQ01GAYGtaY H6ZypjNNDEzt7lIAJDPPF/v9jeHOR5ur7pasjM7m8Si8Y2wtTYVVcdZC+93Q7pLSqiQL 7s3moVGD9F3Vn+79ykYmTIsTpbjpi4b+6vg2/1gFjP2+sqAkEboYBuz6mzYt6RUuQKVE uKhg== X-Gm-Message-State: APjAAAU0Ar9F1tbHUoVPQfps2sgL56Ek7RPfJLspIn0iL67QmBUep1ed Up8zThLLTJ3tO2kRsEK/IKLH84W1zYRAspFuF1E= X-Received: by 2002:a05:600c:24a:: with SMTP id 10mr64703351wmj.7.1563793921410; Mon, 22 Jul 2019 04:12:01 -0700 (PDT) MIME-Version: 1.0 References: <1b254bb7fc6044c5e6e2fdd9e00088d1d13a808b.1562149883.git.joabreu@synopsys.com> <29dcc161-f7c8-026e-c3cc-5adb04df128c@nvidia.com> <20190722101830.GA24948@apalos> In-Reply-To: <20190722101830.GA24948@apalos> From: Lars Persson Date: Mon, 22 Jul 2019 13:11:50 +0200 Message-ID: Subject: Re: [PATCH net-next 3/3] net: stmmac: Introducing support for Page Pool To: Ilias Apalodimas Cc: Jose Abreu , Jon Hunter , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , "linux-stm32@st-md-mailman.stormreply.com" , "linux-arm-kernel@lists.infradead.org" , Joao Pinto , "David S . Miller" , Giuseppe Cavallaro , Alexandre Torgue , Maxime Coquelin , Maxime Ripard , Chen-Yu Tsai , linux-tegra Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 22, 2019 at 12:18 PM Ilias Apalodimas wrote: > > On Thu, Jul 18, 2019 at 07:48:04AM +0000, Jose Abreu wrote: > > From: Jon Hunter > > 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