Add a new enum for uCP exception pkt status.
Handle the case where this pkt status exception is received.
Change-Id: Ib69e307548efed3482d4636db9161f423c051570
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Add relevant structs and functions to modify the
address registers for NAT uC and conntrack UC
for external, local, and shared activation tables.
Add ucp fields to ipv4 nat and ipv6ct entries.
Change-Id: Iadb3232fb45052b643bbf36bc48043df8619d2fb
Signed-off-by: Michael Adisumarta <madisuma@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 change to increase the stop channel retry timeout value
to avoid race condition cause by AP retrying to stop channel
and GSI trying to send stop channel command.
Change-Id: I405f923d9bc87f7b8612ded9137d7b8d23eb37e8
Signed-off-by: Praveen Kurapati <pkurapat@codeaurora.org>
Adding changes to support the IPA HW 3.0 version in latest
kernel release.
Change-Id: Id9ac11015f4752bddb8070e179c7b7284b0abe31
Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
Support rmnet_ipa driver to register for remoteproc notifications
along with legacy subsys notifier.
Change-Id: Ibce7ad0efa5c264f9649f69ee2f98fc0bdc66ad9
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Log is over flodded during bootup if per client stats
is not configured. Add ratelimit log to control the log.
Change-Id: I918984f58b4de07be45d1d5e094c694593262c45
Signed-off-by: Pooja Kumari <kumarip@codeaurora.org>
Enable forceclear only supported for producer pipe so
avoid sending the force clear command to consumer pipes.
Change-Id: I6c63abe68e737463b0a189bf85a92c79648ea767
Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
To avoid the the smmu cb ctx read if smmu is bypassed.
Change-Id: I0b23d413365d9b36cdf560605c9c221f155624cb
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
This includes changes to increase the ep pipe number
to 36
Change-Id: I2e54d57cc1c1cc372ff967a7c3337d9e28af98af
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
This change adds the ep configurations needed for IPA5.1 test pipes
and add hw version for required conditions.
Change-Id: Ibcbb4307224964f52d07264cd15d09792f551d74
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Adding new pipes and new hardware version.
Change-Id: I54ca4f962a4fa45a21f4551d025670c9a415df3f
Acked-by: Suhas Mallesh <smallesh@qti.qualcomm.com>
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Make changes to use Kbuild for techpack compilation.
Change-Id: I9d71205f4648f63f04d031bf1a419614e94d9a11
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
Only one RmNET instance is supported till now, so
there was a check to not to support additional
protocol in ipa usb driver.
With respect to auto use case requirement we need to
support two rmnet instance, newly added rmnet_cv2x
along with legacy rmnet.
Modify code to support additional rmnet_cv2x teth
interface with respect to protocol, pm states.
Change-Id: I83984de859919a395f1115c8e2a37004d01f0688
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
Use ipa_get_hw_type instead of directly accessing ipa3_ctx
from ipa_clients
Change-Id: I5098df3c048b7105c9174df33b37d8c42d2c6a45
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
ipa_net module calls into rmnet_ipa driver and ipa driver tries
to access ipa_net_initialized variable. This creates a cyclic
dependency between the modules. Make a change to move
ipa_net_initliazed flag to rmnet_ipa driver.
Change-Id: I47eae899329144445b40bb9b2d8e95ec7e6ca145
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
Made the change to only allocate ipa_hw_stats if IPA HW
version supports it (i.e., higher then equal to IPA_HW_v4_0).
Change-Id: I6eaea8dd1d8ddb22f502622b4bf61ad697429815
Signed-off-by: Piyush Dhyani <pdhyani@codeaurora.org>
fix aqc msi address type to build succesfully for
msm and mdm. add gsi offset to returned address.
Change-Id: I36ed6f20daeff90837d5b022c0b51a0c3ea07dec
Signed-off-by: Amir Levy <alevy@codeaurora.org>
Currently suspend/resume pipe functionality not supported
for IPA HW version less than 4 so updating it to support for
those HW version.
Change-Id: I7928835d2e6acacbc62aab909bab95c6689c699a
Signed-off-by: Piyush Dhyani <pdhyani@codeaurora.org>
Add change to fix race condition when freeing QMI
handles during SSR scenario.
Change-Id: Ie83f0386ea3bd9b40c4964327415421a144d4715
Signed-off-by: Praveen Kurapati <pkurapat@codeaurora.org>
Android Q update, enable MHI Proxy on msm-4.14 master branch.
Add functional flag to only call MHI proxy functions when MHI
proxy functional flag enabled.
Change-Id: I342d0c9aefcf958226a0b697e6e8fce68bf81d15
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>