Skip to content

pull-request: can-next 2022-01-08

Marc Kleine-Budde linux-can netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest22 patches 0 repliesApplied 22/22

Patches in v1 All 22 applied

#Subject and filesSizeRepliesApplied
1/22can: janz-ican3: initialize dlc variabledrivers/net/can/janz-ican3.c+1 -10 repliesApplied
2/22can: mcp251xfd: remove double blank linesdrivers/net/can/spi/mcp251xfd/mcp251xfd-core.c drivers/net/can/spi/mcp251xfd/mcp251xfd-regmap.c+0 -20 repliesApplied
3/22can: mcp251xfd: mcp251xfd_tef_obj_read(): fix typo in error messagedrivers/net/can/spi/mcp251xfd/mcp251xfd-core.c+1 -10 repliesApplied
4/22can: mcp251xfd: add missing newline to printed stringsdrivers/net/can/spi/mcp251xfd/mcp251xfd-core.c+2 -20 repliesApplied
5/22can: mcp251xfd: mcp251xfd_open(): open_candev() firstdrivers/net/can/spi/mcp251xfd/mcp251xfd-core.c+8 -80 repliesApplied
6/22can: mcp251xfd: mcp251xfd_open(): make use of pm_runtime_resume_and_get()drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c+2 -40 repliesApplied
7/22can: mcp251xfd: mcp251xfd_handle_rxovif(): denote RX overflow message to debug + add rate limitingdrivers/net/can/spi/mcp251xfd/mcp251xfd-core.c+8 -50 repliesApplied
8/22can: mcp251xfd: mcp251xfd.h: sort function prototypesdrivers/net/can/spi/mcp251xfd/mcp251xfd.h+1 -10 repliesApplied
9/22can: mcp251xfd: move RX handling into separate filedrivers/net/can/spi/mcp251xfd/Makefile drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c drivers/net/can/spi/mcp251xfd/mcp251xfd-rx.c +1 more+262 -2440 repliesApplied
10/22can: mcp251xfd: move TX handling into separate filedrivers/net/can/spi/mcp251xfd/Makefile drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c drivers/net/can/spi/mcp251xfd/mcp251xfd-tx.c +1 more+209 -1870 repliesApplied
11/22can: mcp251xfd: move TEF handling into separate filedrivers/net/can/spi/mcp251xfd/Makefile drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c drivers/net/can/spi/mcp251xfd/mcp251xfd-tef.c +1 more+281 -2610 repliesApplied
12/22can: mcp251xfd: move chip FIFO init into separate filedrivers/net/can/spi/mcp251xfd/Makefile drivers/net/can/spi/mcp251xfd/mcp251xfd-chip-fifo.c drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c +1 more+121 -1020 repliesApplied
13/22can: mcp251xfd: move ring init into separate functiondrivers/net/can/spi/mcp251xfd/Makefile drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c drivers/net/can/spi/mcp251xfd/mcp251xfd-ring.c +1 more+274 -2550 repliesApplied
14/22can: mcp251xfd: introduce and make use of mcp251xfd_is_fd_mode()drivers/net/can/spi/mcp251xfd/mcp251xfd-chip-fifo.c drivers/net/can/spi/mcp251xfd/mcp251xfd-ring.c drivers/net/can/spi/mcp251xfd/mcp251xfd.h+9 -40 repliesApplied
15/22can: flexcan: move driver into separate sub directorydrivers/net/can/Makefile drivers/net/can/flexcan/Makefile drivers/net/can/flexcan/flexcan-core.c+7 -10 repliesApplied
16/22can: flexcan: allow to change quirks at runtimedrivers/net/can/flexcan/flexcan-core.c+27 -270 repliesApplied
17/22can: flexcan: rename RX modesdrivers/net/can/flexcan/flexcan-core.c+24 -240 repliesApplied
18/22can: flexcan: add more quirks to describe RX path capabilitiesdrivers/net/can/flexcan/flexcan-core.c+54 -120 repliesApplied
19/22can: flexcan: add ethtool support to change rx-rtr setting during runtimedrivers/net/can/flexcan/Makefile drivers/net/can/flexcan/flexcan-core.c drivers/net/can/flexcan/flexcan-ethtool.c +1 more+260 -990 repliesApplied
20/22can: flexcan: add ethtool support to get rx/tx ring parametersdrivers/net/can/flexcan/flexcan-ethtool.c+21 -00 repliesApplied
21/22docs: networking: device drivers: add can sub-folderDocumentation/networking/device_drivers/can/index.rst Documentation/networking/device_drivers/index.rst+19 -00 repliesApplied
22/22docs: networking: device drivers: can: add flexcanDocumentation/networking/device_drivers/can/freescale/flexcan.rst Documentation/networking/device_drivers/can/index.rst+56 -00 repliesApplied

Reviews trailers per patch

1 of 22 patches has a Reviewed-by or Acked-by.

PatchVincent Mailhol
1/22A-b
2/22
3/22
4/22
5/22
6/22
7/22
8/22
9/22
10/22
11/22
12/22
13/22
14/22
15/22
16/22
17/22
18/22
19/22
20/22
21/22
22/22

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

Read the v1 thread

Cover letter [PATCH net-next 0/22] pull-request: can-next 2022-01-08

Hello Jakub, hello David,

