[edk2-devel] [edk2-platforms PATCH v1 0/3] Robust Netsec Initialiation

Masahisa Kojima posted 3 patches 4 years, 9 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
.../Socionext/DeveloperBox/DeveloperBox.dsc   |   1 +
.../Drivers/Net/NetsecDxe/NetsecDxe.c         | 236 ++++++++----------
.../Drivers/Net/NetsecDxe/NetsecDxe.dec       |   1 +
.../Drivers/Net/NetsecDxe/NetsecDxe.h         |   2 -
.../Drivers/Net/NetsecDxe/NetsecDxe.inf       |   1 +
.../netsec_sdk/include/ogma_api.h             |   6 +-
.../netsec_sdk/src/ogma_gmac_access.c         |  61 ++---
.../netsec_sdk/src/ogma_internal.h            |   2 +
.../netsec_sdk/src/ogma_misc.c                |  78 +++++-
.../netsec_for_uefi/netsec_sdk/src/ogma_reg.h |   4 +
10 files changed, 210 insertions(+), 182 deletions(-)
[edk2-devel] [edk2-platforms PATCH v1 0/3] Robust Netsec Initialiation
Posted by Masahisa Kojima 4 years, 9 months ago
This patch series is bugfix for the hang-up issue in Netsec driver.

Some linux distributions such as Ubuntu power down the ethernet phy
in reboot. In this case, Netsec initialization fails and
system hungs.

This patch series add the robust netsec initialization,
set ethernet phy as loopback mode to expect stable RXCLK,
and wait for media link up.

The disadvantage of this patch series is that user has to wait
several seconds until netsec driver gives up ethernet link-up
if the ethernet cable is not connected.

Masahisa Kojima (3):
  NetsecDxe: embed phy address into NETSEC SDK internal structure
  NetsecDxe: put phy in loopback mode in order to guarantee stable RXCLK
    input
  NetsecDxe: SnpInitialize() waits for media linking up

 .../Socionext/DeveloperBox/DeveloperBox.dsc   |   1 +
 .../Drivers/Net/NetsecDxe/NetsecDxe.c         | 236 ++++++++----------
 .../Drivers/Net/NetsecDxe/NetsecDxe.dec       |   1 +
 .../Drivers/Net/NetsecDxe/NetsecDxe.h         |   2 -
 .../Drivers/Net/NetsecDxe/NetsecDxe.inf       |   1 +
 .../netsec_sdk/include/ogma_api.h             |   6 +-
 .../netsec_sdk/src/ogma_gmac_access.c         |  61 ++---
 .../netsec_sdk/src/ogma_internal.h            |   2 +
 .../netsec_sdk/src/ogma_misc.c                |  78 +++++-
 .../netsec_for_uefi/netsec_sdk/src/ogma_reg.h |   4 +
 10 files changed, 210 insertions(+), 182 deletions(-)

-- 
2.17.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#44136): https://edk2.groups.io/g/devel/message/44136
Mute This Topic: https://groups.io/mt/32557829/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-