mbox series

[v2,net-next,0/2] net: dsa: realtek: fix PHY register read corruption

Message ID 20220221184631.252308-1-alvin@pqrs.dk (mailing list archive)
Headers show
Series net: dsa: realtek: fix PHY register read corruption | expand

Message

Alvin Šipraga Feb. 21, 2022, 6:46 p.m. UTC
From: Alvin Šipraga <alsi@bang-olufsen.dk>

These two patches fix the issue reported by Arınç where PHY register
reads sometimes return garbage data.

v1 -> v2:

- no code changes
- just update the commit message of patch 2 to reflect the conclusion
  of further investigation requested by Vladimir

Alvin Šipraga (2):
  net: dsa: realtek: allow subdrivers to externally lock regmap
  net: dsa: realtek: rtl8365mb: serialize indirect PHY register access

 drivers/net/dsa/realtek/realtek-mdio.c | 46 +++++++++++++++++++++-
 drivers/net/dsa/realtek/realtek-smi.c  | 48 +++++++++++++++++++++--
 drivers/net/dsa/realtek/realtek.h      |  2 +
 drivers/net/dsa/realtek/rtl8365mb.c    | 54 ++++++++++++++++----------
 4 files changed, 124 insertions(+), 26 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Feb. 23, 2022, 12:30 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:

On Mon, 21 Feb 2022 19:46:29 +0100 you wrote:
> From: Alvin Šipraga <alsi@bang-olufsen.dk>
> 
> These two patches fix the issue reported by Arınç where PHY register
> reads sometimes return garbage data.
> 
> v1 -> v2:
> 
> [...]

Here is the summary with links:
  - [v2,net-next,1/2] net: dsa: realtek: allow subdrivers to externally lock regmap
    https://git.kernel.org/netdev/net-next/c/907e772f6f6d
  - [v2,net-next,2/2] net: dsa: realtek: rtl8365mb: serialize indirect PHY register access
    https://git.kernel.org/netdev/net-next/c/2796728460b8

You are awesome, thank you!