Re: [PATCH v2] coresight: etm4x: Fix accesses to TRCSEQRSTEVR and TRCSEQSTR

From: Suzuki K Poulose
Date: Mon Jan 16 2023 - 05:16:56 EST


On 14/01/2023 09:16, Junhao He wrote:
The TRCSEQRSTEVR and TRCSEQSTR registers are not implemented if the
TRCIDR5.NUMSEQSTATE == 0. Skip accessing the registers in such cases.

Fixes: 2e1cdfe184b5 ("coresight-etm4x: Adding CoreSight ETM4x driver")

Signed-off-by: Junhao He <hejunhao3@xxxxxxxxxx>
Reviewed-by: Mike Leach <mike.leach@xxxxxxxxxx>
Reviewed-by: Anshuman Khandual <anshuman.khandual@xxxxxxx>

Queued to coresight next:

https://git.kernel.org/coresight/c/589d928248b72f8

Thanks
Suzuki