When order 3 pages are not available, make changes to use
lower order pages, Make changes to use __GFP_RETRY_MAYFAIL
to avoid triggering OOM Killer.
Bug: 227339706
Test: SST test
Change-Id: Ic6f03b4a9b17d60242bf03a078e51b8f1382cc67
Signed-off-by: neoyu <neoyu@google.com>
On some targets RNDIS function uses BAM to BAM transport,
and is handled by the f_qc_rndis driver. This change
adds RNDIS support using IPA over BAM2BAM.
This is snapshot of the qcrndis driver as of kernel
msm-4.9 'commit e4c6a37f8770697d4 ("msm: vidc: avoid OOB
write while accessing memory")'.
Change-Id: I34e9ab6ca25ea515a36ffd54216a09177e5fa746
Signed-off-by: Shilpa Suresh <sbsure@codeaurora.org>
Signed-off-by: Chetan C R <cchinnad@codeaurora.org>
Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
Add following changes,
- Include dependent files.
- Handle buffer recycling in new kernel.
- Add WLAN endpoints for IPA_v2_6.
- Fix indentation errors.
- Add structure, api changes in QMI files compatible
with kernel 4.14.
- Add changes to support late clk initialization.
- Add IPA_v2_6 support for platform probing.
- Add locking mechanism as per the new kernel.
Change-Id: I6f153398f9a11026744c076a67a609cf7af807ba
Signed-off-by: Praveen Kurapati <pkurapat@codeaurora.org>
Signed-off-by: Ashok Raj Deenadayalan <adeenada@codeaurora.org>
Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
SideEffect: must export kern_addr_valid to build, followup patch fixes.
Bug: None
Test: compile tested on bramble and kona, runtime test on kona
Change-Id: I629358f2d61ac04787b1c82b1167ae7935e24acb
We observe the IPA RX stall due to the DEAGGR_ERR_IRQ
of PACKET_SIZE > FRAME_SIZE on rndis.
In IPA, some of de-aggregation error handling checks
are dependent on the syspipe_err_detection config bit.
Adding IGNORE_MIN_PKT_ERR bit for rndis as well based
on recommendations.
Change-Id: Iad1c816bf3371696bf665a8702fcf27490e230d0
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
LAN RX optimization, change LAN RX data path bottom half
to run in softirq using NAPI. Also added an API for other
clients to see if we are using NAPI.
Change-Id: Iecd47f7412975b58786d81a5df3460de9aeffa21
Acked-by: Tal Gelbard <tgelbard@qti.qualcomm.com>
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
Signed-off-by: Amir Levy <alevy@codeaurora.org>
Add uC debug stats support for AQC/loadable modules.
Change-Id: I21cd3807c8e8973065b79f4ec43a0da382595653
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
Add uc event ring to have ipa-uc monitor the
quota and bw-voting threshold to generate the
irq to ipa-drvier to inform if quota or and bw
threshold is hit.
Change-Id: I7ce9c1a0048016fc6b6248a1632365f51717422c
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Enable the page recycling on IPA WAN DL data path.
Change-Id: I25856082f51fd348e3331ebb031e422a1e627143
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
Update the FnR stats related changes for IPA 4.5.
Change-Id: I3f34b5d58862636cba39cff3403102fb7884f769
Acked-by: Priyadarshini Rajagopal <prajagop@qti.qualcomm.com>
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
This change adapts ipa_wigig code to context banks sharing between
11AD HW and IPA HW. Due to CB sharing there is no need to SMMU
map data buffers: remove SMMU mapping related code of data buffers in
case of shared CB. The buffers mapping is done by the wigig driver and
IPA may use the IOVAs without any additional mapping.
A DTS file change is needed to enable the context banks sharing.
Change-Id: I168d2db193460e554370ad46550fdc0b40ea01d0
Signed-off-by: Amir Levy <alevy@codeaurora.org>
Support new IPA coalescing pipe IPA_WAN_COAL_CONS. If coalescing
is enabled, this pipe will become the default pipe and be setup with
its own transfer ring but share an event ring with WAN_CONS. Also adds
a new coalescing ifdef and support coalescing in the RT rule.
Change-Id: I4d09aaa030c427271f59461897354e3a7cf7a563
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Change DL/UL WAN pipe configurations for CS offload.
Add new 8 bytes qmap header for DL CS offload.
Add a CS offload enum for QMAP_DL cS offload.
Change-Id: If23ed20a797db143da6dca61fa4c3080a347af1d
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
This is a snapshot of the IPA and GSI drivers
from msm-4.14 to 4.19 kernel as of
'commit <cec0da843f57> ("clk: qcom: npucc: Add CRC div
source for npu_cc_cal_dp_clk_src")'.
CRs-Fixed: 2341003
Change-Id: I498b2edb878e7d75311824dd217e75893efcfc73
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>