commit | f6a18f354c587b6a77e71df40c715152328b34ff | [log] [tgz] |
---|---|---|
author | Suzuki K Poulose <suzuki.poulose@arm.com> | Mon Feb 01 11:13:23 2021 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Feb 04 17:00:32 2021 +0100 |
tree | 46d7a774a3bdc05b32bbcd197cb6b9a6d38fd094 | |
parent | b8336ad947e1913b9bb5cdf4f54b687654160d42 [diff] |
coresight: etm4x: Handle access to TRCSSPCICRn TRCSSPCICR<n> is present only if all of the following are true: TRCIDR4.NUMSSCC > n. TRCIDR4.NUMPC > 0b0000 . TRCSSCSR<n>.PC == 0b1 Add a helper function to check all the conditions. Link: https://lore.kernel.org/r/20210110224850.1880240-2-suzuki.poulose@arm.com Cc: Mike Leach <mike.leach@linaro.org> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Link: https://lore.kernel.org/r/20210201181351.1475223-4-mathieu.poirier@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>