diff options
author | Marc Zyngier <maz@kernel.org> | 2024-01-22 18:13:35 +0000 |
---|---|---|
committer | Oliver Upton <oliver.upton@linux.dev> | 2024-02-08 15:12:44 +0000 |
commit | 53eaeb7fbe2702520125ae7d72742362c071a1f2 (patch) | |
tree | 85a279670f55f4579e1cfe5abe0a3ec3669046c7 /tools/perf/scripts/python/libxed.py | |
parent | 6613476e225e090cc9aad49be7fa504e290dd33d (diff) |
arm64: Add macro to compose a sysreg field value
A common idiom is to compose a tupple (reg, field, val) into
a symbol matching an autogenerated definition.
Add a help performing the concatenation and replace it when
open-coded implementations exist.
Suggested-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20240122181344.258974-2-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions