From: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Valentina Manea <valentina.manea.m@gmail.com>,
Shuah Khan <shuah@kernel.org>, Hongren Zheng <i@zenithal.me>,
"Brian G. Merrell" <bgmerrell@novell.com>,
kernel@collabora.com, Greg Kroah-Hartman <gregkh@suse.de>,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 00/18] USB/IP VHCI suspend fix and driver cleanup
Date: Wed, 27 Aug 2025 12:14:15 +0300 [thread overview]
Message-ID: <5b39ce10-9845-4429-95bb-18b03513cdaf@collabora.com> (raw)
In-Reply-To: <3dd94c4f-0971-4744-91e1-3a5474e1576c@collabora.com>
On 7/28/25 12:41 PM, Cristian Ciocaltea wrote:
> Hi Greg,
>
> On 7/26/25 9:43 AM, Greg Kroah-Hartman wrote:
>> On Sat, Jul 26, 2025 at 01:08:02AM +0300, Cristian Ciocaltea wrote:
>>> The USB/IP Virtual Host Controller (VHCI) platform driver is expected to
>>> prevent entering system suspend when at least one remote device is
>>> attached to the virtual USB root hub.
>>>
>>> However, in some cases, the detection logic for active USB/IP
>>> connections doesn't seem to work reliably, e.g. when all devices
>>> attached to the virtual hub have been already suspended. This will
>>> normally lead to a broken suspend state, with unrecoverable resume.
>>>
>>> The first patch of the series provides a workaround to ensure the
>>> virtually attached devices do not enter suspend. Note this is currently
>>> limited to the client side (vhci_hcd) only, since the server side
>>> (usbip_host) doesn't implement system suspend prevention.
>>>
>>> Additionally, during the investigation I noticed and fixed a bunch of
>>> coding style issues, hence the subsequent patches contain all the
>>> changes needed to make checkpatch happy for the entire driver.
>>
>> You are doing two major things here, fixing suspend, and cleaning up
>> checkpatch issues. Please make that two different patch sets as those
>> are not logical things to put together at all. Work on the suspend
>> issue first, and after that is all done and working, then consider
>> checkpatch cleanups, those are not that important overall :)
>
> Yeah, the cleanup part ended up larger than initially anticipated, but I
> don't really expect further changes on the fixup side. I can handle the
> split if another revision would be still required, or would you like me to
> do this regardless? I've just made a quick test moving the first patch to
> the end of the series and it didn't cause any conflicts, hence there won't
> be any dependencies between the two patch sets.
This continues to apply cleanly on recent linux-next, hence I'm not sure if
there's still a need to resend as two separate patch sets.
Please let me know how should we move further.
Thanks,
Cristian
next prev parent reply other threads:[~2025-08-27 9:14 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-25 22:08 Cristian Ciocaltea
2025-07-25 22:08 ` [PATCH v2 01/18] usb: vhci-hcd: Prevent suspending virtually attached devices Cristian Ciocaltea
2025-07-26 6:43 ` Greg Kroah-Hartman
2025-07-26 7:06 ` Greg Kroah-Hartman
2025-07-28 10:03 ` Cristian Ciocaltea
2025-07-25 22:08 ` [PATCH v2 02/18] usb: vhci-hcd: Ensure lines do not end with '(' Cristian Ciocaltea
2025-07-25 22:08 ` [PATCH v2 03/18] usb: vhci-hcd: Consistently use the braces Cristian Ciocaltea
2025-07-25 22:08 ` [PATCH v2 04/18] usb: vhci-hcd: Avoid unnecessary use of braces Cristian Ciocaltea
2025-07-25 22:08 ` [PATCH v2 05/18] usb: vhci-hcd: Consistently use blank lines Cristian Ciocaltea
2025-07-25 22:08 ` [PATCH v2 06/18] usb: vhci-hcd: Drop spaces after casts Cristian Ciocaltea
2025-07-25 22:08 ` [PATCH v2 07/18] usb: vhci-hcd: Add spaces around operators Cristian Ciocaltea
2025-07-25 22:08 ` [PATCH v2 08/18] usb: vhci-hcd: Drop unnecessary parentheses Cristian Ciocaltea
2025-07-25 22:08 ` [PATCH v2 09/18] usb: vhci-hcd: Fix open parenthesis alignment Cristian Ciocaltea
2025-07-25 22:08 ` [PATCH v2 10/18] usb: vhci-hcd: Simplify NULL comparison Cristian Ciocaltea
2025-07-25 22:08 ` [PATCH v2 11/18] usb: vhci-hcd: Simplify kzalloc usage Cristian Ciocaltea
2025-07-25 22:08 ` [PATCH v2 12/18] usb: vhci-hcd: Use the paranthesized form of sizeof Cristian Ciocaltea
2025-07-25 22:08 ` [PATCH v2 13/18] usb: vhci-hcd: Fix block comments Cristian Ciocaltea
2025-07-25 22:08 ` [PATCH v2 14/18] usb: vhci-hcd: Remove ftrace-like logging Cristian Ciocaltea
2025-07-25 22:08 ` [PATCH v2 15/18] usb: vhci-hcd: Consistently use __func__ Cristian Ciocaltea
2025-07-25 22:08 ` [PATCH v2 16/18] usb: vhci-hcd: Do not split quoted strings Cristian Ciocaltea
2025-07-25 22:08 ` [PATCH v2 17/18] usb: vhci-hcd: Switch to dev_err_probe() in probe path Cristian Ciocaltea
2025-07-25 22:08 ` [PATCH v2 18/18] usb: vhci-hcd: Replace pr_*() with dev_*() logging Cristian Ciocaltea
2025-07-26 6:43 ` [PATCH v2 00/18] USB/IP VHCI suspend fix and driver cleanup Greg Kroah-Hartman
2025-07-28 9:41 ` Cristian Ciocaltea
2025-08-27 9:14 ` Cristian Ciocaltea [this message]
2025-08-29 16:33 ` Greg Kroah-Hartman
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=5b39ce10-9845-4429-95bb-18b03513cdaf@collabora.com \
--to=cristian.ciocaltea@collabora.com \
--cc=bgmerrell@novell.com \
--cc=gregkh@linuxfoundation.org \
--cc=gregkh@suse.de \
--cc=i@zenithal.me \
--cc=kernel@collabora.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=shuah@kernel.org \
--cc=valentina.manea.m@gmail.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®