[PATCH 0/2] perf hisi-ptt: Fix TLP header parsing and naming

From: Sizhe Liu

Date: Wed Jul 29 2026 - 02:02:46 EST


This series fixes two issues in the hisi_ptt packet decoder that were
introduced by commit 5e91e57e6809 ("perf auxtrace arm64: Add support
for parsing HiSilicon PCIe Trace packet").

Patch 1 fixes spelling / abbreviation errors in symbol names and
macros.

Patch 2 fixes a bug:
The DW0 bit-field layout of the hisi_ptt_4dw union does not match
the actual little-endian memory ordering, so the extracted
Format/Type/T9/T8/TH/SO/Length/Time fields are wrong.

Meanwhile, make all DW hex values printed in big-endian byte order
for readability.

Sizhe Liu (2):
perf hisi-ptt: Fix spelling and abbreviation errors
perf hisi-ptt: Fix PTT trace TLP header parsing

Documentation/trace/hisi-ptt.rst | 28 ++++-----
.../hisi-ptt-decoder/hisi-ptt-pkt-decoder.c | 62 +++++++++----------
.../hisi-ptt-decoder/hisi-ptt-pkt-decoder.h | 14 ++++-
3 files changed, 58 insertions(+), 46 deletions(-)

--
2.33.0