[PATCH v4 02/12] rvtrace: Initial implementation of driver framework
Zane Leung
liangzhen at linux.spacemit.com
Fri Jul 3 00:32:50 PDT 2026
On 7/3/2026 1:41 PM, Greg KH wrote:
> On Thu, Jul 02, 2026 at 04:19:53PM +0800, Zane Leung wrote:
>> Hi,
>>
>> Based on the current framework, I am concerned about how to support RISC-V ATB and reuse the Coresight component (ETB/tmc/TPIU) in the future.
> That is very vague. Please provide specific examples.
According to the /trace control interface/ [1] spec: "The ATB Bridge allows sending RISC-V trace to Arm CoreSight
infrastructure (instead of RISC-V compliant sink defined in this document) as an ATB initiator. ATB Bridge is not
needed for RISC-V only systems."
For ATB Bridge, read trace using Coresight components (ETB/TMC/TPIU), so we need also ARM coresight driver in
RISC-V trace systems. Current framework seems to only be applicable to RISC-V only systems, and does not support
ATB and ARM coresight use case like the K3 (K3 SoC contains RISC-V Encoder, Funnel, ATB, CoreSight Funnel, and
CoreSight TMC components). For more discussion, please refer to [2].
[1]: https://docs.riscv.org/reference/trace-control-interface/v1.0/tci_system_overview.html#atb-bridge
[2]: https://lore.kernel.org/all/20260414034153.3272485-1-liangzhen@linux.spacemit.com/
More information about the linux-riscv
mailing list