From: isubramanian@apm.com (Iyappan Subramanian)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v5 00/11] drivers: net: xgene: Fix module crash and 1G hot-plug
Date: Thu, 7 Jul 2016 16:02:48 -0700 [thread overview]
Message-ID: <1467932579-14320-1-git-send-email-isubramanian@apm.com> (raw)
This patchset addresses the following issues,
1. Fixes the kernel crash when the driver loaded as an kernel module
- by fixing hardware cleanups and rearrange kernel API calls
2. Hot-plug issue on the SGMII 1G interface
- by adding a driver for MDIO management
Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
Tested-by: Fushen Chen <fchen@apm.com>
Tested-by: Toan Le <toanle@apm.com>
---
v5: Address review comments from v4
- Fixed clock reset sequence by adding delay
- Fixed clock count by adding clk_unprepare_disable() in port shutdown
v4: Address review comments from v3
- Reorganized into smaller patches
- Added wrapper functions for sgmii_control_reset and sgmii_tbi_control_reset
- Removed clk_get warning info
- mdio: Changed the order of 'if' statements and removed the 'else' statement
- mdio: Removed the mdio_read(write) indirection wrapper functions
- ethtool: Fixed SGMII 1G get_settings and set_settings
- Documentation: dtb: Added MDIO node information
- MAINTAINERS: Added MDIO driver and documentation path
v3: Address review comments from v2
- Add comment about hardware clock reset sequence on xgene_mdio_reset
v2: Address review comments from v1
- Fixed patch 1 compilation error
- Fixed mdio at 1f610000 xge0clk reference
- Squashed dtb patches
- Added PORT_OFFSET macro
v1:
- Initial version
---
Iyappan Subramanian (11):
drivers: net: xgene: Separate set_speed from mac_init
drivers: net: xgene: Fix module unload crash - hw resource cleanup
drivers: net: xgene: Fix module unload crash - change sw sequence
drivers: net: xgene: Fix module unload crash - clkrst sequence
drivers: net: phy: xgene: Add MDIO driver
drivers: net: xgene: Add backward compatibility
drivers: net: xgene: Enable MDIO driver
drivers: net: xgene: ethtool: Use phy_ethtool_gset and sset
dtb: xgene: Add MDIO node
Documentation: dtb: xgene: Add MDIO node
MAINTAINERS: xgene: Add driver and documentation path
.../devicetree/bindings/net/apm-xgene-mdio.txt | 37 ++
MAINTAINERS | 2 +
arch/arm64/boot/dts/apm/apm-mustang.dts | 12 +
arch/arm64/boot/dts/apm/apm-storm.dtsi | 36 +-
drivers/net/ethernet/apm/xgene/Kconfig | 1 +
.../net/ethernet/apm/xgene/xgene_enet_ethtool.c | 22 +-
drivers/net/ethernet/apm/xgene/xgene_enet_hw.c | 159 +++++--
drivers/net/ethernet/apm/xgene/xgene_enet_hw.h | 11 +-
drivers/net/ethernet/apm/xgene/xgene_enet_main.c | 220 ++++++----
drivers/net/ethernet/apm/xgene/xgene_enet_main.h | 33 +-
drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c | 237 ++++++++--
drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.h | 8 +
drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.c | 66 ++-
drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.h | 3 +
drivers/net/phy/Kconfig | 6 +
drivers/net/phy/Makefile | 1 +
drivers/net/phy/mdio-xgene.c | 487 +++++++++++++++++++++
drivers/net/phy/mdio-xgene.h | 140 ++++++
18 files changed, 1278 insertions(+), 203 deletions(-)
create mode 100644 Documentation/devicetree/bindings/net/apm-xgene-mdio.txt
create mode 100644 drivers/net/phy/mdio-xgene.c
create mode 100644 drivers/net/phy/mdio-xgene.h
--
1.9.1
next reply other threads:[~2016-07-07 23:02 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-07 23:02 Iyappan Subramanian [this message]
2016-07-07 23:02 ` [PATCH v5 01/11] drivers: net: xgene: Separate set_speed from mac_init Iyappan Subramanian
2016-07-07 23:02 ` [PATCH v5 02/11] drivers: net: xgene: Fix module unload crash - hw resource cleanup Iyappan Subramanian
2016-07-07 23:02 ` [PATCH v5 03/11] drivers: net: xgene: Fix module unload crash - change sw sequence Iyappan Subramanian
2016-07-07 23:02 ` [PATCH v5 04/11] drivers: net: xgene: Fix module unload crash - clkrst sequence Iyappan Subramanian
2016-07-07 23:02 ` [PATCH v5 05/11] drivers: net: phy: xgene: Add MDIO driver Iyappan Subramanian
2016-07-08 5:13 ` Florian Fainelli
2016-07-07 23:02 ` [PATCH v5 06/11] drivers: net: xgene: Add backward compatibility Iyappan Subramanian
2016-07-07 23:02 ` [PATCH v5 07/11] drivers: net: xgene: Enable MDIO driver Iyappan Subramanian
2016-07-07 23:02 ` [PATCH v5 08/11] drivers: net: xgene: ethtool: Use phy_ethtool_gset and sset Iyappan Subramanian
2016-07-07 23:02 ` [PATCH v5 09/11] dtb: xgene: Add MDIO node Iyappan Subramanian
2016-08-01 21:13 ` Olof Johansson
2016-08-02 19:10 ` Duc Dang
2016-07-07 23:02 ` [PATCH v5 10/11] Documentation: " Iyappan Subramanian
2016-07-13 13:10 ` Rob Herring
2016-07-21 17:57 ` Iyappan Subramanian
2016-07-07 23:02 ` [PATCH v5 11/11] MAINTAINERS: xgene: Add driver and documentation path Iyappan Subramanian
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=1467932579-14320-1-git-send-email-isubramanian@apm.com \
--to=isubramanian@apm.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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).