diff options
author | Marc Zyngier <[email protected]> | 2023-01-12 11:38:46 +0900 |
---|---|---|
committer | Oliver Upton <[email protected]> | 2023-01-12 21:07:43 +0000 |
commit | e2c0b51f1c9dacc68292ce9ebffbfd4204d1ca58 (patch) | |
tree | bf6566fea3cd957b06ca4c5667b0f0329e0adb50 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | b7bfaa761d760e72a969d116517eaa12e404c262 (diff) |
arm64: Allow the definition of UNKNOWN system register fields
The CCSIDR_EL1 register contains an UNKNOWN field (which replaces
fields that were actually defined in previous revisions of the
architecture).
Define an 'Unkn' field type modeled after the Res0/Res1 types
to allow such description. This allows the generation of
#define CCSIDR_EL1_UNKN (UL(0) | GENMASK_ULL(31, 28))
which may have its use one day. Hopefully the architecture doesn't
add too many of those in the future.
Signed-off-by: Marc Zyngier <[email protected]>
Signed-off-by: Akihiko Odaki <[email protected]>
Reviewed-by: Mark Brown <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions