Linux CAN drivers development
 help / color / mirror / Atom feed
* [PATCH net-next 0/29] pull-request: can-next 2022-10-26
@ 2022-10-26  8:39 Marc Kleine-Budde
  2022-10-26  8:39 ` [PATCH net-next 01/29] can: add termination resistor documentation Marc Kleine-Budde
                   ` (28 more replies)
  0 siblings, 29 replies; 31+ messages in thread
From: Marc Kleine-Budde @ 2022-10-26  8:39 UTC (permalink / raw)
  To: netdev; +Cc: davem, kuba, linux-can, kernel

Hello Jakub, hello David,

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

The first patch is by Daniel S. Trevitz and adds documentation for
switchable termination resistors.

Zhang Changzhong's patch fixes a debug output in the j13939 stack.

Oliver Hartkopp finally removes the pch_can driver, which is
superseded by the generic c_can driver.

Gustavo A. R. Silva replaces a zero-length array with
DECLARE_FLEX_ARRAY() in the ucan driver.

Kees Cook's patch removes a no longer needed silencing of
"-Warray-bounds" warnings for the kvaser_usb driver.

The next 2 patches target the m_can driver. The first is by me cleans
up the LEC error handling, the second is by Vivek Yadav and extends
the LEC error handling to the data phase of CAN-FD frames.

The next 9 patches all target the gs_usb driver. The first 5 patches
are by me and improve the Kconfig prompt and help text, set
netdev->dev_id to distinguish multi CAN channel devices, allow
loopback and listen only at the same time, and clean up the
gs_can_open() function a bit. The remaining 4 patches are by Jeroen
Hofstee and add support for 2 new features: Bus Error Reporting and
Get State.

Jimmy Assarsson and Anssi Hannula contribute 10 patches for the
kvaser_usb driver. They first add Listen Only and Bus Error Reporting
support, handle CMD_ERROR_EVENT errors, improve CAN state handling,
restart events, and configuration of the bit timing parameters.

Another patch by me which fixes the indention in the m_can driver.

A patch by Dongliang Mu cleans up the ucan_disconnect() function in
the ucan driver.

The last patch by Biju Das is for the rcan_canfd driver and cleans up
the reset handling.

regards,
Marc

---

The following changes since commit a526a3cc9c8d426713f8bebc18ebbe39a8495d82:

  net: ethernet: adi: adin1110: Fix SPI transfers (2022-10-19 14:20:37 +0100)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git 

for you to fetch changes up to 68399ff574e4faf42b8d85da9339ca3ee2892cc7:

  can: rcar_canfd: Use devm_reset_control_get_optional_exclusive (2022-10-26 10:24:08 +0200)

----------------------------------------------------------------
Anssi Hannula (5):
      can: kvaser_usb_leaf: Set Warning state even without bus errors
      can: kvaser_usb_leaf: Fix improved state not being reported
      can: kvaser_usb_leaf: Fix wrong CAN state after stopping
      can: kvaser_usb_leaf: Ignore stale bus-off after start
      can: kvaser_usb_leaf: Fix bogus restart events

Biju Das (1):
      can: rcar_canfd: Use devm_reset_control_get_optional_exclusive

Daniel S. Trevitz (1):
      can: add termination resistor documentation

Dongliang Mu (1):
      can: ucan: ucan_disconnect(): change unregister_netdev() to unregister_candev()

Gustavo A. R. Silva (1):
      can: ucan: Replace zero-length array with DECLARE_FLEX_ARRAY() helper

Jeroen Hofstee (4):
      can: gs_usb: document GS_CAN_FEATURE_BERR_REPORTING
      can: gs_usb: add ability to enable / disable berr reporting
      can: gs_usb: document GS_CAN_FEATURE_GET_STATE
      can: gs_usb: add support for reading error counters

Jimmy Assarsson (5):
      can: kvaser_usb: kvaser_usb_leaf: Get capabilities from device
      can: kvaser_usb: kvaser_usb_leaf: Rename {leaf,usbcan}_cmd_error_event to {leaf,usbcan}_cmd_can_error_event
      can: kvaser_usb: kvaser_usb_leaf: Handle CMD_ERROR_EVENT
      can: kvaser_usb: Add struct kvaser_usb_busparams
      can: kvaser_usb: Compare requested bittiming parameters with actual parameters in do_set_{,data}_bittiming

Kees Cook (1):
      can: kvaser_usb: Remove -Warray-bounds exception

Marc Kleine-Budde (9):
      can: m_can: is_lec_err(): clean up LEC error handling
      can: gs_usb: mention candleLight as supported device
      can: gs_usb: gs_make_candev(): set netdev->dev_id
      can: gs_usb: gs_can_open(): allow loopback and listen only at the same time
      can: gs_usb: gs_can_open(): sort checks for ctrlmode
      can: gs_usb: gs_can_open(): merge setting of timestamp flags and init
      Merge patch series "can: gs_usb: new features: GS_CAN_FEATURE_GET_STATE, GS_CAN_FEATURE_BERR_REPORTING"
      Merge patch series "can: kvaser_usb: Fixes and improvements"
      can: m_can: use consistent indention

Oliver Hartkopp (1):
      can: remove obsolete PCH CAN driver

Vivek Yadav (1):
      can: m_can: m_can_handle_bus_errors(): add support for handling DLEC error on CAN-FD frames

Zhang Changzhong (1):
      can: j1939: j1939_session_tx_eoma(): fix debug info

 Documentation/networking/can.rst                  |   33 +
 drivers/net/can/Kconfig                           |    8 -
 drivers/net/can/Makefile                          |    1 -
 drivers/net/can/c_can/Kconfig                     |    3 +-
 drivers/net/can/m_can/m_can.c                     |   26 +-
 drivers/net/can/m_can/m_can.h                     |    2 +-
 drivers/net/can/pch_can.c                         | 1249 ---------------------
 drivers/net/can/rcar/rcar_canfd.c                 |   22 +-
 drivers/net/can/usb/Kconfig                       |    9 +-
 drivers/net/can/usb/gs_usb.c                      |   74 +-
 drivers/net/can/usb/kvaser_usb/Makefile           |    5 -
 drivers/net/can/usb/kvaser_usb/kvaser_usb.h       |   30 +-
 drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c  |  115 +-
 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c |  160 ++-
 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c  |  464 +++++++-
 drivers/net/can/usb/ucan.c                        |    5 +-
 net/can/j1939/transport.c                         |    2 +-
 17 files changed, 815 insertions(+), 1393 deletions(-)
 delete mode 100644 drivers/net/can/pch_can.c



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

end of thread, other threads:[~2022-10-26 13:00 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-26  8:39 [PATCH net-next 0/29] pull-request: can-next 2022-10-26 Marc Kleine-Budde
2022-10-26  8:39 ` [PATCH net-next 01/29] can: add termination resistor documentation Marc Kleine-Budde
2022-10-26 13:00   ` patchwork-bot+netdevbpf
2022-10-26  8:39 ` [PATCH net-next 02/29] can: j1939: j1939_session_tx_eoma(): fix debug info Marc Kleine-Budde
2022-10-26  8:39 ` [PATCH net-next 03/29] can: remove obsolete PCH CAN driver Marc Kleine-Budde
2022-10-26  8:39 ` [PATCH net-next 04/29] can: ucan: Replace zero-length array with DECLARE_FLEX_ARRAY() helper Marc Kleine-Budde
2022-10-26  8:39 ` [PATCH net-next 05/29] can: kvaser_usb: Remove -Warray-bounds exception Marc Kleine-Budde
2022-10-26  8:39 ` [PATCH net-next 06/29] can: m_can: is_lec_err(): clean up LEC error handling Marc Kleine-Budde
2022-10-26  8:39 ` [PATCH net-next 07/29] can: m_can: m_can_handle_bus_errors(): add support for handling DLEC error on CAN-FD frames Marc Kleine-Budde
2022-10-26  8:39 ` [PATCH net-next 08/29] can: gs_usb: mention candleLight as supported device Marc Kleine-Budde
2022-10-26  8:39 ` [PATCH net-next 09/29] can: gs_usb: gs_make_candev(): set netdev->dev_id Marc Kleine-Budde
2022-10-26  8:39 ` [PATCH net-next 10/29] can: gs_usb: gs_can_open(): allow loopback and listen only at the same time Marc Kleine-Budde
2022-10-26  8:39 ` [PATCH net-next 11/29] can: gs_usb: gs_can_open(): sort checks for ctrlmode Marc Kleine-Budde
2022-10-26  8:39 ` [PATCH net-next 12/29] can: gs_usb: gs_can_open(): merge setting of timestamp flags and init Marc Kleine-Budde
2022-10-26  8:39 ` [PATCH net-next 13/29] can: gs_usb: document GS_CAN_FEATURE_BERR_REPORTING Marc Kleine-Budde
2022-10-26  8:39 ` [PATCH net-next 14/29] can: gs_usb: add ability to enable / disable berr reporting Marc Kleine-Budde
2022-10-26  8:39 ` [PATCH net-next 15/29] can: gs_usb: document GS_CAN_FEATURE_GET_STATE Marc Kleine-Budde
2022-10-26  8:39 ` [PATCH net-next 16/29] can: gs_usb: add support for reading error counters Marc Kleine-Budde
2022-10-26  8:39 ` [PATCH net-next 17/29] can: kvaser_usb: kvaser_usb_leaf: Get capabilities from device Marc Kleine-Budde
2022-10-26  8:39 ` [PATCH net-next 18/29] can: kvaser_usb: kvaser_usb_leaf: Rename {leaf,usbcan}_cmd_error_event to {leaf,usbcan}_cmd_can_error_event Marc Kleine-Budde
2022-10-26  8:39 ` [PATCH net-next 19/29] can: kvaser_usb: kvaser_usb_leaf: Handle CMD_ERROR_EVENT Marc Kleine-Budde
2022-10-26  8:39 ` [PATCH net-next 20/29] can: kvaser_usb_leaf: Set Warning state even without bus errors Marc Kleine-Budde
2022-10-26  8:39 ` [PATCH net-next 21/29] can: kvaser_usb_leaf: Fix improved state not being reported Marc Kleine-Budde
2022-10-26  8:40 ` [PATCH net-next 22/29] can: kvaser_usb_leaf: Fix wrong CAN state after stopping Marc Kleine-Budde
2022-10-26  8:40 ` [PATCH net-next 23/29] can: kvaser_usb_leaf: Ignore stale bus-off after start Marc Kleine-Budde
2022-10-26  8:40 ` [PATCH net-next 24/29] can: kvaser_usb_leaf: Fix bogus restart events Marc Kleine-Budde
2022-10-26  8:40 ` [PATCH net-next 25/29] can: kvaser_usb: Add struct kvaser_usb_busparams Marc Kleine-Budde
2022-10-26  8:40 ` [PATCH net-next 26/29] can: kvaser_usb: Compare requested bittiming parameters with actual parameters in do_set_{,data}_bittiming Marc Kleine-Budde
2022-10-26  8:40 ` [PATCH net-next 27/29] can: m_can: use consistent indention Marc Kleine-Budde
2022-10-26  8:40 ` [PATCH net-next 28/29] can: ucan: ucan_disconnect(): change unregister_netdev() to unregister_candev() Marc Kleine-Budde
2022-10-26  8:40 ` [PATCH net-next 29/29] can: rcar_canfd: Use devm_reset_control_get_optional_exclusive Marc Kleine-Budde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox