diff options
author | Caleb Connolly <[email protected]> | 2022-10-24 22:03:32 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-10-25 19:48:58 -0700 |
commit | 05a31b94af3226ee47dcb6802229a7a576105d47 (patch) | |
tree | 905543b03d7663d384153db4bff685b26a1f181b /lib/mpi/mpi-sub-ui.c | |
parent | f23a566bbfc0896c97b1949216eb87fcdcb154bb (diff) |
net: ipa: fix v3.1 resource limit masks
The resource group limits for IPA v3.1 mistakenly used 6 bit wide mask
values, when the hardware actually uses 8. Out of range values were
silently ignored before, so the IPA worked as expected. However the
new generalised register definitions introduce stricter checking here,
they now cause some splats and result in the value 0 being written
instead. Fix the limit bitmask widths so that the correct values can be
written.
Fixes: 1c418c4a929c ("net: ipa: define resource group/type IPA register fields")
Signed-off-by: Caleb Connolly <[email protected]>
Reviewed-by: Alex Elder <[email protected]>
Tested-by: Jami Kettunen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions