[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <af8f7c76-f2fe-95ac-4151-0189baf84a53@cogentembedded.com>
Date: Wed, 28 Sep 2016 15:13:46 +0300
From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
To: Andrew Lunn <andrew@...n.ch>,
Florian Fainelli <f.fainelli@...il.com>,
Vivien Didelot <vivien.didelot@...oirfairelinux.com>
Cc: netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH RFC 3/6] net: phy: Threaded interrupts allow some
simplification
On 9/28/2016 2:46 PM, Sergei Shtylyov wrote:
>> The PHY interrupts are now handled in a threaded interrupt handler,
>> which can sleep. The work queue is no longer needed, phy_change() can
>> be called directly. Additionally, none of the callers of
>> phy_mac_interrupt() did so in interrupt context, so fully remove the
>
> I did intend to call it from interrupt context (from the ravb driver).
>
>> work queue, and document that phy_mac_interrupt() should not be called
>> in interrupt context.
>
> It was intentionally made callable from the interrupt context, I'd prefer
> if you wouldn't change that.
OTOH, it's still not very handy to call because of the 'new_link'
parameter which I'm not sure I can provide...
>> Signed-off-by: Andrew Lunn <andrew@...n.ch>
> [...]
MBR, Sergei
Powered by blists - more mailing lists