Commit Graph

2 Commits

Author SHA1 Message Date
Martin McConnell ba91922095 usb: cdns3: change trace event cdns3_ring() operation
JIRA: https://issues.redhat.com/browse/RHEL-54566

commit 195a58cb3617d46f274a8cb47ee151d74d39ce0e
Author: Linyu Yuan <quic_linyyuan@quicinc.com>
Date:   Mon Feb 27 10:44:07 2023 +0800

    usb: cdns3: change trace event cdns3_ring() operation

    the original design seem have several problems, first during trace event
    output stage, cdns3_dbg_ring() still refer to priv_ep->trb_pool which
    data content may changed during runtime, second when ring number is
    greater than TRBS_PER_SEGMENT, it has no change to show "too big" message,
    third in cdns3_log_ring event class definition, it allocate too much trace
    event buffer.

    change cdns3_dbg_ring() to be called at trace event fast assign time, and
    change trace buffer real dynamic according ring numbers.

    Signed-off-by: Linyu Yuan <quic_linyyuan@quicinc.com>
    Link: https://lore.kernel.org/r/1677465850-1396-2-git-send-email-quic_linyyuan@quicinc.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Signed-off-by: Martin McConnell <mmcconne@redhat.com>
2024-08-30 12:20:37 +01:00
Pawel Laszczak 64b558f597
usb: cdns3: Change file names for cdns3 driver.
Patch adds prefix cdns3- to all file names related only to
cdns3 driver.

Signed-off-by: Pawel Laszczak <pawell@cadence.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
2020-12-29 12:36:13 +08:00