Skip to content

net: ll_temac: x86_64 support

Esben Haabendal linux-arm-kernel lkml netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest12 patches 3 repliesIn review
  2. v10 of 12 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- Fixed lp->indirect_mutex initialization regression for OF platforms introduced in v2

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12net: ll_temac: Fix and simplify error handling by using devres functionsdrivers/net/ethernet/xilinx/ll_temac.h drivers/net/ethernet/xilinx/ll_temac_main.c drivers/net/ethernet/xilinx/ll_temac_mdio.c+22 -420 replies
2/12net: ll_temac: Extend support to non-device-tree platformsdrivers/net/ethernet/xilinx/ll_temac.h drivers/net/ethernet/xilinx/ll_temac_main.c drivers/net/ethernet/xilinx/ll_temac_mdio.c +1 more+166 -660 replies
3/12net: ll_temac: Fix support for 64-bit platformsdrivers/net/ethernet/xilinx/Kconfig drivers/net/ethernet/xilinx/ll_temac_main.c+32 -40 replies
4/12net: ll_temac: Add support for non-native register endiannessdrivers/net/ethernet/xilinx/ll_temac.h drivers/net/ethernet/xilinx/ll_temac_main.c include/linux/platform_data/xilinx-ll-temac.h+79 -220 replies
5/12net: ll_temac: Fix support for little-endian platformsdrivers/net/ethernet/xilinx/ll_temac_main.c+50 -390 replies
6/12net: ll_temac: Allow use on x86 platformsdrivers/net/ethernet/xilinx/Kconfig+2 -20 replies
7/12net: ll_temac: Support indirect_mutex share within TEMAC IPdrivers/net/ethernet/xilinx/ll_temac.h drivers/net/ethernet/xilinx/ll_temac_main.c drivers/net/ethernet/xilinx/ll_temac_mdio.c +1 more+43 -201 reply
8/12net: ll_temac: Fix iommu/swiotlb leakdrivers/net/ethernet/xilinx/ll_temac_main.c+1 -11 reply
9/12net: ll_temac: Fix bug causing buffer descriptor overrundrivers/net/ethernet/xilinx/ll_temac_main.c+1 -10 replies
10/12net: ll_temac: Replace bad usage of msleep() with usleep_range()drivers/net/ethernet/xilinx/ll_temac_main.c+1 -10 replies
11/12net: ll_temac: Allow configuration of IRQ coalescingdrivers/net/ethernet/xilinx/ll_temac.h drivers/net/ethernet/xilinx/ll_temac_main.c include/linux/platform_data/xilinx-ll-temac.h+37 -120 replies
12/12net: ll_temac: Enable DMA when ready, not beforedrivers/net/ethernet/xilinx/ll_temac_main.c+10 -50 replies

Reviews trailers per patch

5 of 12 patches have a Reviewed-by or Acked-by.

PatchAndrew Lunn
1/12
2/12
3/12R-b
4/12
5/12
6/12R-b
7/12R-b
8/12R-b
9/12
10/12R-b
11/12
12/12

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 00/12] net: ll_temac: x86_64 support

This patch series adds support for use of ll_temac driver with platform_data configuration and fixes endianess and 64-bit problems so that it can be used on x86_64 platform.

A few bugfixes are also included.

Changes since v2:
- Fixed lp->indirect_mutex initialization regression for OF platforms introduced in v2

Changes since v1:
- Make indirect_mutex specification mandatory when using platform_data
- Move header to include/linux/platform_data
- Enable COMPILE_TEST for XILINX_LL_TEMAC
- Rebased to v5.1-rc7

Esben Haabendal (12):
net: ll_temac: Fix and simplify error handling by using devres
functions
net: ll_temac: Extend support to non-device-tree platforms
net: ll_temac: Fix support for 64-bit platforms
net: ll_temac: Add support for non-native register endianness
net: ll_temac: Fix support for little-endian platforms
net: ll_temac: Allow use on x86 platforms
net: ll_temac: Support indirect_mutex share within TEMAC IP
net: ll_temac: Fix iommu/swiotlb leak
net: ll_temac: Fix bug causing buffer descriptor overrun
net: ll_temac: Replace bad usage of msleep() with usleep_range()
net: ll_temac: Allow configuration of IRQ coalescing
net: ll_temac: Enable DMA when ready, not before

 drivers/net/ethernet/xilinx/Kconfig           |   5 +-
 drivers/net/ethernet/xilinx/ll_temac.h        |  26 +-
 drivers/net/ethernet/xilinx/ll_temac_main.c   | 519 +++++++++++++++++---------
 drivers/net/ethernet/xilinx/ll_temac_mdio.c   |  53 +--
 include/linux/platform_data/xilinx-ll-temac.h |  32 ++
 5 files changed, 432 insertions(+), 203 deletions(-)
 create mode 100644 include/linux/platform_data/xilinx-ll-temac.h
Signature · 1 line
2.4.11