Thread (4 messages) flat view 4 messages, 1 author, 2017-02-08

Re: [PATCH net 0/2] net: phy: Unbind/bind fixes

From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2017-02-08 06:48:22


On 02/05/2017 02:25 PM, Florian Fainelli wrote:
Hi all,

This patch series addresses the inability to safely unbind and bind
PHY drivers by making the appropriate checks throught PHYLIB where we
may be directly responding to user-space queries, as well as from within
the kernel state machine.

The second patch makes the unbind -> bind working by taking care of the
PHY state machine state.
I need to make another set of fixes after "net: phy: Fix lack of
reference count on PHY driver" because the Generic PHY driver is of
course behaving differently and my testing was focused on every other
one but this one which is built-in...
Florian Fainelli (2):
  net: phy: Check phydev->drv
  net: phy: Fix PHY driver bind and unbind events

 drivers/net/phy/phy.c        | 26 ++++++++++++++++++++++----
 drivers/net/phy/phy_device.c | 27 +++++++++++++++++++++++++--
 include/linux/phy.h          |  3 +++
 3 files changed, 50 insertions(+), 6 deletions(-)
-- 
Florian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help