net: ipa: add IPA v5.0 configuration dataAdd the configuration data required for IPA v5.0, which is used inthe SDX65 SoC.Signed-off-by: Alex Elder <elder@linaro.org>Signed-off-by: Jakub Kicinsk
net: ipa: add IPA v5.0 configuration dataAdd the configuration data required for IPA v5.0, which is used inthe SDX65 SoC.Signed-off-by: Alex Elder <elder@linaro.org>Signed-off-by: Jakub Kicinski <kuba@kernel.org>
show more ...
net: ipa: correct IPA v4.7 IMEM offsetCommit b310de784bacd ("net: ipa: add IPA v4.7 support") was mergeddespite an unresolved comment made by Konrad Dybcio. Konradobserved that the IMEM region s
net: ipa: correct IPA v4.7 IMEM offsetCommit b310de784bacd ("net: ipa: add IPA v4.7 support") was mergeddespite an unresolved comment made by Konrad Dybcio. Konradobserved that the IMEM region specified for IPA v4.7 did not matchthat used downstream for the SM7225 SoC. In "lagoon.dtsi" presentin a Sony Xperia source tree, a ipa_smmu_ap node was defined with a"qcom,additional-mapping" property that defined the IPA IMEM areastarting at offset 0x146a8000 (not 0x146a9000 that was committed).The IPA v4.7 target system used for testing uses the SM7225 SoC, sowe'll adhere what the downstream code specifies is the address ofthe IMEM region used for IPA.Link: https://lore.kernel.org/linux-arm-msm/20221208211529.757669-1-elder@linaro.orgFixes: b310de784bac ("net: ipa: add IPA v4.7 support")Tested-by: Luca Weiss <luca.weiss@fairphone.com>Signed-off-by: Alex Elder <elder@linaro.org>Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>Signed-off-by: David S. Miller <davem@davemloft.net>
net: ipa: add IPA v4.7 supportAdd the necessary register and data definitions needed for IPA v4.7,which is found on the SM6350 SoC.Co-developed-by: Luca Weiss <luca.weiss@fairphone.com>Signed-o
net: ipa: add IPA v4.7 supportAdd the necessary register and data definitions needed for IPA v4.7,which is found on the SM6350 SoC.Co-developed-by: Luca Weiss <luca.weiss@fairphone.com>Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>Signed-off-by: Alex Elder <elder@linaro.org>Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netdrivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c 2871edb32f46 ("can: kvaser_usb: Fix possible completions during init_completion")
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netdrivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c 2871edb32f46 ("can: kvaser_usb: Fix possible completions during init_completion") abb8670938b2 ("can: kvaser_usb_leaf: Ignore stale bus-off after start") 8d21f5927ae6 ("can: kvaser_usb_leaf: Fix improved state not being reported")Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net: ipa: don't assume 8 modem routing table entriesCurrently all platforms are assumed allot 8 routing table entriesfor use by the modem. Instead, add a new configuration data entrythat defines
net: ipa: don't assume 8 modem routing table entriesCurrently all platforms are assumed allot 8 routing table entriesfor use by the modem. Instead, add a new configuration data entrythat defines the number of modem routing table entries, and recordthat in the IPA structure.Signed-off-by: Alex Elder <elder@linaro.org>Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net: ipa: fix v3.5.1 resource limit max valuesSome resource limits on IPA v3.5.1 have their max values set to255, this causes a few splats in ipa_reg_encode and prevents theIPA from booting prope
net: ipa: fix v3.5.1 resource limit max valuesSome resource limits on IPA v3.5.1 have their max values set to255, this causes a few splats in ipa_reg_encode and prevents theIPA from booting properly. The limits are all 6 bits wide soadjust 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.orgSigned-off-by: Jakub Kicinski <kuba@kernel.org>
net: ipa: define BCR values using an enumThe backward compatibility register (BCR) has a set of bit flagsthat indicate ways in which the IPA hardware should operate in abackward compatible way.
net: ipa: define BCR values using an enumThe backward compatibility register (BCR) has a set of bit flagsthat indicate ways in which the IPA hardware should operate in abackward compatible way. The register is not supported startingwith IPA v4.5, and where it is supported, defined bits all have thesame numeric value.Redefine these flags using an enumerated type, with each member'svalue representing the bit position that encodes it in the BCR.This replaces all of the single-bit field masks previously defined.Signed-off-by: Alex Elder <elder@linaro.org>Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net: ipa: fix buildAfter commit 2c7b9b936bdc ("net: ipa: move configuration data filesinto a subdirectory"), build of the ipa driver fails with thefollowing error:drivers/net/ipa/data/ipa_data-
net: ipa: fix buildAfter commit 2c7b9b936bdc ("net: ipa: move configuration data filesinto a subdirectory"), build of the ipa driver fails with thefollowing error:drivers/net/ipa/data/ipa_data-v3.1.c:9:10: fatal error: gsi.h: No such file or directoryAfter the mentioned commit, all the file included by the configurationare in the parent directory. Fix the issue updating the include path.Fixes: 2c7b9b936bdc ("net: ipa: move configuration data files into a subdirectory")Signed-off-by: Paolo Abeni <pabeni@redhat.com>Link: https://lore.kernel.org/r/7105112c38cfe0642a2d9e1779bf784a7aa63d16.1658411666.git.pabeni@redhat.comSigned-off-by: Jakub Kicinski <kuba@kernel.org>
net: ipa: move configuration data files into a subdirectoryReduce the clutter in the main IPA source directory by creating anew "data" subdirectory, and locating all of the configuration datafile
net: ipa: move configuration data files into a subdirectoryReduce the clutter in the main IPA source directory by creating anew "data" subdirectory, and locating all of the configuration datafiles in there.Signed-off-by: Alex Elder <elder@linaro.org>Signed-off-by: Jakub Kicinski <kuba@kernel.org>