pull-request: can-next 2021-01-27

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Jakub, hello David,

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

The first two patches are by me and fix typos on the CAN gw protocol and the
flexcan driver.

The next patch is by Vincent Mailhol and targets the CAN driver infrastructure,
it exports the function that converts the CAN state into a human readable
string.

A patch by me, which target the CAN driver infrastructure, too, makes the
calculation in can_fd_len2dlc() more readable.

A patch by Tom Rix fixes a checkpatch warning in the mcba_usb driver.

The next seven patches target the mcp251xfd driver. Su Yanjun's patch replaces
several hardcoded assumptions when calling regmap, by using
regmap_get_val_bytes(). The remaining patches are by me. First an open coded
check is replaced by an existing helper function, then in the TX path the
padding for CAN-FD frames is cleaned up. The next two patches clean up the RTR
frame handling in the RX and TX path. Then support for len8_dlc is added. The
last patch adds BQL support.

regards,
Marc

---

The following changes since commit 6626a0266566c5aea16178c5e6cd7fc4db3f2f56:

  Merge branch 'net-usbnet-convert-to-new-tasklet-api' (2021-01-26 18:04:28 -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.12-20210127

for you to fetch changes up to 4162e18e949ba520d5116ac0323500355479a00e:

  can: mcp251xfd: add BQL support (2021-01-27 10:01:47 +0100)

----------------------------------------------------------------
linux-can-next-for-5.12-20210127

----------------------------------------------------------------
Marc Kleine-Budde (9):
      can: gw: fix typo
      can: flexcan: fix typos
      can: length: can_fd_len2dlc(): make legnth calculation readable again
      can: mcp251xfd: mcp251xfd_start_xmit(): use mcp251xfd_get_tx_free() to check TX is is full
      can: mcp251xfd: mcp251xfd_tx_obj_from_skb(): clean up padding of CAN-FD frames
      can: mcp251xfd: mcp251xfd_hw_rx_obj_to_skb(): don't copy data for RTR CAN frames in RX-path
      can: mcp251xfd: mcp251xfd_tx_obj_from_skb(): don't copy data for RTR CAN frames in TX-path
      can: mcp251xfd: add len8_dlc support
      can: mcp251xfd: add BQL support

Su Yanjun (1):
      can: mcp251xfd: replace sizeof(u32) with val_bytes in regmap

Tom Rix (1):
      can: mcba_usb: remove h from printk format specifier

Vincent Mailhol (1):
      can: dev: export can_get_state_str() function

 drivers/net/can/dev/dev.c                      |  3 +-
 drivers/net/can/dev/length.c                   |  7 ++-
 drivers/net/can/flexcan.c                      |  4 +-
 drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c | 79 ++++++++++++++++++--------
 drivers/net/can/usb/mcba_usb.c                 |  6 +-
 include/linux/can/dev.h                        |  1 +
 net/can/gw.c                                   |  2 +-
 7 files changed, 70 insertions(+), 32 deletions(-)





[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux