From: Johan Hovold <johan@kernel.org>
To: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Cc: Corentin Labbe <clabbe@baylibre.com>,
gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org,
linux-usb@vger.kernel.org, david@ixit.cz
Subject: Re: [PATCH 1/1 v7] usb: serial: add support for CH348
Date: Thu, 16 Jan 2025 16:03:07 +0100 [thread overview]
Message-ID: <Z4kfqwCrO6q6oqtL@hovoldconsulting.com> (raw)
In-Reply-To: <CAFBinCB4pDOoE9QCH966uyP0yaVm3CkAi3uncMqEDh19VSmbQw@mail.gmail.com>
On Tue, Jan 14, 2025 at 10:40:56PM +0100, Martin Blumenstingl wrote:
> > Not sure what Corentin has been preparing, but yeah, you need some kind
> > of deferred mechanism to make write() non-blocking and hold off sending
> > more data to the device until you're sure there's room in its buffers. I
> > guess a workqueue should do fine.
> We're currently testing an updated driver based on a workqueue
> (work_struct) and it's working fine.
> The issue that Corentin reported is unrelated to the workqueue part.
> At this point we're thinking it may be a regression in linux-next, but
> we're running more tests to verify this.
You don't need to test the driver against linux-next, rc7 should do just
fine for a driver like this.
Let's see what the new implementation looks like. Perhaps you don't even
need to use a workqueue (e.g. send off the single URB from the
completion callback when you get a notification that the transmitter has
emptied).
Johan
prev parent reply other threads:[~2025-01-16 15:03 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-07 13:15 [PATCH v7 0/1] " Corentin Labbe
2024-05-07 13:15 ` [PATCH 1/1 v7] " Corentin Labbe
2024-05-26 20:00 ` Martin Blumenstingl
2024-06-19 13:34 ` Paul Spooren
2024-06-22 19:00 ` Martin Blumenstingl
2024-06-27 7:14 ` Johan Hovold
2024-06-28 19:37 ` Martin Blumenstingl
2024-07-22 14:21 ` Johan Hovold
2024-07-22 21:22 ` Martin Blumenstingl
2024-07-23 16:12 ` Johan Hovold
2024-08-25 10:56 ` Martin Blumenstingl
2024-11-30 2:52 ` David Heidelberg
2025-01-06 13:26 ` Corentin LABBE
2025-01-13 10:21 ` Corentin LABBE
2025-01-14 15:39 ` Johan Hovold
2025-01-14 21:40 ` Martin Blumenstingl
2025-01-16 15:03 ` Johan Hovold [this message]
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=Z4kfqwCrO6q6oqtL@hovoldconsulting.com \
--to=johan@kernel.org \
--cc=clabbe@baylibre.com \
--cc=david@ixit.cz \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=martin.blumenstingl@googlemail.com \
/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
all inboxes | Powered by JetHome®