aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2022-06-30 17:04:56 +0100
committerWill Deacon <[email protected]>2022-07-01 15:22:51 +0100
commit6b7ec18c09763f72dcd3d87e194860f9e9db8968 (patch)
tree7a4d1980a525a38cca8431ff0219e4aebe2c99b2 /lib/mpi/mpi-cmp.c
parentfa8aa59ae6454b7a6a670acb2097e7800992cba1 (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 <[email protected]> Reviewed-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions