Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753499AbbKZV4x (ORCPT ); Thu, 26 Nov 2015 16:56:53 -0500 Received: from violet.fr.zoreil.com ([92.243.8.30]:48565 "EHLO violet.fr.zoreil.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753100AbbKZV4t (ORCPT ); Thu, 26 Nov 2015 16:56:49 -0500 Date: Thu, 26 Nov 2015 22:56:39 +0100 From: Francois Romieu To: Pavel Machek Cc: kernel list , jcliburn@gmail.com, chris.snook@gmail.com, netdev@vger.kernel.org, "Rafael J. Wysocki" , linux-mm@kvack.org, nic-devel@qualcomm.com, ronangeles@gmail.com, ebiederm@xmission.com, David Miller Subject: Re: 4.3+: Atheros ethernet fails after resume from s2ram, due to order 4 allocation Message-ID: <20151126215638.GA22801@electric-eye.fr.zoreil.com> References: <20151126163413.GA3816@amd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151126163413.GA3816@amd> X-Organisation: Land of Sunshine Inc. User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 611 Lines: 18 Pavel Machek : [...] > Ok, so what went on is easy.. any ideas how to fix it ? The driver should 1) prohibit holes in its receive ring, 2) allocate before pushing data up in the stack 3) drop packets when it can't allocate a fresh buffer and 4) stop releasing receive buffers - and any resource for that matter - during suspend. Really. -- Ueimor -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/