Re: [PATCH v2 01/23] arm64/sysreg: Define TRBSR_EL1.EC event classes

From: Suzuki K Poulose

Date: Thu Nov 26 2026 - 11:44:49 EST


On 26/11/2026 15:24, Will Deacon wrote:
On Thu, Nov 26, 2026 at 10:24:17AM +0000, Suzuki K Poulose wrote:
Catalin, Will,


On 16/10/2026 17:54, Leo Yan wrote:
TRBSR_EL1.EC identifies the cause of a trace buffer management event,
but the sysreg description does not name its architected values. Define
the five encodings as an unsigned enum so TRBE status handling can
refer to each cause by name.

The values cover other events, Granule Protection Check faults,
implementation-defined events, and stage 1 and stage 2 Data Aborts on
writes to the trace buffer, as specified by Arm ARM (ARM DDI 0487 M.c).

Signed-off-by: Leo Yan <leo.yan@xxxxxxx>

Are you ok with me taking this via the coresight tree ?

The sysregs file gets updated quite regularly, so let me stick this patch
on a shared branch for you.


Thank you Will !

Cheers
Suzuki


Will