Commit Graph

14 Commits

Author SHA1 Message Date
Michael Adisumarta
051b1e8854 msm: ipa: Move internal definitions to the techpack
Moving defines used only internally from the global files:
ipa.h
msm_gsi.h

Moving completely the following files from the kernel tree:
ecm_ipa.h
rndis_ipa.h.

Change-Id: Ia55050c2f0b27587459b6d95368f278281329809
Signed-off-by: Ilia Lin <ilial@codeaurora.org>
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2020-12-08 16:57:53 -08:00
Michael Adisumarta
60383b1e19 msm: gsi: Add support for GSI_3_0 version
Add support for new GSI HW version & larger rings.

Change-Id: I4412f9e473384eb664a68151c89cd58955d428ff
Acked-by: Nadav Levintov <nadavl@qti.qualcomm.com>
Signed-off-by: Sivan Reinstein <sivanr@codeaurora.org>
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2020-11-24 14:10:55 -08:00
qctecmdr
f2d1ca67ff Merge "msm: gsi: Add support for EV RP DDR access feature" 2020-05-03 06:14:57 -07:00
Sivan Reinstein
c8ca64ec05 msm: gsi: Add support for EV RP DDR access feature
Allocate memory on DDR for event RP and providing it
to the GSI context.
Accessing the event RP using the DDR pointer instead
of reading the GSI register.

Change-Id: Ib25ae4ee8abbc73a74f24d360f64b1295a9d4520
Acked-by: Nadav Levintov <nadavl@qti.qualcomm.com>
Signed-off-by: Sivan Reinstein <sivanr@codeaurora.org>
2020-04-27 12:10:07 +03:00
Bojun Pan
a85378d25d msm: ipa4: capture the unclock gsi IPA register access
Add more protect on the unclock gsi IPA register access.
In case this is a valid access, assert before disabling
the IPA clock.

Change-Id: If2cc5a9942a5e457bbd8badaabde78138f676176
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
2020-04-15 20:06:37 -07:00
Ashok Vuyyuru
f269591974 msm: ipa4: flow control changes for rmnet pipe
When the RMNET pipe channel in the started state receiving the
junk packets, it leading IPA HW stall. Add changes to support
the new flow control channel state for rmnet pipe, it avoids
entering the junk packet to IPA HW.

Change-Id: If2b3992e8cdc93343e70f9d2c1783bbbde329bc2
Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
2020-04-03 23:37:51 +05:30
Bojun Pan
577585f312 msm: ipa4: debug patch gsi interrupt issue
Debug patch for GSI interrupt issue.

Change-Id: I705cd893233e1afcaeed6fedb424830e39621114
Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com>
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
2020-02-03 14:13:45 -08:00
Chaitanya Pratapa
2f2eea29bc msm: ipa: add support to updated wdi3 scratch register2 alone
To update QMAP ID there is no need to start and stop the GSI
channel. Make changes to read only scratch2 register for WDI3
protocol and update the QMAP ID without affecting other registers.

Change-Id: I7f873386fd01d624629fed15b841c6abd558a9ce
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
2019-12-15 12:30:39 -08:00
qctecmdr
f21762b8f4 Merge "msm: ipa: Adapt IPA driver to several DLKMs" 2019-11-21 07:44:37 -08:00
Bojun Pan
826473f5e9 msm: ipa: Update WDI3.0 specific GSI interface for Lahaina
Update the GSI register fields to handle the latest
WDI3.0 changes.

Change-Id: I10c2f1280a1f5b9e79a339f4989a2fb41fe07b6e
Acked-by: Priyadarshini Rajagopal <prajagop@qti.qualcomm.com>
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
2019-11-19 20:51:00 -08:00
Ghanim Fodi
92bb3a5b57 msm: ipa: Adapt IPA driver to several DLKMs
Arrange driver to be separated into several DLKMs
per functinalities. Adapt the Makefiles,
add needed EXPORT_SYMBOLS(), and replace #ifdef X
to #if IS_ENABLED(X) to capture module state.

Change-Id: I5cc0a7c43358e3caa099cb3e9968b0837753972c
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
2019-11-19 14:04:29 +02:00
Bojun Pan
bc912e31b9 msm: gsi: gsi channel QoS register update
GSI QoS register upgrade for GSI v2.9, introduce the
new field of db_in_bytes.

Change-Id: I1d0ff4381a6b6ac1f5119d0be2efea29a49a5dcc
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
2019-10-08 10:11:01 -07:00
Bojun Pan
54f5b081c1 msm: gsi: gsi 2.9 upgrade
Driver upgrade for GSI v2.9.

Change-Id: I5d148ead27499e6571196bc320c60da1e727163d
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
2019-10-04 12:19:55 -07:00
Bojun Pan
329744721f msm: ipa: Add snapshot of IPA driver
This is a snapshot of the IPA and GSI drivers
from msm-4.19 to msm-lahaina as of
'commit <2df7c68f038d13a4d278ecd858bc5ccebb3f569b>
(Merge "sched/core: fix possible out-of-bounds
access in updown_migrate_value)'.

Change-Id: Ie654ca46181248854ddc33c3033b5808aa32e628
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
2019-09-06 01:15:38 -07:00