All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/37] pull-request: can-next 2023-10-05
@ 2023-10-05 19:57 Marc Kleine-Budde
  2023-10-05 19:57 ` [PATCH net-next 01/37] can: sja1000: Fix comment Marc Kleine-Budde
                   ` (36 more replies)
  0 siblings, 37 replies; 39+ messages in thread
From: Marc Kleine-Budde @ 2023-10-05 19:57 UTC (permalink / raw)
  To: netdev; +Cc: davem, kuba, linux-can, kernel

Hello netdev-team,

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

The first patch is by Miquel Raynal and fixes a comment in the sja1000
driver.

Vincent Mailhol contributes 2 patches that fix W=1 compiler warnings
in the etas_es58x driver.

Jiapeng Chong's patch removes an unneeded NULL pointer check before
dev_put() in the CAN raw protocol.

A patch by Justin Stittreplaces a strncpy() by strscpy() in the
peak_pci sja1000 driver.

The next 5 patches are by me and fix the can_restart() handler and
replace BUG_ON()s in the CAN dev helpers with proper error handling.

The last 27 patches are also by me and target the at91_can driver.
First a new helper function is introduced, the at91_can driver is
cleaned up and updated to use the rx-offload helper.

regards,
Marc

---

The following changes since commit 473267a4911f2469722c74ca58087d951072f72a:

  net: add sysctl to disable rfc4862 5.5.3e lifetime handling (2023-10-03 15:51:04 -0700)

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.7-20231005

for you to fetch changes up to bf176313c62ec4f97daa893888aa4fde86749cb2:

  Merge patch series "can: at91: add can_state_get_by_berr_counter() helper, cleanup and convert to rx_offload" (2023-10-05 21:48:09 +0200)

----------------------------------------------------------------
linux-can-next-for-6.7-20231005

----------------------------------------------------------------
Jiapeng Chong (1):
      can: raw: Remove NULL check before dev_{put, hold}

Justin Stitt (1):
      can: peak_pci: replace deprecated strncpy with strscpy

Marc Kleine-Budde (35):
      Merge patch series "can: etas_es58x: clean-up of new GCC W=1 and old checkpatch warnings"
      can: dev: can_restart(): don't crash kernel if carrier is OK
      can: dev: can_restart(): fix race condition between controller restart and netif_carrier_on()
      can: dev: can_restart(): reverse logic to remove need for goto
      can: dev: can_restart(): move debug message and stats after successful restart
      can: dev: can_put_echo_skb(): don't crash kernel if can_priv::echo_skb is accessed out of bounds
      Merge patch series "can: dev: fix can_restart() and replace BUG_ON() by error handling"
      can: dev: add can_state_get_by_berr_counter() to return the CAN state based on the current error counters
      can: at91_can: use a consistent indention
      can: at91_can: at91_irq_tx(): remove one level of indention
      can: at91_can: BR register: convert to FIELD_PREP()
      can: at91_can: ECR register: convert to FIELD_GET()
      can: at91_can: MMR registers: convert to FIELD_PREP()
      can: at91_can: MID registers: convert access to FIELD_PREP(), FIELD_GET()
      can: at91_can: MSR Register: convert to FIELD_PREP()
      can: at91_can: MCR Register: convert to FIELD_PREP()
      can: at91_can: add more register definitions
      can: at91_can: at91_setup_mailboxes(): update comments
      can: at91_can: rename struct at91_priv::{tx_next,tx_echo} to {tx_head,tx_tail}
      can: at91_can: at91_set_bittiming(): demote register output to debug level
      can: at91_can: at91_chip_start(): don't disable IRQs twice
      can: at91_can: at91_open(): forward request_irq()'s return value in case or an error
      can: at91_can: add CAN transceiver support
      can: at91_can: at91_poll_err(): fold in at91_poll_err_frame()
      can: at91_can: at91_poll_err(): increase stats even if no quota left or OOM
      can: at91_can: at91_irq_err_frame(): call directly from IRQ handler
      can: at91_can: at91_irq_err_frame(): move next to at91_irq_err()
      can: at91_can: at91_irq_err(): rename to at91_irq_err_line()
      can: at91_can: at91_irq_err_line(): make use of can_state_get_by_berr_counter()
      can: at91_can: at91_irq_err_line(): take reg_sr into account for bus off
      can: at91_can: at91_irq_err_line(): make use of can_change_state() and can_bus_off()
      can: at91_can: at91_irq_err_line(): send error counters with state change
      can: at91_can: at91_alloc_can_err_skb() introduce new function
      can: at91_can: switch to rx-offload implementation
      Merge patch series "can: at91: add can_state_get_by_berr_counter() helper, cleanup and convert to rx_offload"

