From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Waskiewicz Jr, Peter P" Subject: Re: [PATCH 1/1] net: fec: fix miss init spinlock Date: Wed, 06 Feb 2013 05:48:24 -0800 Message-ID: <51125F28.4000409@intel.com> References: <1359708986-23634-1-git-send-email-Frank.Li@freescale.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Jim Baxter , netdev@vger.kernel.org To: Frank Li Return-path: Received: from mga11.intel.com ([192.55.52.93]:8837 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751032Ab3BFNs0 (ORCPT ); Wed, 6 Feb 2013 08:48:26 -0500 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On 2/6/2013 1:50 AM, Frank Li wrote: > > It is not easy to fix. Need put tx to NAPI poll function. > I will work on that after China New year holiday Converting Tx to NAPI is the best solution, but you can put a temporary fix in. Don't take a spin_lock() in fec_enet_tx(), rather take a spin_lock_irqsave() since you're still in HARDIRQ context. -PJ