summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAnshuman Khandual <anshuman.khandual@arm.com>2020-07-07 17:23:13 +0300
committerCatalin Marinas <catalin.marinas@arm.com>2020-07-07 18:02:59 +0300
commitc6c83d757a13a5df51428a6fe133c9193810507b (patch)
treef3a7e4b1b0c74676b3861c7aaff05eb1274c099e /tools/perf/scripts/python
parent8d3154afc10dd474265b62752cd169f66f40ae0d (diff)
downloadlinux-c6c83d757a13a5df51428a6fe133c9193810507b.tar.xz
arm64/cpufeature: Validate feature bits spacing in arm64_ftr_regs[]
arm64_feature_bits for a register in arm64_ftr_regs[] are in a descending order as per their shift values. Validate that these features bits are defined correctly and do not overlap with each other. This check protects against any inadvertent erroneous changes to the register definitions. Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com> Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com> Cc: Will Deacon <will@kernel.org> Cc: Suzuki K Poulose <suzuki.poulose@arm.com> Cc: Mark Brown <broonie@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Link: https://lore.kernel.org/r/1594131793-9498-1-git-send-email-anshuman.khandual@arm.com Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions