From: Dmitry Malkin <DMalkin@ptsecurity.com>
To: Lu Baolu <baolu.lu@linux.intel.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>
Subject: Re: [PATCH v3 04/12] usb: xhci: dbc: add support for Intel xHCI dbc quirk
Date: Tue, 17 Nov 2015 10:28:59 +0000 [thread overview]
Message-ID: <1447756139531.72345@ptsecurity.com> (raw)
In-Reply-To: <56493D02.8020204@linux.intel.com>
On Mon, 16 Nov 2015 10:18:42 +0800, Lu Baolu wrote:
> This quirk works as well if debug host doesn't have DBC. I didn't try a
> DBC-capable debug host yet.
Hi,
I went through it again, with your v3 patch series on top of vanilla v4.3.0.
Two targets, one host, all with Intel chipset (XHCI device 0:14.0 with VID:8086).
Targets DIDs are 9c31 (8-series chipset) and 9d2f (100-series chipset).
Host DID is 8c31 (8-series).
I can only further confirm my previous observations. The host cannot
see the target (there is no debug device) at all, until I manually
re-plug a debug cable. Cable plugged in, prior to starting the target.
I think that trying a Hot Reset for all disconnected USB 3.0 ports on
the debug target *just before* setting DCE bit is inherently racy.
What if the number of disconnected ports changes or if someone will insert
a print statement or refactors your code?
Also sending TS2 to the debug host port will either:
- get dropped by its hub as unsupported upstream request, or
- get ignored due to SS.Inactive port state
Could you explain what exactly you workaround does at the low level?
--
with best regards,
Dmitry Malkin
next prev parent reply other threads:[~2015-11-17 10:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-13 14:40 [PATCH v3 04/12] usb: xhci: dbc: add support for Intel xHCI dbc quirk Dmitry Malkin
2015-11-13 15:34 ` Dmitry Malkin
2015-11-16 2:18 ` Lu Baolu
2015-11-17 10:28 ` Dmitry Malkin [this message]
2015-11-18 11:10 ` Lu Baolu
-- strict thread matches above, loose matches on Subject: below --
2015-11-09 7:38 [PATCH v3 00/12] usb: early: add support for early printk through USB3 debug port Lu Baolu
2015-11-09 7:38 ` [PATCH v3 04/12] usb: xhci: dbc: add support for Intel xHCI dbc quirk Lu Baolu
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=1447756139531.72345@ptsecurity.com \
--to=dmalkin@ptsecurity.com \
--cc=baolu.lu@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.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.