diff options
author | Marc Zyngier <maz@kernel.org> | 2022-06-30 17:04:56 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-07-01 15:22:51 +0100 |
commit | 6b7ec18c09763f72dcd3d87e194860f9e9db8968 (patch) | |
tree | 7a4d1980a525a38cca8431ff0219e4aebe2c99b2 /lib/mpi/mpi-add.c | |
parent | fa8aa59ae6454b7a6a670acb2097e7800992cba1 (diff) |
arm64: Allow the idreg override to deal with variable field width
Currently, the override mechanism can only deal with 4bit fields,
which is the most common case. However, we now have a bunch of
ID registers that have more diverse field widths, such as
ID_AA64SMFR0_EL1, which has fields that are a single bit wide.
Add the support for variable width, and a macro that encodes
a feature width of 4 for all existing override.
No functional change.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20220630160500.1536744-6-maz@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions