mbox series

pull-request: can 2020-11-27

Message ID 20201127100301.512603-1-mkl@pengutronix.de (mailing list archive)
State Accepted
Commit d0742c49cab58ee6e2de40f1958b736aedf779b6
Delegated to: Netdev Maintainers
Headers show
Series pull-request: can 2020-11-27 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can.git tags/linux-can-fixes-for-5.10-20201127

Checks

Context Check Description
netdev/tree_selection success Series ignored based on subject

Message

Marc Kleine-Budde Nov. 27, 2020, 10:02 a.m. UTC
Hello Jakub, hello David,

here's a pull request of 6 patches for net/master.

The first patch is by me and target the gs_usb driver and fixes the endianess
problem with candleLight firmware.

Another patch by me for the mcp251xfd driver add sanity checking to bail out if
no IRQ is configured.

The next three patches target the m_can driver. A patch by me removes the
hardcoded IRQF_TRIGGER_FALLING from the request_threaded_irq() as this clashes
with the trigger level specified in the DT. Further a patch by me fixes the
nominal bitiming tseg2 min value for modern m_can cores. Pankaj Sharma's patch
add support for cores version 3.3.x.

The last patch by Oliver Hartkopp is for af_can and converts a WARN() into a
pr_warn(), which is triggered by the syzkaller. It was able to create a
situation where the closing of a socket runs simultaneously to the notifier
call chain for removing the CAN network device in use.

regards,
Marc

---

The following changes since commit cbf3d60329c4e11edcecac0c8fc6767b0f05e3a7:

  ch_ktls: lock is not freed (2020-11-25 17:44:42 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can.git tags/linux-can-fixes-for-5.10-20201127

for you to fetch changes up to d73ff9b7c4eacaba0fd956d14882bcae970f8307:

  can: af_can: can_rx_unregister(): remove WARN() statement from list operation sanity check (2020-11-27 10:49:28 +0100)

----------------------------------------------------------------
linux-can-fixes-for-5.10-20201127

----------------------------------------------------------------
Marc Kleine-Budde (4):
      can: gs_usb: fix endianess problem with candleLight firmware
      can: mcp251xfd: mcp251xfd_probe(): bail out if no IRQ was given
      can: m_can: m_can_open(): remove IRQF_TRIGGER_FALLING from request_threaded_irq()'s flags
      can: m_can: fix nominal bitiming tseg2 min for version >= 3.1

Oliver Hartkopp (1):
      can: af_can: can_rx_unregister(): remove WARN() statement from list operation sanity check

Pankaj Sharma (1):
      can: m_can: m_can_dev_setup(): add support for bosch mcan version 3.3.0

 drivers/net/can/m_can/m_can.c                  |   6 +-
 drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c |   4 +
 drivers/net/can/usb/gs_usb.c                   | 131 +++++++++++++------------
 net/can/af_can.c                               |   7 +-
 4 files changed, 83 insertions(+), 65 deletions(-)

Comments

Jakub Kicinski Nov. 27, 2020, 7:16 p.m. UTC | #1
On Fri, 27 Nov 2020 11:02:55 +0100 Marc Kleine-Budde wrote:
> The first patch is by me and target the gs_usb driver and fixes the endianess
> problem with candleLight firmware.
> 
> Another patch by me for the mcp251xfd driver add sanity checking to bail out if
> no IRQ is configured.
> 
> The next three patches target the m_can driver. A patch by me removes the
> hardcoded IRQF_TRIGGER_FALLING from the request_threaded_irq() as this clashes
> with the trigger level specified in the DT. Further a patch by me fixes the
> nominal bitiming tseg2 min value for modern m_can cores. Pankaj Sharma's patch
> add support for cores version 3.3.x.
> 
> The last patch by Oliver Hartkopp is for af_can and converts a WARN() into a
> pr_warn(), which is triggered by the syzkaller. It was able to create a
> situation where the closing of a socket runs simultaneously to the notifier
> call chain for removing the CAN network device in use.

Pulled, thanks!
patchwork-bot+netdevbpf@kernel.org Nov. 27, 2020, 7:20 p.m. UTC | #2
Hello:

This pull request was applied to netdev/net.git (refs/heads/master):

On Fri, 27 Nov 2020 11:02:55 +0100 you wrote:
> Hello Jakub, hello David,
> 
> here's a pull request of 6 patches for net/master.
> 
> The first patch is by me and target the gs_usb driver and fixes the endianess
> problem with candleLight firmware.
> 
> [...]

Here is the summary with links:
  - pull-request: can 2020-11-27
    https://git.kernel.org/netdev/net/c/d0742c49cab5
  - [net,2/6] can: mcp251xfd: mcp251xfd_probe(): bail out if no IRQ was given
    https://git.kernel.org/netdev/net/c/1a1c436bad34
  - [net,3/6] can: m_can: m_can_open(): remove IRQF_TRIGGER_FALLING from request_threaded_irq()'s flags
    https://git.kernel.org/netdev/net/c/865f5b671b48
  - [net,4/6] can: m_can: fix nominal bitiming tseg2 min for version >= 3.1
    https://git.kernel.org/netdev/net/c/e3409e419253
  - [net,5/6] can: m_can: m_can_dev_setup(): add support for bosch mcan version 3.3.0
    https://git.kernel.org/netdev/net/c/5c7d55bded77
  - [net,6/6] can: af_can: can_rx_unregister(): remove WARN() statement from list operation sanity check
    https://git.kernel.org/netdev/net/c/d73ff9b7c4ea

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html