Files
android_kernel_motorola_sm6225/drivers/platform
Srihari Sathyanarayana 9aca9b9d18 Porting of (CR) replace WARN with pr_debug for IPA api
For not implemented apis, there is huge WARN prints as below

Introduced by QC commit
795434e6 msm: ipa: Add ipa rm support for ipa_v2

This caused regression in Rndis reverse path (DUT to PC)

W Call trace:
W         : ipa_pm_is_used+0x44/0x78
W         : rndis_ipa_start_xmit+0x2a0/0x708
W         : dev_hard_start_xmit+0x140/0x290
W         : sch_direct_xmit+0xd4/0x2e8
W         : __qdisc_run+0x348/0x790
W         : net_tx_action+0x274/0x2a8
W         : __do_softirq+0x18c/0x374
W         : run_ksoftirqd+0x24/0x40
W         : smpboot_thread_fn+0x20c/0x270
W         : kthread+0x140/0x150
W         : ret_from_fork+0x10/0x18
W         : ---[ end trace 4cfa2ba718c7aa80 ]---
W         : ------------[ cut here ]------------
W         : ipa_pm_is_used not implemented for IPA ver 18
W         : WARNING: CPU: 3 PID: 37 at
drivers/platform/msm/ipa/ipa_api.c:3806 ipa_pm_is_used+0x44/0x78

Right now replace them with pr_debug to not hamper throughput and it
just print as below when dynamic debug is enabled
E         : ipa_pm_is_used not implemented for IPA ver 18

Tests: iperf.exe -s -u -p5002 -w64M -i1 -t15 ( PC as server)
Seen 350+ Mbits/sec from DUT to PC with only USB tethering.

Change-Id: I67d9df7c1f77326f6172595967798e82c7f85175
Signed-off-by: Srihari Sathyanarayana <sriharis@motorola.com>
Reviewed-on: https://gerrit.mot.com/1877836
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Vijayakumar Gn <vijaygn@motorola.com>
Reviewed-by: Ling Jin <lingjin@motorola.com>
Submit-Approved: Jira Key
Signed-off-by: Robert Cabral <robertc@motorola.com>
Reviewed-on: https://gerrit.mot.com/1924169
2023-06-01 00:47:14 -03:00
..
…
…
…
…