BAM SMMU should be disabled when mapping config is set as bypass.
Change-Id: If92cd1ed23ada0473fc7e8dea0adf35a88980ce0
Signed-off-by: Xiaoqi Zhuang <quic_xiaozhua@quicinc.com>
Add support to transfer trace data from qdss to pcie.
Change-Id: I82d972584d0f78d8b2e248ada4700aa68a702bb1
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
Add drop data size count and data overwritten tag for the drop
data case.
Change-Id: Ib066215ecf8c9ef2a1920d75afafb45b4a6382e7
Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
Signed-off-by: Tao Zhang <quic_taozha@quicinc.com>
Add ethernet mode to support streaming trace in ETR to
ethernet debug port.
Change-Id: I4cab95b52f38fff1143b834d7138e6b6761c75a8
Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
Add debug log for byte-cntr and sw usb to count the data sent
by coresight-tmc.
Change-Id: I2491c1c79930cecb0e0e680eb357211f6c8aa38c
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
Signed-off-by: Tao Zhang <quic_taozha@quicinc.com>
When disabling USB SW path ensure all calls to usb_qdss_write()
are completed before calling usb_qdss_close(), otherwise the
two APIs may race and result in out-of-order sequencing between
the underlying usb_ep_queue() and usb_ep_dequeue() calls. This
may result in usb_qdss_close() getting stuck since it is waiting
on an unqueued request to complete.
Change-Id: Ibdccf082a6273f8d3a78e664b58bd0a5b9ce8f69
Signed-off-by: Jack Pham <quic_jackp@quicinc.com>
When USB sink path is disabled or disconnected, it is expected that
the outstanding write requests will return with an error code.
Ignore -ECONNRESET and -ESHUTDOWN for those respective cases to
avoid printing an error message to the kernel log.
Change-Id: Ia9a886b082e3152cfd1ccf315a678c1b48347b05
Signed-off-by: Jack Pham <quic_jackp@quicinc.com>
Fix the error return value from the function tmc_etr_usb_init as it
expects function expects to return only integer and not 'void*'.
Change-Id: Ieb901ac52b34f230c74a4dea9644946e69b69fa2
Signed-off-by: Jeevan Shriram <quic_jshriram@quicinc.com>
Add support to transfer trace data from qdss to usb. Use
BAM to BAM connection between qdss and usb.
Change-Id: I5ea589e0f7051d850addb4ead2812a614bb7b0f2
Signed-off-by: Tao Zhang <quic_taozha@quicinc.com>