[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100317.114717.30960972.davem@davemloft.net>
Date: Wed, 17 Mar 2010 11:47:17 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: chase.douglas@...onical.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 1/1] 3c59x: Acquire vortex lock instead of disabling irq
From: Chase Douglas <chase.douglas@...onical.com>
Date: Wed, 17 Mar 2010 14:44:30 -0400
> On Wed, Mar 17, 2010 at 2:27 PM, David Miller <davem@...emloft.net> wrote:
>> From: Chase Douglas <chase.douglas@...onical.com>
>> Date: Wed, 17 Mar 2010 14:20:45 -0400
>>
>>> If that's the case, what's the solution? It's not safe to call
>>> disable_irq* in softirq context anymore.
>>
>> That's a huge problem, because such a restriction has broken
>> several drivers. 3c59x is not the only one which uses this
>> technique for this reason. The 8390 one does too.
>
> So basically the answer right now is: it's broken and needs to be
> reworked, and a switch to disabling irqs is deemed inadequate. Is that
> accurate?
Yep. The bug is whatever caused disable_irq*() to stop working
where these drivers have been using it for what feels like
a century :-)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists