diff options
author | Marc Zyngier <maz@kernel.org> | 2025-09-18 16:13:54 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2025-09-19 13:43:25 +0100 |
commit | 559442afea8812814135ec6fa33bc62c9d09f5c4 (patch) | |
tree | 4f2b73b960e20ce73ce635c58b493b1963a40bfc /rust/helpers/build_assert.c | |
parent | c3b3bbd160d2014a638d40bda17909a0afd85d09 (diff) |
KVM: arm64: Add reg_feat_map_desc to describe full register dependency
struct reg_bits_to_feat_map is great to describe bit-to-feature
dependency, but not so much to describe register-to-feature
dependency. Yet both need to exist.
Add a new reg_feat_map_desc structure to describe this.
Extra complexity is added by the need to source the RES0 bits from
the runtime-computed FGT masks, for which we need an extra flag
and extra complexity. Oh well.
Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'rust/helpers/build_assert.c')
0 files changed, 0 insertions, 0 deletions