From: "Russell King (Oracle)" <linux@armlinux.org.uk>
To: Andrew Lunn <andrew@lunn.ch>,
Heiner Kallweit <hkallweit1@gmail.com>,
Sean Anderson <sean.anderson@seco.com>
Cc: "David S. Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>,
netdev@vger.kernel.org
Subject: [PATCH net-next 0/2] Add mdiobus_modify_changed() helper
Date: Wed, 6 Oct 2021 13:18:41 +0100 [thread overview]
Message-ID: <YV2UIa2eU+UjmWaE@shell.armlinux.org.uk> (raw)
Hi,
Sean Anderson's recent patch series is introducing more read-write
operations on the MDIO bus that only need to happen if a change is
being made.
We have similar logic in __mdiobus_modify_changed(), but we didn't
add its correponding locked variant mdiobus_modify_changed() as we
had very few users. Now that we are getting more, let's add the
helper.
v2: fix build warnings in patch2, add Andrew's RB to patch 1
drivers/net/phy/mdio_bus.c | 22 ++++++++++++++++++++++
drivers/net/phy/phylink.c | 29 ++++-------------------------
include/linux/mdio.h | 2 ++
3 files changed, 28 insertions(+), 25 deletions(-)
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!
next reply other threads:[~2021-10-06 12:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-06 12:18 Russell King (Oracle) [this message]
2021-10-06 12:19 ` [PATCH v2 net-next 1/2] net: mdio: add mdiobus_modify_changed() Russell King (Oracle)
2021-10-06 12:19 ` [PATCH v2 net-next 2/2] net: phylink: use mdiobus_modify_changed() helper Russell King (Oracle)
2021-10-06 21:14 ` Andrew Lunn
2021-10-07 1:10 ` [PATCH net-next 0/2] Add " patchwork-bot+netdevbpf
-- strict thread matches above, loose matches on Subject: below --
2021-10-05 15:32 Russell King (Oracle)
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=YV2UIa2eU+UjmWaE@shell.armlinux.org.uk \
--to=linux@armlinux.org.uk \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=hkallweit1@gmail.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=sean.anderson@seco.com \
/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).