Hello netdev-team, this is a pull request of 33 patches for net-next/master. The first patch is by Carsten Schmidt, targets the kvaser_usb driver and adds len8_dlc support. Marcel Hellwig's patch for the xilinx_can driver adds support for CAN transceivers via the PHY framework. Frank Jungclaus contributes 6+2 patches for the esd_usb driver in preparation for the upcoming CAN-USB/3 support. The 2 patches by Miquel Raynal for the sja1000 driver work around overruns stalls on the Renesas SoCs. The next 3 patches are by me and fix the coding style in the rx-offload helper and in the m_can and ti_hecc driver. Vincent Mailhol contributes 3 patches to fix and update the calculation of the length of CAN frames on the wire. Oliver Hartkopp's patch moves the CAN_RAW_FILTER_MAX definition into the correct header. The remaining 14 patches are by Jimmy Assarsson, target the kvaser_pciefd driver and bring various updates and improvements. regards, Marc --- The following changes since commit d49b9b07725f5dfa3344dc3eed59b8ccc0a0ddbc: Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue (2023-05-22 12:44:44 +0100) 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-6.5-20230622 for you to fetch changes up to 790ef3901f18be794f5b246f990f305bbd08ffd7: Merge patch series "can: kvaser_pciefd: Fixes and improvements" (2023-06-22 09:53:03 +0200) ---------------------------------------------------------------- linux-can-next-for-6.5-20230622 ---------------------------------------------------------------- Carsten Schmidt (1): can: kvaser_usb: Add len8_dlc support Frank Jungclaus (8): can: esd_usb: Make use of existing kernel macros can: esd_usb: Replace initializer macros used for struct can_bittiming_const can: esd_usb: Use consistent prefixes for macros can: esd_usb: Prefix all structures with the device name can: esd_usb: Replace hardcoded message length given to USB commands can: esd_usb: Don't bother the user with nonessential log message can: esd_usb: Make use of kernel macros BIT() and GENMASK() can: esd_usb: Use consistent prefix ESD_USB_ for macros Jimmy Assarsson (14): can: kvaser_pciefd: Remove useless write to interrupt register can: kvaser_pciefd: Remove handler for unused KVASER_PCIEFD_PACK_TYPE_EFRAME_ACK can: kvaser_pciefd: Add function to set skb hwtstamps can: kvaser_pciefd: Set hardware timestamp on transmitted packets can: kvaser_pciefd: Define unsigned constants with type suffix 'U' can: kvaser_pciefd: Remove SPI flash parameter read functionality can: kvaser_pciefd: Sort includes in alphabetic order can: kvaser_pciefd: Rename device ID defines can: kvaser_pciefd: Change return type for kvaser_pciefd_{receive,transmit,set_tx}_irq() can: kvaser_pciefd: Sort register definitions can: kvaser_pciefd: Use FIELD_{GET,PREP} and GENMASK where appropriate can: kvaser_pciefd: Add len8_dlc support can: kvaser_pciefd: Refactor code can: kvaser_pciefd: Use TX FIFO size read from CAN controller Marc Kleine-Budde (9): Merge patch series "can: esd_usb: More preparation before supporting esd CAN-USB/3" Merge patch series "can: esd_usb: More preparation before supporting esd CAN-USB/3 (addendum)" Merge patch series "can: sja1000: Prepare the use of a threaded handler" can: rx-offload: fix coding style can: ti_hecc: fix coding style can: m_can: fix coding style Merge patch series "can: fix coding style" Merge patch series "can: length: fix definitions and add bit length calculation" Merge patch series "can: kvaser_pciefd: Fixes and improvements" Marcel Hellwig (1): can: dev: add transceiver capabilities to xilinx_can Miquel Raynal (2): can: sja1000: Prepare the use of a threaded handler can: sja1000: Prevent overrun stalls with a soft reset on Renesas SoCs Oliver Hartkopp (1): can: uapi: move CAN_RAW_FILTER_MAX definition to raw.h Vincent Mailhol (3): can: length: fix description of the RRS field can: length: fix bitstuffing count can: length: refactor frame lengths definition to add size in bits drivers/net/can/Kconfig | 3 +- drivers/net/can/dev/length.c | 15 +- drivers/net/can/dev/rx-offload.c | 2 +- drivers/net/can/kvaser_pciefd.c | 945 ++++++++-------------- drivers/net/can/m_can/m_can.c | 4 +- drivers/net/can/sja1000/sja1000.c | 40 +- drivers/net/can/sja1000/sja1000.h | 1 + drivers/net/can/sja1000/sja1000_platform.c | 5 +- drivers/net/can/ti_hecc.c | 2 +- drivers/net/can/usb/esd_usb.c | 350 ++++---- drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c | 2 +- drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c | 13 +- drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c | 6 +- drivers/net/can/xilinx_can.c | 19 + include/linux/can/length.h | 315 +++++--- include/uapi/linux/can.h | 1 - include/uapi/linux/can/raw.h | 2 + 17 files changed, 811 insertions(+), 914 deletions(-)