From: Jack Pham <jackp@codeaurora.org>
To: Felipe Balbi <balbi@ti.com>
Cc: Alan Stern <stern@rowland.harvard.edu>, Greg KH <greg@kroah.com>,
linux-usb@vger.kernel.org, Tim Sander <tim@krieglstein.org>,
Manu Gautam <mgautam@codeaurora.org>,
linux-arm-msm@vger.kernel.org
Subject: Re: [RFC/PATCH 2/2] usb: ehci: Add support for SINGLE_STEP_SET_FEATURE test of EHSET
Date: Tue, 13 Aug 2013 16:05:54 -0700 [thread overview]
Message-ID: <20130813230554.GD28634@usblab-sd-06.qualcomm.com> (raw)
In-Reply-To: <20130813153257.GH27954@radagast>
On Tue, Aug 13, 2013 at 10:32:57AM -0500, Felipe Balbi wrote:
> On Mon, Aug 12, 2013 at 02:52:33PM -0400, Alan Stern wrote:
> > On Mon, 12 Aug 2013, Felipe Balbi wrote:
> > > anything that USB[23]0CV supports today. There are even link layer tests
> > > for USB3 and a bunch of others. This SINGLE_STEP_SET_FEATURE is but one
> > > of a large(-ish) test suite which needs to be supported.
> >
> > That's what I'm trying to find out. What are the special features that
> > we would need to implement in order to support the entire test suite?
>
> I haven't looked at USB??CV spec for a while, maybe Jack knows better ?
I've been going off of
http://www.usb.org/developers/onthego/EHSET_v1.01.pdf which is specific
to OTG and Embedded hosts, but I think it overlaps pretty close with
with what USB20CV/HSET is trying to cover.
So far the SINGLE_STEP_GET_DEVICE_DESCRIPTOR and SINGLE_STEP_SET_FEATURE
tests are the only ones we've had to implement in software for, and
obviously with the latter requiring further modification in the HCD
itself for that 15-second delay insertion.
The other test modes that the USB20CV/HSETT tool appears to invoke (TEST_J,
TEST_K, etc.) are actually defined in USB 2.0 Section 7.1.20 and also
reserved in EHCI's PORTSC bits [19:16], so whatever invokes these tests
modes--unlike SINGLE_STEP--simply issue a SET_FEATURE(PORT_FEAT_TEST)
and can expect the hardware to handle it.
> > Therefore we both agree the $SUBJECT patch should not be accepted in
> > its current form. At the very least, the new code in ehci-hcd should
> > be conditional on a CONFIG_USB_HCD_TEST_MODE option.
Already submitted a follow-on patch for that.
> > In addition, we may want some of the work (though at this point I'm
> > not still clear on exactly what parts) to be moved into usbcore.
+1. I am open to suggestions on how best to achieve this. I have a
another patch in the for doing the same 15-second delay in xHCI but am
hesitant to submit it just yet, pending ideas on a better way to do it
in the common HCD core.
Thanks,
Jack
--
Employee of Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
next prev parent reply other threads:[~2013-08-13 23:05 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1591113.JYQdTBbFW7@dabox>
2013-07-03 3:13 ` [PATCH 0/2] usb: Add support for EHSET Jack Pham
2013-07-03 3:13 ` [PATCH 1/2] usb: misc: EHSET Test Fixture device driver for host compliance Jack Pham
2013-07-03 3:13 ` [RFC/PATCH 2/2] usb: ehci: Add support for SINGLE_STEP_SET_FEATURE test of EHSET Jack Pham
2013-07-25 18:46 ` Greg KH
2013-07-25 19:44 ` Alan Stern
2013-07-25 20:54 ` Felipe Balbi
2013-07-25 21:33 ` Alan Stern
2013-08-09 13:41 ` Felipe Balbi
2013-08-09 14:37 ` Alan Stern
2013-08-09 14:44 ` Felipe Balbi
2013-08-09 15:04 ` Alan Stern
[not found] ` <Pine.LNX.4.44L0.1308091053450.1405-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
2013-08-12 17:53 ` Felipe Balbi
2013-08-12 18:52 ` Alan Stern
2013-08-13 15:32 ` Felipe Balbi
2013-08-13 16:47 ` Alan Stern
2013-08-13 23:05 ` Jack Pham [this message]
2013-08-14 14:10 ` Alan Stern
2013-08-14 17:05 ` Jack Pham
2013-07-25 22:09 ` Jack Pham
[not found] ` <20130725220925.GA28634-NjF/qFWh7jSrUKQWM4GlyCPyLMyjRtWwAL8bYrjMMd8@public.gmane.org>
2013-08-08 23:49 ` [PATCH " Jack Pham
2013-08-09 0:05 ` Greg KH
2013-08-09 2:12 ` Jack Pham
2013-08-09 2:32 ` Greg KH
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=20130813230554.GD28634@usblab-sd-06.qualcomm.com \
--to=jackp@codeaurora.org \
--cc=balbi@ti.com \
--cc=greg@kroah.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mgautam@codeaurora.org \
--cc=stern@rowland.harvard.edu \
--cc=tim@krieglstein.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.