From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Zyngier Subject: Re: [BUG] MVPP2 driver exploding in presence of a tap interface Date: Tue, 30 Oct 2018 14:55:01 +0000 Message-ID: <6bf82e04-5463-aa7d-bbac-f09519ff9815@arm.com> References: <6355174d-4ab6-595d-17db-311bce607aef@arm.com> <20181030105015.GB3407@kwain> <7bd72963-1e7c-5175-ba88-fc020d786f0c@arm.com> <20181030140056.2fc69efc@windsurf> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Antoine Tenart , Maxime Chevallier , linux-arm-kernel@lists.infradead.org, netdev , Grzegorz Jaszczyk , Tomasz Nowicki To: Thomas Petazzoni , Marcin Wojtas Return-path: Received: from foss.arm.com ([217.140.101.70]:53792 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726336AbeJ3Xsv (ORCPT ); Tue, 30 Oct 2018 19:48:51 -0400 In-Reply-To: <20181030140056.2fc69efc@windsurf> Content-Language: en-GB Sender: netdev-owner@vger.kernel.org List-ID: On 30/10/18 13:00, Thomas Petazzoni wrote: > Hello Marcin, > > Thanks for the feedback. > > On Tue, 30 Oct 2018 13:37:37 +0100, Marcin Wojtas wrote: > >> You use _really_ archaic firmware, the bug you see is 99% caused by a >> bug already fixed long time ago (cleanup all PP2 BM pools correctly >> during exit boot services). Please grab the latest release: >> https://github.com/MarvellEmbeddedProcessors/edk2-open-platform/wiki/files/flash-image-18.09.4.bin >> and let know if you observe any further issues with vanilla kernel. > > Even if this was a bug in the UEFI firmware, shouldn't the kernel be > independent from that, by doing a proper reset/reinit of the HW ? > > I.e, isn't the firmware fix papering over a bug that should be fixed in > Linux mvpp2 driver anyway ? Absolutely. Leaving this unpatched in the kernel, with a 100% chance of memory corruption is just mad. I'm pretty sure there should be a way to sanely reset the interface before it starts repainting the memory. And if there is none, we must find a way to tell the user that the machine is a death trap. Really. M. PS: updating the FW to the version provided by Marcin indeed makes things much more reliable. Thanks for that. -- Jazz is not dead. It just smells funny...