On Wed, Apr 15, 2026 at 05:55:17PM +0100, Yeoreum Yun wrote:
According to Embedded Trace Macrocell Architecture Specification ETMv4.0 to ETM4.6 [0], TRCSSPCICR<n> is present only if all of the following are true:
- TRCIDR4.NUMSSCC > n.
- TRCIDR4.NUMPC > 0b0000.
- TRCSSCSR<n>.PC == 0b1.
Comment for etm4x_sspcicrn_present() is align with the specification. However, the check should use drvdata->nr_pe_cmp to check TRCIDR4.NUMPC not nr_pe.
Link: https://developer.arm.com/documentation/ihi0064/latest/ [0] Signed-off-by: Yeoreum Yun yeoreum.yun@arm.com
Reviewed-by: Leo Yan leo.yan@arm.com