linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Chen <peter.chen@nxp.com>
To: "pawell@cadence.com" <pawell@cadence.com>
Cc: "linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
	"rogerq@ti.com" <rogerq@ti.com>
Subject: usb.org CV MSC test for CDNS3
Date: Thu, 13 Feb 2020 09:20:51 +0000	[thread overview]
Message-ID: <20200213092051.GA11142@b29397-desktop> (raw)

Hi Pawel,

Does the upstream version Cadence driver pass CV MSC test at your
side? I met an issue for “Error Recovery Test”, It needs to clear halt
for ep1-out, but ep1-out’s request is pending. After ep is reset,
and set doorbell again, the transfer begins at once, and receive TRBERR
interrupt, but the host still not sends CBW, so when the host sends CBW,
the device side can’t receive any interrupts due to there is no TRB is
pending.

Call __cdns3_gadget_ep_clear_halt for OUT will trigger TRBERR interrupt,
and advance the TRADDR value if there is a pending TRB, does it be
expected?

To fix this issue, it needs to change several places, and I make it
partial work to use the next TRB for the same pending request.
I don't know if it is correct way, since you may more familiar with
your IP, you could give me some suggestions if possible,
thanks in advance.

-- 

Thanks,
Peter Chen

             reply	other threads:[~2020-02-13  9:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-13  9:20 Peter Chen [this message]
2020-02-13 10:23 ` usb.org CV MSC test for CDNS3 Pawel Laszczak
2020-02-13 10:57   ` Felipe Balbi

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=20200213092051.GA11142@b29397-desktop \
    --to=peter.chen@nxp.com \
    --cc=linux-usb@vger.kernel.org \
    --cc=pawell@cadence.com \
    --cc=rogerq@ti.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).