[PATCH v2 0/2] coresight: etm4x: Fix timestamp regression

Leo Yan leo.yan at arm.com
Mon May 19 10:49:43 PDT 2025


The timestamp appears all zeros with latest kernel, which is caused by
wrong bit field setting. The first patch fixes the regression.

The second patch refactors the ts_source_show() function.  It simplifies
the code for directly returning the TS value.

Changes from v1:
- Retained the older condition check (Suzuki).


Leo Yan (2):
  coresight: etm4x: Fix timestamp bit field handling
  coresight: etm4x: Refactor returning TS field

 drivers/hwtracing/coresight/coresight-etm4x-core.c  |  2 +-
 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c | 16 ++--------------
 2 files changed, 3 insertions(+), 15 deletions(-)

-- 
2.34.1




More information about the linux-arm-kernel mailing list