public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] net: dsa: b53: mmap: add dsa switch ops
@ 2023-03-23 17:02 Álvaro Fernández Rojas
  2023-03-23 17:02 ` [PATCH 1/1] " Álvaro Fernández Rojas
  2023-03-23 18:19 ` [PATCH 0/1] " Florian Fainelli
  0 siblings, 2 replies; 5+ messages in thread
From: Álvaro Fernández Rojas @ 2023-03-23 17:02 UTC (permalink / raw)
  To: f.fainelli, jonas.gorski, andrew, olteanv, davem, edumazet, kuba,
	pabeni, linux, netdev, linux-kernel
  Cc: Álvaro Fernández Rojas

B53 MMAP switches have a MDIO Mux bus controller which should be used instead
of the default phy_read/phy_write ops used in the rest of the B53 controllers.
Therefore, in order to use the proper MDIO Mux bus controller we need to
replicate the default B53 DSA switch ops removing the phy_read/phy_write
entries.
Without this, when external switches are configured together with B53 MMAP
internal switches the device will hang on phy_read/phy_write ops.

This is an alternative to:
- https://patchwork.kernel.org/project/netdevbpf/cover/20230317113427.302162-1-noltari@gmail.com/
- https://patchwork.kernel.org/project/netdevbpf/patch/20230317113427.302162-2-noltari@gmail.com/
- https://patchwork.kernel.org/project/netdevbpf/patch/20230317113427.302162-3-noltari@gmail.com/
- https://patchwork.kernel.org/project/netdevbpf/patch/20230317113427.302162-4-noltari@gmail.com/
As discussed, it was an ABI break and not the correct way of fixing the issue.

And also to:
- https://patchwork.kernel.org/project/netdevbpf/patch/20230320182813.963508-1-noltari@gmail.com/

Álvaro Fernández Rojas (1):
  net: dsa: b53: mmap: add dsa switch ops

 drivers/net/dsa/b53/b53_common.c | 22 +++++++++---------
 drivers/net/dsa/b53/b53_mmap.c   | 40 ++++++++++++++++++++++++++++++++
 drivers/net/dsa/b53/b53_priv.h   | 11 +++++++++
 3 files changed, 62 insertions(+), 11 deletions(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-03-23 19:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-23 17:02 [PATCH 0/1] net: dsa: b53: mmap: add dsa switch ops Álvaro Fernández Rojas
2023-03-23 17:02 ` [PATCH 1/1] " Álvaro Fernández Rojas
2023-03-23 18:19 ` [PATCH 0/1] " Florian Fainelli
2023-03-23 19:42   ` Álvaro Fernández Rojas
2023-03-23 19:45     ` Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox