aboutsummaryrefslogtreecommitdiff
path: root/tools/counter
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2022-05-13 18:41:17 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2022-05-15 10:58:25 +0100
commit82bf59002e0f84e51c16589080c2feba6e6ec78a (patch)
tree8580e57045f51862266320cee8d3391398105d04 /tools/counter
parent7a41a97b65ea7c4e0458b11e7a2c71c6dd3be0c4 (diff)
arm64/sysreg: improve comment for regs without fields
Currently for registers without fields we create a comment pointing at the common definitions, e.g. | #define REG_TTBR0_EL1 S3_0_C2_C0_0 | #define SYS_TTBR0_EL1 sys_reg(3, 0, 2, 0, 0) | #define SYS_TTBR0_EL1_Op0 3 | #define SYS_TTBR0_EL1_Op1 0 | #define SYS_TTBR0_EL1_CRn 2 | #define SYS_TTBR0_EL1_CRm 0 | #define SYS_TTBR0_EL1_Op2 0 | | /* See TTBRx_EL1 */ It would be slightly nicer if the comment said what we should be looking for, e.g. | #define REG_TTBR0_EL1 S3_0_C2_C0_0 | #define SYS_TTBR0_EL1 sys_reg(3, 0, 2, 0, 0) | #define SYS_TTBR0_EL1_Op0 3 | #define SYS_TTBR0_EL1_Op1 0 | #define SYS_TTBR0_EL1_CRn 2 | #define SYS_TTBR0_EL1_CRm 0 | #define SYS_TTBR0_EL1_Op2 0 | | /* For TTBR0_EL1 fields see TTBRx_EL1 */ Update the comment generation accordingly. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Cc: Mark Brown <broonie@kernel.org> Cc: Will Deacon <will@kernel.org> Link: https://lore.kernel.org/r/20220513174118.266966-2-mark.rutland@arm.com Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/counter')
0 files changed, 0 insertions, 0 deletions