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
Add Memshare service for GPS #158
Conversation
2d8b12f
to
5614524
Compare
1162aa6
to
e6d801a
Compare
36c100c
to
1b0c3b3
Compare
arch/arm64/boot/dts/qcom/msm8916-modem-please-test-memshare.dtsi
Outdated
Show resolved
Hide resolved
arch/arm64/boot/dts/qcom/msm8916-modem-please-test-memshare.dtsi
Outdated
Show resolved
Hide resolved
7d1be67
to
2ee14a4
Compare
@antony-jr I don't think SIM will change much, GPS should work (mostly) regardless of the modem state. There may be something custom in the device that is required for GPS to work though |
d614e7d
to
cdd600c
Compare
If you are interested in debugging this further I could give a few more suggestions of things to try on Matrix/IRC (bit annoying to list them all here). But there is also the possibility that it's something very ASUS-special or something that will be fairly hard to figure out. |
Thanks. I will ping you after doing my tests further with SIM and data outside. |
51a7b19
to
ef656a7
Compare
CONFIG_QCOM_MEMSHARE_QMI_SERVICE=m Signed-off-by: Nikita Travkin <nikitos.tr@gmail.com>
Signed-off-by: Nikita Travkin <nikitos.tr@gmail.com>
This QMI service provides memory region for remote processors (like modem) on request. It is known to be used in GPS service in modem firmware for some (most) of msm8916 devices. This commit implements "guaranteed allocation" of memory using reserved-memory regions because gps service crashes on some devices unless specific address was provided. Signed-off-by: Nikita Travkin <nikitos.tr@gmail.com>
This service is used by GPS service in many msm8916 devices. Signed-off-by: Nikita Travkin <nikitos.tr@gmail.com>
…Modem+QDSP6 (v5) Signed-off-by: Nikita Travkin <nikitos.tr@gmail.com>
…dem+QDSP6 (v6) Signed-off-by: Nikita Travkin <nikitos.tr@gmail.com>
… modem Disable memshare for wt88047, doesn't seem to be needed for GPS to work. Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
…or Modem+QDSP6 (v4) Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
…Modem+QDSP6 (v2) Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
…Modem+QDSP6 (v5) Signed-off-by: Ruby Iris Juric <ruby@srxl.me>
Signed-off-by: Martijn Braam <martijn@brixit.nl>
…QDSP6 Signed-off-by: J.R. Divya Antony <d.antony.jr@gmail.com>
Signed-off-by: Anton Bambura <jenneron@protonmail.com>
Signed-off-by: Devajith V S <devajithvs@gmail.com>
Signed-off-by: Cristian Cozzolino <cristian_ci@protonmail.com>
I still need to:
dev_dbg
DHMS_MEM_PROC_MPSS_V01
commentTested devices:
https://gist.github.com/TravMurav/db8c8eb2e8bccf5ed46beefb0b5738d4