diff options
author | Anshuman Khandual <anshuman.khandual@arm.com> | 2023-08-02 09:36:58 +0300 |
---|---|---|
committer | Suzuki K Poulose <suzuki.poulose@arm.com> | 2023-08-02 14:53:28 +0300 |
commit | c00701125cf379f8ce9a4c98cb3cbf9edc3a5672 (patch) | |
tree | 67aca65bf562f94babc439b1e57e79e717fe928b /drivers/i3c | |
parent | 04e8429c5b4f644257fe64db3403205a7a41e33b (diff) | |
download | linux-c00701125cf379f8ce9a4c98cb3cbf9edc3a5672.tar.xz |
coresight: trbe: Directly use ID_AA64DFR0_EL1_TraceBuffer_IMP
is_trbe_available() checks for the TRBE support via extracting TraceBuffer
field value from ID_AA64DFR0_EL1, and ensures that it is implemented. This
replaces the open encoding '0b0001' with 'ID_AA64DFR0_EL1_TraceBuffer_IMP'
which is now available via sysreg tools. Functional change is not intended.
Cc: Suzuki K Poulose <suzuki.poulose@arm.com>
Cc: Mike Leach <mike.leach@linaro.org>
Cc: James Clark <james.clark@arm.com>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: coresight@lists.linaro.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Reviewed-by: James Clark <james.clark@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20230802063658.1069813-1-anshuman.khandual@arm.com
Diffstat (limited to 'drivers/i3c')
0 files changed, 0 insertions, 0 deletions