The debugfs functions may be called while the GSI is not clocked.
This will lead to kernel panic due to bus error.
Fixing by clock voting before IO access and unvoting after.
Change-Id: I99b1f69df9be5774d688029886b1aef8dfacc657
Signed-off-by: Ilia Lin <quic_ilial@quicinc.com>
Adding support to save ipa/gsi ipc logs in minidump.
Change-Id: Ic83b173140aae5c985a497f7333596c540b094ff
Signed-off-by: Ashok Vuyyuru <quic_avuyyuru@quicinc.com>
Add GSI profiling stats data and the GSI FW version to debug fs.
Change-Id: I5749339f5ec9656e636a512668025bb09a97a3ec
Acked-by: Nadav Levintov <nadavl@qti.qualcomm.com>
Signed-off-by: Sivan Reinstein <sivanr@codeaurora.org>
Make changes to align to the latest kernel version.
Fixes to compilation errors and forbidden warnings.
Change-Id: I5c7a7b8a8ce2ccd98af3d6458bd6a9bdddeb361b
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
Add Hardware Abstraction Layer infrastructure to GSI
driver. This change includes registers HAL component
for GSI.
Change-Id: I87e7c22ed88117a74af4220b4c05c610bae498cc
Signed-off-by: Amir Levy <alevy@codeaurora.org>
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
Removing the files copied from the kernel:
ipa.h
msm_gsi.h
ipa_fmwk.h
ipa_mhi.h
ipa_odu_bridge.h
ipa_uc_offload.h
ipa_usb.h
ipa_wdi3.h
ipa_wigig.h
and including the original files instead.
Depends-on: 3177533
Change-Id: I485f5545505bfbc4e775a75ae3d0809f9a977a97
Signed-off-by: Ilia Lin <ilial@codeaurora.org>
Moving the defines used only internally to the local files:
ipa_i.h
ipa_common_i.h
gsi.h
Moving completely the following files from the kernel tree:
ecm_ipa.h
rndis_ipa.h
Adjusting the #include statements accordingly.
Temporary moving the following files to the techpack
as part of 3 stage internal definitions moving:
ipa.h
msm_gsi.h
ipa_uc_offload.h
ipa_mhi.h
ipa_wigig.h
ipa_wdi3.h
ipa_usb.h
ipa_odu_bridge.h
ipa_fmwk.h
On the second stage (after this change merge)
the kernel change will be merged independently.
On the third stage the local copies will be removed
from the techpack and the original files from the kernel
will be included instead.
Change-Id: If5eecc5f96a6a98075db5819f18acaec581b456e
Signed-off-by: Ilia Lin <ilial@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>