this is a pull request of 22 patches for net-next/master.

The first patch is by Tom Rix and fixes an uninitialized variable in the janz-ican3 driver (introduced in linux-can-next-for-5.17-20220105).

The next 13 patches are by my and target the mcp251xfd driver. First several cleanup patches, then the driver is prepared for the upcoming ethtool ring parameter and IRQ coalescing support, which is added in a later pull request.

The remaining 8 patches are by Dario Binacchi and me and enhance the flexcan driver. The driver is moved into a sub directory. An ethtool private flag is added to optionally disable CAN RTR frame reception, to make use of more RX buffers. The resulting RX buffer configuration can be read by ethtool ring parameter support. Finally documentation for the ethtool private flag is added to the Documentation/networking/device_drivers/can directory.

regards,
Marc

---

The following changes since commit 82192cb497f9eca6c0d44dbc173e68d59ea2f3c9:

Merge branch 'ena-capabilities-field-and-cosmetic-changes' (2022-01-07 19:25:58 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git tags/linux-can-next-for-5.17-20220108

for you to fetch changes up to bc3897f79f7901902bb44d62dd1ad1b2b48e9378:

docs: networking: device drivers: can: add flexcan (2022-01-08 21:22:58 +0100)

----------------------------------------------------------------
linux-can-next-for-5.17-20220108

----------------------------------------------------------------
Dario Binacchi (4):
can: flexcan: allow to change quirks at runtime
can: flexcan: add ethtool support to get rx/tx ring parameters
docs: networking: device drivers: add can sub-folder
docs: networking: device drivers: can: add flexcan

Marc Kleine-Budde (17):
can: mcp251xfd: remove double blank lines
can: mcp251xfd: mcp251xfd_tef_obj_read(): fix typo in error message
can: mcp251xfd: add missing newline to printed strings
can: mcp251xfd: mcp251xfd_open(): open_candev() first
can: mcp251xfd: mcp251xfd_open(): make use of pm_runtime_resume_and_get()
can: mcp251xfd: mcp251xfd_handle_rxovif(): denote RX overflow message to debug + add rate limiting
can: mcp251xfd: mcp251xfd.h: sort function prototypes
can: mcp251xfd: move RX handling into separate file
can: mcp251xfd: move TX handling into separate file
can: mcp251xfd: move TEF handling into separate file
can: mcp251xfd: move chip FIFO init into separate file
can: mcp251xfd: move ring init into separate function
can: mcp251xfd: introduce and make use of mcp251xfd_is_fd_mode()
can: flexcan: move driver into separate sub directory
can: flexcan: rename RX modes
can: flexcan: add more quirks to describe RX path capabilities
can: flexcan: add ethtool support to change rx-rtr setting during runtime

Tom Rix (1):
can: janz-ican3: initialize dlc variable

 .../device_drivers/can/freescale/flexcan.rst       |   54 +
 .../networking/device_drivers/can/index.rst        |   20 +
 Documentation/networking/device_drivers/index.rst  |    1 +
 drivers/net/can/Makefile                           |    2 +-
 drivers/net/can/flexcan/Makefile                   |    7 +
 .../net/can/{flexcan.c => flexcan/flexcan-core.c}  |  234 ++---
 drivers/net/can/flexcan/flexcan-ethtool.c          |  114 +++
 drivers/net/can/flexcan/flexcan.h                  |  163 +++
 drivers/net/can/janz-ican3.c                       |    2 +-
 drivers/net/can/spi/mcp251xfd/Makefile             |    5 +
 .../net/can/spi/mcp251xfd/mcp251xfd-chip-fifo.c    |  119 +++
 drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c     | 1083 +-------------------
 drivers/net/can/spi/mcp251xfd/mcp251xfd-regmap.c   |    1 -
 drivers/net/can/spi/mcp251xfd/mcp251xfd-ring.c     |  269 +++++
 drivers/net/can/spi/mcp251xfd/mcp251xfd-rx.c       |  260 +++++
 drivers/net/can/spi/mcp251xfd/mcp251xfd-tef.c      |  260 +++++
 drivers/net/can/spi/mcp251xfd/mcp251xfd-tx.c       |  205 ++++
 drivers/net/can/spi/mcp251xfd/mcp251xfd.h          |   36 +-
 18 files changed, 1621 insertions(+), 1214 deletions(-)
 create mode 100644 Documentation/networking/device_drivers/can/freescale/flexcan.rst
 create mode 100644 Documentation/networking/device_drivers/can/index.rst
 create mode 100644 drivers/net/can/flexcan/Makefile
 rename drivers/net/can/{flexcan.c => flexcan/flexcan-core.c} (90%)
 create mode 100644 drivers/net/can/flexcan/flexcan-ethtool.c
 create mode 100644 drivers/net/can/flexcan/flexcan.h
 create mode 100644 drivers/net/can/spi/mcp251xfd/mcp251xfd-chip-fifo.c
 create mode 100644 drivers/net/can/spi/mcp251xfd/mcp251xfd-ring.c
 create mode 100644 drivers/net/can/spi/mcp251xfd/mcp251xfd-rx.c
 create mode 100644 drivers/net/can/spi/mcp251xfd/mcp251xfd-tef.c
 create mode 100644 drivers/net/can/spi/mcp251xfd/mcp251xfd-tx.c