Wait for actul intent allocation to complete before again requesting
for same intent. Currently on getting intent request ack glink looks
for allocated intent and if it is not found it again requests.
In some cases remote host may delay allocation of intents but acknowledge
it immediately, in such cases glink will keep on requesting same intent
repeatedly. Now added code to wait for actual intent allocation to complete
and timeout if it is not allocated within 10 sec.
Change-Id: I346eb207422450cbeedc94e6451c6491bbf58bf0
Signed-off-by: Deepak Kumar Singh <deesin@codeaurora.org>
Add link status check before dumping MHI registers to avoid
NOC errors while accessing the registers.
Change-Id: I907ee4ea348589a9228fad5b52d8d27587225352
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
According to datasheet, for qca6390 it needs at
least 4ms delay between wlan_en active and pcie
reset de-assert. And as for qca6174, it needs 10ms.
So add such fix to increase the default 1ms delay
to 10ms-11ms.
Change-Id: If07fb49746f2362290ff397d36a73770d11cc20b
Signed-off-by: Chaoli Zhou <zchaoli@codeaurora.org>
Enable qps615 drivers to compiled as a loadable kernel module.
Set the dependencies that qps615 driver has and make sure that
they are built as well.
Change-Id: I371d5186c3b7928992e284c62f855a6adfe48c7e
Signed-off-by: Manuel Gomez <gomez@codeaurora.org>
Allow the qps615 driver to be compiled as a dynamically
loadable kernel module.
Depends-On: I371d5186c3b7928992e284c62f855a6adfe48c7e
Change-Id: Ic180f7980d729cdaf415b2c81340147f21e4ba38
Signed-off-by: Manuel Gomez <gomez@codeaurora.org>
Log qrtr rx packet in kernel logs which caused system wakeup.
This will help to easily identify wakeup packet.
Change-Id: I4a6a35dd4d5449a671464c00f90712a79d6044fe
Signed-off-by: Deepak Kumar Singh <deesin@codeaurora.org>
1.Remove mutexes used in TM configure API to avoid deadlock.
2.Update register writes in immediate and TM configure APIs.
3.Correct register and bit to check for end of conversion for immediate
conversion in IRQ handler.
Change-Id: I68d0bc4d6aeef089939d0d9ae9161b6122bf110e
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
Add support for PCIe controller driver for direwolf.
Change-Id: I67635c08cc8983bf8d69bd1ab80125da694dcb52
Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>
PCIe root complex(RC) driver needs to support enable/disable
cnoc_qx and pipediv2_clk.
Change-Id: If6e6e059d168e72cd23139ebddb144160399dfb1
Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>
Add kernel message when glink irq wakes up system from
suspend, so that it is easy to identify wakeup source.
Change-Id: I20b91d4d31446042b4057c811c6ee68a471c6048
Signed-off-by: Deepak Kumar Singh <deesin@codeaurora.org>