Re: Resend: Donated code: xHCI debug capability driver

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

 



On Tue, Jan 29, 2013 at 07:40:38PM +0000, Paul Zimmerman wrote:
> Resending with updated xhci.h and signed-off-by added.
> 
> Hi Sarah,
> 
> We (Synopsys) would like to donate the attached code for driving the debug
> capability of the xHCI controller.
> 
> We used this code to test the debug capability of our USB3 IP core. As it
> stands, this is test code rather than fully-fledged Linux driver code, but it
> can be used as a starting point for a complete driver. So although it is
> provided as a patch, it is not intended to be applied in its current form.
>
> This code does not implement a gdb interface; rather it has a kernel thread
> which can do two things - either source a continuous stream of packets on
> the IN endpoint and sink whatever is sent to it on the OUT endpoint, or
> receive whatever is sent to it on the OUT endpoint and echo it back on the
> IN endpoint. The mode is selected by the DBC_SRC_SINK #define at the
> top of the file. We used this, along with the usbtest module and testusb
> program on the host side, to send/receive a constant stream of packets
> over the two bulk endpoints.

It sounds like Synopsys doesn't want to implement the full xHCI USB debug
capability right now, is that correct?

If so, I'm not really sure how helpful this new code is.  As you said,
it's useful for testing new hosts against usbtest, but it's not going to
be of much use to normal Linux users.  Full debug capability would be
more useful IMO.

Basically, if I end up merging this code, it isn't going to have very
many users, and it will probably just end up bit-rotting.  But if we
could instead get full gdb debug capability like we have under EHCI, I
think it would be worth it.

So what is Synopsys' commitment level to getting this code cleaned up to
the point that someone could use it to add full debug capability
support?

Sarah Sharp
--
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