diff options
author | David S. Miller <davem@davemloft.net> | 2016-09-16 02:23:06 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-16 02:23:06 -0400 |
commit | bf0a6dae9d2741a9827774cdcfd5fca436bedd23 (patch) | |
tree | 1d2a46291794c227357058f756fb26504f126a1d /net/ipv4 | |
parent | 364eac0c8b996633aa822b65476ae002a4aacd20 (diff) | |
parent | dce6fa42199d493596315cddc0b4e7ac1d57475b (diff) | |
download | op-kernel-dev-bf0a6dae9d2741a9827774cdcfd5fca436bedd23.zip op-kernel-dev-bf0a6dae9d2741a9827774cdcfd5fca436bedd23.tar.gz |
Merge branch 'mediatek-reset-flow'
Sean Wang says:
====================
mediatek: add enhancement into the existing reset flow
Current driver only resets DMA used by descriptor rings which
can't guarantee it can recover all various kinds of fatal
errors, so the patch
1) tries to reset the underlying hardware resource from scratch on
Mediatek SoC required for ethernet running.
2) refactors code in order to the reusability of existing code.
3) considers handling for race condition between the reset flow and
callbacks registered into core driver called about hardware accessing.
4) introduces power domain usage to hardware setup which leads to have
cleanly and completely restore to the state as the initial.
Changes since v1:
- fix the build error with module built causing undefined symbol for
pinctrl_bind_pins, so using pinctrl_select_state instead accomplishes
the pin mux setup during the reset process.
====================
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions