Updated change to perform ipa pre initialization even before
attempting to load the ipa firmware along with pdev node
initialization for non smmu target.
Change-Id: I04421c1f11f0c7b4d7a0f30135741946b157aa2c
Signed-off-by: Raghavendar rao l <quic_rlomte@quicinc.com>
Add new enums for invalid pipe exception pkt and HDRI
exception. Handle the case where these exceptions
are received.
Change-Id: I920e4f1c121850c535c471f647fd5842ec25ba6e
Signed-off-by: Michael Adisumarta <quic_madisuma@quicinc.com>
Print a failure if IPA tries to add a header with the same name
as a header that is already present in the header list and
return that original header.
Change-Id: I3e3b91da216b9a0c383c8653ea5cd2587804329f
Signed-off-by: Michael Adisumarta <quic_madisuma@quicinc.com>
Fix pm_handle_suspend not being called for pipes 32-36.
Associate IPA_CLIENT_MHI_LOW_LAT_CONS with MHI pm client
so it will call the mhi_wakeup_cb for pm_handle_suspend.
Change-Id: I49413099c1cb4a1eb2992f1c50fde6b2afcbff2a
Signed-off-by: Michael Adisumarta <quic_madisuma@quicinc.com>
When SSR in progress not allowing to setup ODL pipe.
Change-Id: Ied44a7bafdf90cff2f3b7619da88fe3c31d18956
Signed-off-by: Ashok Vuyyuru <quic_avuyyuru@quicinc.com>
If of_icc_get returns with error code, then invoking
icc_put in fail_bus_reg segment, warn_on() logs will be
printed, break from the loop to avoid invoking icc_put.
Signed-off-by: Cheng Zeng <quic_chenzeng@quicinc.com>
Set the ipa3_ctx->logbuf to NULL after freeing it,
IPA logging API will use the ipa3_ctx->logbuf after
freeing it, that can make crash.
Signed-off-by: Cheng Zeng <quic_chenzeng@quicinc.com>
Updated change to handle ipa firmware loading, as in case of XBL
boot IPA firmware is not loaded through PIL subsystem.
Change-Id: I8f5457fe76f27ba34336a0889add24eecad5e7f1
Signed-off-by: Raghavendar rao l <quic_rlomte@quicinc.com>
In case a new header is intended to be local,
but there is no space in the SRAM, it is reassigned to be
system, but then the DDR buffer size is not checked.
Fixing this by looping the size check twice.
Change-Id: Ie74346e191b54376870a744de03568720ac7f102
Signed-off-by: Ilia Lin <quic_ilial@quicinc.com>
Support rate limitting for teth bridge and rate limit
exception packet log.
Change-Id: I65436310dfa2e0aa53e4e1719a8d0c1a1de3b730
Signed-off-by: Michael Adisumarta <quic_madisuma@quicinc.com>
Updated change to retry attaching smmu nodes if it fails, In a
deffered work queue with 500msec delay.
Change-Id: Ia54d801543224caf81085fedfd16305eca99995e
Signed-off-by: Raghavendar rao l <rlomte@codequrora.org>
Replicate the replenish rx cache for the first cache
allocation failure.
Change-Id: I06a0a4e7179314924ffe7be6f9a558bb035d9f90
Signed-off-by: Michael Adisumarta <quic_madisuma@quicinc.com>
The is_hdr_proc_ctx flag and the phys_base member were used
to add HPC instead of a header, if there is no memory space.
This logic was replaced by dynamic header distribution and
the members are not used anymore.
Removing all references in the code.
Change-Id: I1d4acda4882b4aeb892d2ab0ea03148c627dd630
Signed-off-by: Ilia Lin <quic_ilial@quicinc.com>
Add handler for IPA_IOC_ADD_MACSEC_MAPPING and
IPA_IOC_DEL_MACSEC_MAPPING.
The mapping info is forwarded to the IPACM.
Depends-on: 3889607
Change-Id: I44c3cb8044d1ddb36c79ecbb8d962f29a95f3fe1
Signed-off-by: Ilia Lin <quic_ilial@quicinc.com>
Make changes to use single panic notifier to get all the information
in one shot.
Change-Id: I8030f17b58a5d4da0a93e5109d5b9717e67d466a
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
Adjust the packet context fields and the hw packet context enum.
Change-Id: Id688353c6f991f75e6a7e144ea4d99a631545d5a
Signed-off-by: Dor Deri <quic_dderi@quicinc.com>
packet_rcv_spkt is expecting to strip out the skb_mac_header.
Part of the alloc_skb, the mac header is setup ~0 which is causing
the skb data point to wrong location.
Change-Id: Ib8c14c029145da6a779ead21fb851b26677f4d0f
Signed-off-by: Michael Adisumarta <quic_madisuma@quicinc.com>
Unmap gsi base after disabling the clock to avoid
unmapped memory address access.
Change-Id: Iaf32619d1ad304a4fe2d1f07cb88d2356f4c57c5
Signed-off-by: Michael Adisumarta <quic_madisuma@quicinc.com>
Adding an empty entry for mhi_driver_match_table definition.
Change-Id: I18704736382cf02c9cc2e273aa8839d8f545ef48
Signed-off-by: Michael Adisumarta <quic_madisuma@quiinc.com>
In old H/W version target elf is loaded manually
and there are three header supported in IPA. But
for signed elf there are more than 3 header, so
Fw loading was failing. Now added changes to
load signed elf for old H/W target.
Change-Id:Ia2fac810cb5685766d1d943ef4b7bcb7e374182d
Signed-off-by: Piyush Dhyani <quic_pdhyani@quicinc.com>