From: "Masahisa Kojima" <masahisa.kojima@linaro.org>
To: devel@edk2.groups.io
Cc: ard.biesheuvel@linaro.org, leif.lindholm@linaro.org,
okamoto.satoru@socionext.com,
Masahisa Kojima <masahisa.kojima@linaro.org>
Subject: [PATCH edk2-platforms v3 0/3] Robust Netsec Initialiation
Date: Thu, 8 Aug 2019 21:23:32 +0900 [thread overview]
Message-ID: <20190808122335.11883-1-masahisa.kojima@linaro.org> (raw)
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.
Changes since v2:
- use From: tag instead of Signed-off-by:
Changes since v1:
- modified wrong indent
- updated order of new parameter
- updated comment
- removed unrelated whitespace changes
Satoru Okamoto (3):
NetsecDxe: embed phy address into NETSEC SDK internal structure
NetsecDxe: put phy in loopback mode 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, 211 insertions(+), 181 deletions(-)
--
2.17.1
next reply other threads:[~2019-08-08 12:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-08 12:23 Masahisa Kojima [this message]
2019-08-08 12:23 ` [PATCH edk2-platforms v3 1/3] NetsecDxe: embed phy address into NETSEC SDK internal structure Masahisa Kojima
2019-08-08 12:23 ` [PATCH edk2-platforms v3 2/3] NetsecDxe: put phy in loopback mode to guarantee stable RXCLK input Masahisa Kojima
2019-08-08 12:23 ` [PATCH edk2-platforms v3 3/3] NetsecDxe: SnpInitialize() waits for media linking up Masahisa Kojima
2019-08-08 15:58 ` [PATCH edk2-platforms v3 0/3] Robust Netsec Initialiation Leif Lindholm
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-list 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=20190808122335.11883-1-masahisa.kojima@linaro.org \
--to=devel@edk2.groups.io \
/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