Thread (33 messages) 33 messages, 5 authors, 2025-07-14

Re: [PATCH v2] usbip: convert to use faux_device

From: Greg KH <gregkh@linuxfoundation.org>
Date: 2025-07-09 10:07:00
Also in: lkml

On Wed, Jul 09, 2025 at 05:07:24PM +0800, Zongmin Zhou wrote:
quoted
quoted
In fact, I've experimented with adding PM hooks to the faux bus,
and found that faux bus devices then behave identically to platform
bus devices during suspend/resume.
See the attachment.
Thanks for checking this scenario. No surprises here.
Another part of my purpose in doing this is that the vhci-hcd driver seems
should still retain suspend/resume hooks. Therefore, the faux bus should
add corresponding hooks to allow the driver to call its own pm functions.
Though currently don't know how to fix this problem yet.
I have no problem with adding the pm functions to the faux bus, BUT it
needs to make sense as to why they would be needed at all as this is not
a "real" device or bus that should need to do anything when
suspend/resume happens.

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help