Miquel Raynal (1):
      can: sja1000: Fix comment

Vincent Mailhol (2):
      can: etas_es58x: rework the version check logic to silence -Wformat-truncation
      can: etas_es58x: add missing a blank line after declaration

 drivers/net/can/Kconfig                        |   1 +
 drivers/net/can/at91_can.c                     | 998 ++++++++++---------------
 drivers/net/can/dev/dev.c                      |  51 +-
 drivers/net/can/dev/skb.c                      |   6 +-
 drivers/net/can/sja1000/peak_pci.c             |   2 +-
 drivers/net/can/sja1000/sja1000.c              |   2 +-
 drivers/net/can/usb/etas_es58x/es58x_core.c    |   1 +
 drivers/net/can/usb/etas_es58x/es58x_core.h    |   6 +-
 drivers/net/can/usb/etas_es58x/es58x_devlink.c |  57 +-
 include/linux/can/dev.h                        |   4 +
 net/can/raw.c                                  |   3 +-
 11 files changed, 497 insertions(+), 634 deletions(-)



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

end of thread, other threads:[~2023-10-06 22:50 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-05 19:57 [PATCH net-next 0/37] pull-request: can-next 2023-10-05 Marc Kleine-Budde
2023-10-05 19:57 ` [PATCH net-next 01/37] can: sja1000: Fix comment Marc Kleine-Budde
2023-10-06 22:50   ` patchwork-bot+netdevbpf
2023-10-05 19:57 ` [PATCH net-next 02/37] can: etas_es58x: rework the version check logic to silence -Wformat-truncation Marc Kleine-Budde
2023-10-05 19:57 ` [PATCH net-next 03/37] can: etas_es58x: add missing a blank line after declaration Marc Kleine-Budde
2023-10-05 19:57 ` [PATCH net-next 04/37] can: raw: Remove NULL check before dev_{put, hold} Marc Kleine-Budde
2023-10-05 19:57 ` [PATCH net-next 05/37] can: peak_pci: replace deprecated strncpy with strscpy Marc Kleine-Budde
2023-10-05 19:57 ` [PATCH net-next 06/37] can: dev: can_restart(): don't crash kernel if carrier is OK Marc Kleine-Budde
2023-10-05 19:57 ` [PATCH net-next 07/37] can: dev: can_restart(): fix race condition between controller restart and netif_carrier_on() Marc Kleine-Budde
2023-10-05 19:57 ` [PATCH net-next 08/37] can: dev: can_restart(): reverse logic to remove need for goto Marc Kleine-Budde
2023-10-05 19:57 ` [PATCH net-next 09/37] can: dev: can_restart(): move debug message and stats after successful restart Marc Kleine-Budde
2023-10-05 19:57 ` [PATCH net-next 10/37] can: dev: can_put_echo_skb(): don't crash kernel if can_priv::echo_skb is accessed out of bounds Marc Kleine-Budde
2023-10-05 19:57 ` [PATCH net-next 11/37] can: dev: add can_state_get_by_berr_counter() to return the CAN state based on the current error counters Marc Kleine-Budde
2023-10-05 19:57 ` [PATCH net-next 12/37] can: at91_can: use a consistent indention Marc Kleine-Budde
2023-10-05 19:57 ` [PATCH net-next 13/37] can: at91_can: at91_irq_tx(): remove one level of indention Marc Kleine-Budde
2023-10-05 19:57 ` [PATCH net-next 14/37] can: at91_can: BR register: convert to FIELD_PREP() Marc Kleine-Budde
2023-10-05 19:57 ` [PATCH net-next 15/37] can: at91_can: ECR register: convert to FIELD_GET() Marc Kleine-Budde
2023-10-05 19:57 ` [PATCH net-next 16/37] can: at91_can: MMR registers: convert to FIELD_PREP() Marc Kleine-Budde
2023-10-05 19:57 ` [PATCH net-next 17/37] can: at91_can: MID registers: convert access to FIELD_PREP(), FIELD_GET() Marc Kleine-Budde
2023-10-05 19:57 ` [PATCH net-next 18/37] can: at91_can: MSR Register: convert to FIELD_PREP() Marc Kleine-Budde
2023-10-05 19:57 ` [PATCH net-next 19/37] can: at91_can: MCR " Marc Kleine-Budde
2023-10-05 19:57 ` [PATCH net-next 20/37] can: at91_can: add more register definitions Marc Kleine-Budde
2023-10-05 19:57 ` [PATCH net-next 21/37] can: at91_can: at91_setup_mailboxes(): update comments Marc Kleine-Budde
2023-10-05 19:57 ` [PATCH net-next 22/37] can: at91_can: rename struct at91_priv::{tx_next,tx_echo} to {tx_head,tx_tail} Marc Kleine-Budde
2023-10-05 19:57 ` [PATCH net-next 23/37] can: at91_can: at91_set_bittiming(): demote register output to debug level Marc Kleine-Budde
2023-10-05 19:57 ` [PATCH net-next 24/37] can: at91_can: at91_chip_start(): don't disable IRQs twice Marc Kleine-Budde
2023-10-05 19:58 ` [PATCH net-next 25/37] can: at91_can: at91_open(): forward request_irq()'s return value in case or an error Marc Kleine-Budde
2023-10-05 19:58 ` [PATCH net-next 26/37] can: at91_can: add CAN transceiver support Marc Kleine-Budde
2023-10-05 19:58 ` [PATCH net-next 27/37] can: at91_can: at91_poll_err(): fold in at91_poll_err_frame() Marc Kleine-Budde
2023-10-05 19:58 ` [PATCH net-next 28/37] can: at91_can: at91_poll_err(): increase stats even if no quota left or OOM Marc Kleine-Budde
2023-10-05 19:58 ` [PATCH net-next 29/37] can: at91_can: at91_irq_err_frame(): call directly from IRQ handler Marc Kleine-Budde
2023-10-05 19:58 ` [PATCH net-next 30/37] can: at91_can: at91_irq_err_frame(): move next to at91_irq_err() Marc Kleine-Budde
2023-10-05 19:58 ` [PATCH net-next 31/37] can: at91_can: at91_irq_err(): rename to at91_irq_err_line() Marc Kleine-Budde
2023-10-05 19:58 ` [PATCH net-next 32/37] can: at91_can: at91_irq_err_line(): make use of can_state_get_by_berr_counter() Marc Kleine-Budde
2023-10-05 19:58 ` [PATCH net-next 33/37] can: at91_can: at91_irq_err_line(): take reg_sr into account for bus off Marc Kleine-Budde
2023-10-05 19:58 ` [PATCH net-next 34/37] can: at91_can: at91_irq_err_line(): make use of can_change_state() and can_bus_off() Marc Kleine-Budde
2023-10-05 19:58 ` [PATCH net-next 35/37] can: at91_can: at91_irq_err_line(): send error counters with state change Marc Kleine-Budde
2023-10-05 19:58 ` [PATCH net-next 36/37] can: at91_can: at91_alloc_can_err_skb() introduce new function Marc Kleine-Budde
2023-10-05 19:58 ` [PATCH net-next 37/37] can: at91_can: switch to rx-offload implementation Marc Kleine-Budde

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.