lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed, 15 Jan 2020 11:07:30 +0200
From:   Felipe Balbi <balbi@...nel.org>
To:     Jayshri Pawar <jpawar@...ence.com>, linux-usb@...r.kernel.org
Cc:     gregkh@...uxfoundation.org, heikki.krogerus@...ux.intel.com,
        rogerq@...com, linux-kernel@...r.kernel.org, jbergsagel@...com,
        nsekhar@...com, nm@...com, peter.chen@....com, kurahul@...ence.com,
        pawell@...ence.com, sparmar@...ence.com, jpawar@...ence.com
Subject: Re: [PATCH v2] usb: cdns3: Add streams support to cadence USB3 DRD driver


Hi,

Jayshri Pawar <jpawar@...ence.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@...ence.com>
> Signed-off-by: Pawel Laszczak <pawell@...ence.com>
> Signed-off-by: Rahul Kumar <kurahul@...ence.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

Download attachment "signature.asc" of type "application/pgp-signature" (833 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