From: Florian Fainelli <f.fainelli@gmail.com>
To: netdev@vger.kernel.org
Cc: davem@davemloft.net, andrew@lunn.ch, rmk+kernel@armlinux.org.uk,
maowenan@huawei.com, Florian Fainelli <f.fainelli@gmail.com>
Subject: [PATCH net v2 0/3] net: phy: Unbind/bind fixes
Date: Tue, 7 Feb 2017 23:37:43 -0800 [thread overview]
Message-ID: <20170208073746.10963-1-f.fainelli@gmail.com> (raw)
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.
Changes in v2:
- fixed net: phy: Fix lack of reference count on PHY driver against
the Generic PHY driver which is special
Florian Fainelli (3):
net: phy: Fix PHY module checks
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 | 35 ++++++++++++++++++++++++++++++-----
include/linux/phy.h | 3 +++
3 files changed, 55 insertions(+), 9 deletions(-)
--
2.9.3
next reply other threads:[~2017-02-08 7:37 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-08 7:37 Florian Fainelli [this message]
2017-02-08 7:37 ` [PATCH net v2 1/3] net: phy: Fix PHY module checks Florian Fainelli
2017-02-08 7:57 ` maowenan
2017-02-08 17:46 ` Florian Fainelli
2017-02-08 16:46 ` Fabio Estevam
2017-02-08 16:57 ` Andrew Lunn
2017-02-08 17:55 ` Florian Fainelli
2017-02-08 7:37 ` [PATCH net v2 2/3] net: phy: Check phydev->drv Florian Fainelli
2017-02-08 7:37 ` [PATCH net v2 3/3] net: phy: Fix PHY driver bind and unbind events Florian Fainelli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170208073746.10963-1-f.fainelli@gmail.com \
--to=f.fainelli@gmail.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=maowenan@huawei.com \
--cc=netdev@vger.kernel.org \
--cc=rmk+kernel@armlinux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).