summaryrefslogtreecommitdiff
path: root/scripts/git.orderFile
diff options
context:
space:
mode:
authorSanman Pradhan <psanman@juniper.net>2026-04-14 17:25:12 +0000
committerSuzuki K Poulose <suzuki.poulose@arm.com>2026-08-07 10:45:11 +0100
commit75d42d990335322852ed5f7ce324b701c0949d79 (patch)
tree0fdda267a4a021008566c53fca12b7fcdb00788d /scripts/git.orderFile
parentf67379bcf6c8440acdb00eb347b3e2cc9dd84a89 (diff)
downloadlinux-75d42d990335322852ed5f7ce324b701c0949d79.tar.gz
linux-75d42d990335322852ed5f7ce324b701c0949d79.zip
hwtracing: hisi_ptt: Propagate DMA reset timeout in trace_start()
hisi_ptt_wait_dma_reset_done() discards the return value of readl_poll_timeout_atomic(). If the DMA engine does not complete its reset within the timeout, hisi_ptt_trace_start() proceeds to start tracing regardless. Return a bool from hisi_ptt_wait_dma_reset_done(), consistent with the other wait helpers in this driver. On timeout, log an error, de-assert the reset bit, and return -ETIMEDOUT. Move ctrl->started to the successful path so a failed start does not leave the trace marked as active. Fixes: ff0de066b463 ("hwtracing: hisi_ptt: Add trace function support for HiSilicon PCIe Tune and Trace device") Cc: stable@vger.kernel.org Signed-off-by: Sanman Pradhan <psanman@juniper.net> Reviewed-by: Sizhe Liu <liusizhe5@huawei.com> Reviewed-by: Yicong Yang <yangyccccc@gmail.com> Tested-by: Sizhe Liu <liusizhe5@huawei.com> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Link: https://lore.kernel.org/r/20260414172451.14331-2-sanman.pradhan@hpe.com
Diffstat (limited to 'scripts/git.orderFile')
0 files changed, 0 insertions, 0 deletions