diff options
author | Anshuman Khandual <[email protected]> | 2023-08-02 12:06:58 +0530 |
---|---|---|
committer | Suzuki K Poulose <[email protected]> | 2023-08-02 12:53:28 +0100 |
commit | c00701125cf379f8ce9a4c98cb3cbf9edc3a5672 (patch) | |
tree | 67aca65bf562f94babc439b1e57e79e717fe928b /lib/test_fortify/write_overflow-strncpy.c | |
parent | 04e8429c5b4f644257fe64db3403205a7a41e33b (diff) |
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 <[email protected]>
Cc: Mike Leach <[email protected]>
Cc: James Clark <[email protected]>
Cc: Leo Yan <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Anshuman Khandual <[email protected]>
Reviewed-by: James Clark <[email protected]>
Signed-off-by: Suzuki K Poulose <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions