Skip to content
Commit 589d9282 authored by Junhao He's avatar Junhao He Committed by Suzuki Poulose
Browse files

coresight: etm4x: Fix accesses to TRCSEQRSTEVR and TRCSEQSTR



The TRCSEQRSTEVR and TRCSEQSTR registers are not implemented if the
TRCIDR5.NUMSEQSTATE == 0. Skip accessing the registers in such cases.

Fixes: 2e1cdfe1 ("coresight-etm4x: Adding CoreSight ETM4x driver")
Signed-off-by: default avatarJunhao He <hejunhao3@huawei.com>
Reviewed-by: Mike Leach's avatarMike Leach <mike.leach@linaro.org>
Reviewed-by: Anshuman Khandual's avatarAnshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Suzuki Poulose's avatarSuzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20230114091632.60095-1-hejunhao3@huawei.com
parent 88603b6d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment