aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorAnshuman Khandual <[email protected]>2020-07-07 19:53:13 +0530
committerCatalin Marinas <[email protected]>2020-07-07 16:02:59 +0100
commitc6c83d757a13a5df51428a6fe133c9193810507b (patch)
treef3a7e4b1b0c74676b3861c7aaff05eb1274c099e /scripts/gcc-plugins/cyc_complexity_plugin.c
parent8d3154afc10dd474265b62752cd169f66f40ae0d (diff)
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 <[email protected]> Reviewed-by: Suzuki K Poulose <[email protected]> Cc: Will Deacon <[email protected]> Cc: Suzuki K Poulose <[email protected]> Cc: Mark Brown <[email protected]> Cc: Mark Rutland <[email protected]> Cc: [email protected] Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions