Presently, clients must re-register to receive IRQ lend notification.
Every client presently must do this and there is no use-case to require
clients to re-register to receive IRQ lend notification. Return the
internal IRQ lend state to WAIT_LEND after release, instead of
unregistered.
Change-Id: I17504e2850ae60e68d755b587ff6d0c3e78926d9
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
Presently, hh_irq_wait_for_lend translates supplied vm_name to vmid.
However, if this function is called prior to RM populating this table,
then wait_for_lend call fails with -EINVAL. Translating vm_name to vmid
in wait_for_lend is unnecessary, and only done because it was convenient
in private data structure. Thus, add vm_name to the private data
structure and translate vm_names upon receiving a lend notification.
Change-Id: Iaa51aaab42508ffa121a550afa0568a048327dca
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
Register driver work handler will only power up device, resume PCIe
link and start MHI to download firmware. It may only block there
for a timeout, so there is no need to post it as killable event.
Change-Id: Ib82050358dc8df4a8163ecb43702aa86ed34f23d
Signed-off-by: Yue Ma <yuem@codeaurora.org>
For uniprocessor systems, add a NULL definition of tick_broadcast to
add support for tick broadcast.
Change-Id: I7dc47984cb6b60c9814171888f6adbc480a1e990
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
This change is for general scheduler improvement.
Change-Id: I15daf3a5837f8147f1fbb179e0fba7e1547cb499
Signed-off-by: Shaleen Agrawal <shalagra@codeaurora.org>
Currently gdsc_disable() can return a value of 1 upon
successfully disabling a GDSC if it has a parent supply.
Correct this so that 0 is always returned on success.
Change-Id: I37ade1bf62b4e8b2f3446b9072674935579d75dd
Signed-off-by: David Collins <collinsd@codeaurora.org>
Add SW USB mode support for TMC to use software interface
to send data from TMC to USB.
Change-Id: I8e4dee6cfd037d8bb81ea27ad2ed996e9980720c
Signed-off-by: Shaoqing Liu <shaoqingliu@codeaurora.org>
Signed-off-by: Tingwei Zhang <tingwei@codeaurora.org>
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
Fix uapi header to work with KERNEL_HEADER_TEST and UAPI_HEADER_TEST.
Change-Id: I1ad9ded45b95f9abf3a5543f5aa21cfe7541a9cd
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>