Re: [PATCH 7/7] usb: dwc3: add ReST documentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 09, 2017 at 04:27:45PM +0300, Felipe Balbi wrote:
> 
> Hi,
> 
> Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> writes:
> >>> Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> writes:
> >> > On Tue, May 09, 2017 at 10:10:45AM +0300, Felipe Balbi wrote:
> >> >> 
> >> >> Hi,
> >> >> 
> >> >> Felipe Balbi <felipe.balbi@xxxxxxxxxxxxxxx> writes:
> >> >> > Document a few details about DWC3 in order to help people report bugs
> >> >> > and debug DWC3.
> >> >> >
> >> >> > Signed-off-by: Felipe Balbi <felipe.balbi@xxxxxxxxxxxxxxx>
> >> >> > ---
> >> >> >  Documentation/usb/dwc3.rst | 712 +++++++++++++++++++++++++++++++++++++++++++++
> >> >> 
> >> >> hmm, maybe this should be moved to Documentation/driver-api/usb/ ?
> >> >
> >> > If that's where the files have moved to, yes, that is where this should
> >> > be.
> >> 
> >> alright, I'll update $subject and add another moving two other files
> >> which remained in Documentation/usb/
> >> 
> >> I'd like to get a feeling for patch 6/7 though, if it's not too much to
> >> ask. I wonder if there would be more interested users for that mechanism.
> >
> > A bit like "usbmon translated into english", right?  I like it, let's
> > see how helpful it is here, and if so, I wouldn't object to adding it to
> > the USB core for other drivers to use.
> 
> Right, I think it could be useful for other drivers adding
> tracepoints. I got tired of always decoding those bytes manually and
> decided to let the computer do it for me :-p
> 
> For example, xHCI has a tracepoint for ctrl transfers which could rely
> on this mechanism. It shouldn't be difficult to make it generic.

I like it too.
After read the patch commit log, I am concerned about the timing
overhead added by the decoding, but then read the patch, it is only for
ctrl transfers, so timing overhead shouldn't be an issue.

Regards,
-Bin.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux