Based on HZ configured in target defconfig wait time was changing.
To avoid these scenario using msecs_to_jiffies function it will
give fixed time value based on HZ configured on the system.
Change-Id: Ia3fe08c238afb618b158b67d1b226ad62197391f
Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
Lito and Lagoon targets sharing same lunch option but
using different signing images, adding support
to load specific FW image to based on DTSI entry.
Change-Id: I468378fa163255a1ae8b0f7f2bb9726e7b656bd6
Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
Add 2 new pipes support for qmap flow control and low latency
traffic from rmnet_ctl module.
Change-Id: Iae11e742f1f3d1d3ec7b21b02426b0164dcb13c5
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
Observing SMMU fault because of providing the already free pointer to
IPA HW. Add changes to avoid the accessing the already freed pointer.
Change-Id: I4d7420816aec0ab7207c683315558e551373d8bc
Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
Following issues are observed:
- For coalescing close frame not incrementing the ep_flt_num
- In endpoint mapping added new unused endpoint with filter support
because of that sending command for unused pipe.
Add changes to increment ep_flt_num number when sending coalescing
close frame command and avoid sending command for TEST_PROD pipe.
Change-Id: I3604c015308977c45eb1b251ed54d6e6744f643d
Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
This update will ensure that all the source and destination groups are
updated for IPA4.9.
Change-Id: I33e4c054d762f0fa2438d12e0c7a76dc10ea1395
Acked-by: Priyadarshini Rajagopal <prajagop@qti.qualcomm.com>
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
This change will fix the error seen with CFI for the return type of
ipa3_wwan_xmit.
Change-Id: Ib201debb338295f3a83bf07f51e0434cd3519db4
Acked-by: Priyadarshini Rajagopal <prajagop@qti.qualcomm.com>
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
This update will change the EP consumer and producer clients to WLAN2.
Change-Id: I5beb2d8ed067869f374182bde7370cd45ddd97e8
Acked-by: Priyadarshini Rajagopal <prajagop@qti.qualcomm.com>
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
update trace paths to direct to techpack dataipa folder
rather than old kernel path
Change-Id: Id6faa1f7858ecd493e66b169d31b15b1283ca887
Signed-off-by: Amir Levy <alevy@codeaurora.org>
As IPA driver moved to techpack, align with kernel version
Change-Id: Ifc3e0d40b6d54f0828fd4c4afc3b8e51a3ec7ffe
Signed-off-by: Amir Levy <alevy@codeaurora.org>
Update makefile to enable IPA and GSI driver
compilations. Add ipa_clients_manager that will register
ipa clients API to ipa_framework at the kernel.
Add conf and header files to enable compilation in
GKI QGKI and debug modes.
Change-Id: I6993b1f6e88f89c8cd8c02fa2fc8cf6a6f169f7d
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
Signed-off-by: Amir Levy <alevy@codeaurora.org>
Definition of the __gsi_update_mhi_channel_scratch is moved to the end
where it is followed by no other non static function.
Change-Id: I6243fbb322c504d606bd5cd02302627afadc82ea
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
Upate the driver to msm-5.4 kernel snapshot as of
'commit <e1007d065f6> ("sched/fair: consider uclamp
boost while deciding the start_cpu")'.
Change-Id: If63ae521dd26cbf72514cd0b95acfe38ed68cf82
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
To have base path similar to kernel, add the
base path of drivers/platform/msm. This is
mainly to ease the propagation from older
kernels.
Change-Id: Ib75002ad95c0f3374a897e0ca5125088ba2d1a3e
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
Upate the driver to msm-5.4 kernel snapshot as of
'commit <9195ca33275ea7a17fa2d> ("drivers: thermal:
Add config sysfs entry support for thermal zones")'.
Change-Id: I611b232f4206f2d95c33029ecca0bc5793c88707
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
This is a snapshot of IPA and GSI drivers
from msm-5.4 kernel as of
'commit <137a997bae4f8e1787> ("msm: ipa: Fix using
generic name for offload connect/disconnect")'.
Change-Id: I8452cf76a1c568c1f89de8b329bdc6e7254694b4
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
Change the modem vote to turbo during usb-tethering only
when APQ platform was configured.
Change-Id: Ie41b9ac11eba954705acbf15836a632ee9c01347
Signed-off-by: Praveen Kurapati <pkurapat@codeaurora.org>
Make a change to protect cleaning up of recycle buffers
as there can be a race between clean up and recycling.
Change-Id: I7cc4f40ea87fb0a2b9ce76ff24b47c5d8a02d94f
Signed-off-by: Arnav Sharma <arnav_s@codeaurora.org>
Add QMI IDL changes for supporting cleaning DL MHIP filtering
rules and also adds an option to use legacy path instead
of MHIP path for DL frag packets which are not supported.
Change-Id: Ic5641012f1d8a8365f51eef27426ad4d008d9892
Signed-off-by: Arnav Sharma <arnav_s@codeaurora.org>
Cleaning up duplicate code used for setup coalescing pipe and
using the existing function ipa_setup_sys_pipe function for
configuring coalescing pipe.
Change-Id: I22be19f202ce9da96e9c0776b2b4dfa276a0e27b
Signed-off-by: Arnav Sharma <arnav_s@codeaurora.org>
Change the modem vote for pm_client as
the highest when usb-tethering is on and vote
back to low power mode when usb-tethering off.
Change-Id: I3e51dc34cea5c97a7f901d9981f908e35b8b0fb2
Signed-off-by: Arnav Sharma <arnav_s@codeaurora.org>
When coalescing pipe and WAN consumer pipe are configuring case
using the same replenish pointer as coalescing replenish pointer causing
overriding head_idx/tail_idx values for both pipes. Add changes initialize
the new replenish pointer for WAN consumer pipe.
Change-Id: I4d637ae9fd6a6d95a12bc239fbff9dea5668ff03
Signed-off-by: Arnav Sharma <arnav_s@codeaurora.org>
Add the QMI support to change ipa clk scaling
from PCIE modem.
Change-Id: Iee77ff4b8027c2a042f2e6c640749cdec09d92dc
Signed-off-by: Arnav Sharma <arnav_s@codeaurora.org>
While writing to AGGR register shift value which is uninitialized
can be corrupted. Add changes to initialize the shift value.
Change-Id: I61d90fc1e370792b0f26a98fd02051c2ecac52ab
Signed-off-by: Arnav Sharma <arnav_s@codeaurora.org>
RM isn't in use for newer devices.
Acked-by: Tal Gelbard <tgelbard@qti.qualcomm.com>
Change-Id: I8005f02acbd424e0721c2efa49f840f2cf7e8f7b
Signed-off-by: Arnav Sharma <arnav_s@codeaurora.org>