diff options
| author | Yeoreum Yun <yeoreum.yun@arm.com> | 2026-07-25 12:36:33 +0100 |
|---|---|---|
| committer | Suzuki K Poulose <suzuki.poulose@arm.com> | 2026-08-07 10:45:11 +0100 |
| commit | 0e1cd4270b42a257c139165622091e1e8c7104a7 (patch) | |
| tree | f1e5ac4dc1a4d7907afdb2daea11e2d3b7ad55f5 /scripts/git.orderFile | |
| parent | 856119909d8de99d540edbdfb5431efab936f649 (diff) | |
| download | linux-0e1cd4270b42a257c139165622091e1e8c7104a7.tar.gz linux-0e1cd4270b42a257c139165622091e1e8c7104a7.zip | |
coresight: etm4x: fix wrong check of etm4x_sspcicrn_present()
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]
Fixes: f6a18f354c58 ("coresight: etm4x: Handle access to TRCSSPCICRn")
Reviewed-by: Leo Yan <leo.yan@arm.com>
Signed-off-by: Yeoreum Yun <yeoreum.yun@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20260725113645.57519-2-yeoreum.yun@arm.com
Diffstat (limited to 'scripts/git.orderFile')
0 files changed, 0 insertions, 0 deletions
