-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IPA upstreaming #93
Comments
I just rebased these patches https://www.spinics.net/lists/kernel/msg4081927.html to linux-msm8953-mainline branch msm8953-6.1.0/main and was able to send and receive SMS on a fairphone3 (with a standard debian sid installed on a compact flash card). Calls are probably working, too, but sound isn't so testing this has to be postponed. |
Hi, thank you for your help. There's already a branch for 6.1 with all IPA patches (https://github.com/msm8953-mainline/linux/commits/msm8953-6.1.0/ipa). However some stuff didn't work properly and at that time I didn't have much time to debug it, so it would be nice to know what you changed to make it work. The issue now is rebasing on top of 6.3 or even 6.4-rcX because there has been a big refactor. Luckily this refactor maybe benefits us in some parts of the driver because improves separation between the DMA driver and the actual IPA driver. |
Just booted the 6.1.0/ipa branch on my fairphone3 and got a NULL pointer dereference ` |
You were setting the wrong IPA_VERSION for IPA v2.6L. This patch fixes this (at least for me...) and enables the modem on the fairphone-fp3:
Edit: Sending SMS with mmcli works now, required packages (for debian) are modemmanager, rmtfs and probably qrtr-tools. |
Thank you! IIRC SMS and calls don't go through IPA so they should work OOTB. However ModemManager requires a working mobile data endpoint so it will only pick up the modem if IPA at least exposes that endpoint, even if really doesn't work. |
At least for me mmcli (as part of ModemManager) only works when the ipa module is loaded. gnome-calls also seems to need ipa to communicate with the modem. This is probably related to modem init. Here is another patch that removes possible problem:
Edit: Also unloading and reloading the ipa module does not give a rmnet_ipa0 interface again:
Edit2: SMS still work with no rmnet_ipa0, but if I build a kernel without the ipa module mmcli can't find the modem. |
I've finished the rebasing of IPA v2 to branch origin/6.3.0/ipa starting from commit dbfb5bd. It seems to work as good as the 6.1 version, but linux-6.3.0
These are unrelated to the ipa port and also occur for linux-6.3.0 form kernel.org. Edit: How can I best upload the patch, attaching files does not seem to work and I can't post 10000 lines in-line. Edit2: Rebasing to linux-6.4 should not pose a problem as the only change in drivers/net/ipa from 6.3 to 6.4-rc1 is a more complete support of IPA v5.0. |
Now here's the patch, which had to be renamed to *.txt: |
Can you open a PR for it? Also please keep the commit history. It's easier for sending it upstream and getting patches accepted. |
This Soc uses an earlier version of the Qualcomm IPA thing which is not supported by the existing drivers/net/ipa (only works on SDM854) msm8953-mainline/linux#93
@vldly do you plan upstream ipa2-lite? If no i think it can be closed. |
If/when it's polished (as much as it can be) and well tested then why not? I don't like approach of sending lower quality code and expecting maintainers/reviewers to point out flaws or hoping they won't notice or ignore it... |
I have closed this in favor of #196 |
Last time I rebased IPA patches was with kernel version 6.1 and it was half-working.
Let's try tu update them to kernel-next/6.3 with the objective of upstreaming.
The text was updated successfully, but these errors were encountered: