netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/1] net: stmmac: dwmac-tegra: Read iommu stream id from device tree
@ 2024-11-15 16:31 Parker Newman
  2024-11-15 16:31 ` [PATCH v1 1/1] " Parker Newman
  0 siblings, 1 reply; 16+ messages in thread
From: Parker Newman @ 2024-11-15 16:31 UTC (permalink / raw)
  To: Alexandre Torgue, Jose Abreu, Andrew Lunn, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Maxime Coquelin,
	Thierry Reding, Jonathan Hunter, netdev, linux-stm32,
	linux-arm-kernel, linux-tegra, linux-kernel
  Cc: Parker Newman

From: Parker Newman <pnewman@connecttech.com>

Nvidia Tegra MGBE controllers require the iommu "Stream ID" (SID) to be
written to a register for proper operation.
The current driver is hard coded to mgbe0's SID, causing the other mgbe
controller instances to not work.

This patch enables the other mgbe controllers by reading the SID from the
iommus property in the device tree using the existing
tegra_dev_iommu_get_stream_id() function in linux/iommu.h.

Parker Newman (1):
  net: stmmac: dwmac-tegra: Read iommu stream id from device tree

 drivers/net/ethernet/stmicro/stmmac/dwmac-tegra.c | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)


base-commit: 37c5695cb37a20403947062be8cb7e00f6bed353
--
2.47.0


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

end of thread, other threads:[~2024-12-10 18:50 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-15 16:31 [PATCH v1 0/1] net: stmmac: dwmac-tegra: Read iommu stream id from device tree Parker Newman
2024-11-15 16:31 ` [PATCH v1 1/1] " Parker Newman
2024-11-15 17:17   ` Paolo Abeni
2024-11-15 18:59     ` Parker Newman
2024-11-16 19:22       ` Andrew Lunn
2024-11-18 13:44         ` Parker Newman
2024-11-19  0:50           ` Andrew Lunn
2024-11-19 18:13             ` Parker Newman
2024-11-19 19:18               ` Andrew Lunn
2024-11-19 19:47                 ` Parker Newman
2024-12-04 16:23                   ` Thierry Reding
2024-12-04 16:53                     ` Parker Newman
2024-12-04 18:06                       ` Thierry Reding
2024-12-06 13:42                         ` Parker Newman
2024-12-06 16:01                           ` Thierry Reding
2024-12-10 18:49                             ` Parker Newman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).