public inbox for linux-can@vger.kernel.org
 help / color / mirror / Atom feed
From: Axel Forsman <axfo@kvaser.com>
To: linux-can@vger.kernel.org
Cc: mkl@pengutronix.de, mailhol.vincent@wanadoo.fr,
	Axel Forsman <axfo@kvaser.com>
Subject: [PATCH v3 0/3] can: kvaser_pciefd: Fix ISR race conditions
Date: Tue, 20 May 2025 13:43:29 +0200	[thread overview]
Message-ID: <20250520114332.8961-1-axfo@kvaser.com> (raw)

This patch series fixes a couple of race conditions in the
kvaser_pciefd driver surfaced by enabling MSI interrupts and the new
Kvaser PCIe 8xCAN.

Changes since version 2:
* Rebase onto linux-can/main to resolve del_timer()/timer_delete()
  merge conflict.
* Reword 2nd commit message slightly.

Changes since version 1:
* Change type of srb_cmd_reg from "__le32 __iomem *" to
  "void __iomem *".
* Maintain TX FIFO count in driver instead of querying HW.
* Stop queue at end of .start_xmit() if full.

Axel Forsman (3):
  can: kvaser_pciefd: Force IRQ edge in case of nested IRQ
  can: kvaser_pciefd: Fix echo_skb race
  can: kvaser_pciefd: Continue parsing DMA buf after dropped RX

 drivers/net/can/kvaser_pciefd.c | 184 ++++++++++++++++++--------------
 1 file changed, 103 insertions(+), 81 deletions(-)

-- 
2.47.2


             reply	other threads:[~2025-05-20 11:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-20 11:43 Axel Forsman [this message]
2025-05-20 11:43 ` [PATCH v3 1/3] can: kvaser_pciefd: Force IRQ edge in case of nested IRQ Axel Forsman
2025-05-20 11:43 ` [PATCH v3 2/3] can: kvaser_pciefd: Fix echo_skb race Axel Forsman
2025-05-20 11:43 ` [PATCH v3 3/3] can: kvaser_pciefd: Continue parsing DMA buf after dropped RX Axel Forsman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250520114332.8961-1-axfo@kvaser.com \
    --to=axfo@kvaser.com \
    --cc=linux-can@vger.kernel.org \
    --cc=mailhol.vincent@wanadoo.fr \
    --cc=mkl@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox