From: Felipe Balbi <balbi@kernel.org>
To: Jayshri Pawar <jpawar@cadence.com>, linux-usb@vger.kernel.org
Cc: gregkh@linuxfoundation.org, heikki.krogerus@linux.intel.com,
rogerq@ti.com, linux-kernel@vger.kernel.org, jbergsagel@ti.com,
nsekhar@ti.com, nm@ti.com, peter.chen@nxp.com,
kurahul@cadence.com, pawell@cadence.com, sparmar@cadence.com,
jpawar@cadence.com
Subject: Re: [PATCH v2] usb: cdns3: Add streams support to cadence USB3 DRD driver
Date: Wed, 15 Jan 2020 11:07:30 +0200 [thread overview]
Message-ID: <87eew16qb1.fsf@kernel.org> (raw)
In-Reply-To: <1578733666-354-1-git-send-email-jpawar@cadence.com>
[-- Attachment #1: Type: text/plain, Size: 1695 bytes --]
Hi,
Jayshri Pawar <jpawar@cadence.com> writes:
> This patch includes streams implementation changes.
> The current changes has been validated on FPGA platform.
>
> Enabled streams related interrupts only for streams capable endpoints.
> Processed PRIME and IOT interrupts related to streams capable endpoints.
> Based on PRIME interrupt prime_flag is set and transfer is armed
> otherwise just adding request to the deferred request queue.
> For streams capable endpoints preparing TD with correct stream ID.
>
> TDL calculation:
> Updated tdl calculation based on controller versions.
> 1. For controller version DEV_VER_V2 :We have enabled USB_CONF2_EN_TDL_TRB
> bit in usb_conf2 register in DMULT configuration.
> This enables TDL calculation based on TRB, hence setting TDL in TRB.
> 2. For controller Version < DEV_VER_V2 : Writing TDL and STDL in ep_cmd
> register
> 3. For controller version > DEV_VER_V2 : Writing TDL in ep_tdl register.
> Writing ERDY with correct Stream ID to ep_cmd register.
> Added stream id related information to trace logs.
>
> Signed-off-by: Jayshri Pawar <jpawar@cadence.com>
> Signed-off-by: Pawel Laszczak <pawell@cadence.com>
> Signed-off-by: Rahul Kumar <kurahul@cadence.com>
> ---
>
> Version History:
> v2: Patch generated on top of linux-next.git master branch
>
> drivers/usb/cdns3/gadget.c | 533 +++++++++++++++++++++++++++++++++----
> drivers/usb/cdns3/gadget.h | 26 +-
> drivers/usb/cdns3/trace.h | 93 ++++++-
> 3 files changed, 596 insertions(+), 56 deletions(-)
This patch is enormous. Are you sure there's no way to break it down
into smaller pieces?
(Hint: there is)
--
balbi
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
prev parent reply other threads:[~2020-01-15 9:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-11 9:07 [PATCH v2] usb: cdns3: Add streams support to cadence USB3 DRD driver Jayshri Pawar
2020-01-15 9:07 ` Felipe Balbi [this message]
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=87eew16qb1.fsf@kernel.org \
--to=balbi@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=heikki.krogerus@linux.intel.com \
--cc=jbergsagel@ti.com \
--cc=jpawar@cadence.com \
--cc=kurahul@cadence.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=nm@ti.com \
--cc=nsekhar@ti.com \
--cc=pawell@cadence.com \
--cc=peter.chen@nxp.com \
--cc=rogerq@ti.com \
--cc=sparmar@cadence.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 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.