net: ipa: fix v3.5.1 resource limit max values
authorCaleb Connolly <caleb.connolly@linaro.org>
Mon, 24 Oct 2022 21:03:31 +0000 (22:03 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 26 Oct 2022 02:48:57 +0000 (19:48 -0700)
commitf23a566bbfc0896c97b1949216eb87fcdcb154bb
treeea86b3505b03013ae0ada2ece9d1ff59f152e43e
parent5da6d65590a0698199df44d095e54b0ed1708178
net: ipa: fix v3.5.1 resource limit max values

Some resource limits on IPA v3.5.1 have their max values set to
255, this causes a few splats in ipa_reg_encode and prevents the
IPA from booting properly. The limits are all 6 bits wide so
adjust the max values to 63.

Fixes: 1c418c4a929c ("net: ipa: define resource group/type IPA register fields")
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
Reviewed-by: Alex Elder <elder@linaro.org>
Link: https://lore.kernel.org/r/20221024210336.4014983-1-caleb.connolly@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/data/ipa_data-v3.5.1.c