On Wed, 02 Sep 2026 17:41:43 +0800, Jie Gan wrote:
For a tnoc device not on the AMBA bus, atid was set to -EOPNOTSUPP. trace_noc_id() returns this value directly to coresight_path_assign_trace_id(), which only treats a literal 0 return as "this device has no ID, keep searching the path" - any other value is checked against IS_VALID_CS_TRACE_ID() and rejected. A negative atid therefore made path assignment fail with -EINVAL instead of falling through to the next device in the path that could supply a valid trace ID.
[...]
Applied, thanks!
[1/1] coresight: tnoc: fix trace ID path assignment failure on non-AMBA tnoc https://git.kernel.org/coresight/c/bfe43f1d7905
Best regards,