Dynamic carveout heaps can have their memory removed immediately
after all of its memory is no longer in use. However, the
deferred free mechanism that carveout heaps use can cause immediate
removal of heap memory to fail. Thus, do not use the
ION_HEAP_FLAG_DEFER_FREE flag for dynamic carveout heaps.
Change-Id: I2e4edd130cad9f1361b88210e69cf24cb0f271bb
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
set/get API used for freq updates are using an invalid cpumask
variables which may potentially lead to stack corruption.
Change-Id: I25fdc5dc25550c39bc81a2efbd55d16679d37e19
Signed-off-by: Kishore Sri venkata Ganesh Bolisetty <bsrivenk@codeaurora.org>
Enable CONFIG_COMMON_CLK_QCOM_DEBUG so that clocks can be controlled
from debugfs for testing/verification purposes.
Change-Id: Ie19434018eca57b0b99b7ef677c603e98914e471
Signed-off-by: Vivek Aknurwar <viveka@codeaurora.org>
Enable QRTR and QRTR Haven transport for virtual machine communication
using the IPC-Router protocol.
Change-Id: I4fa6361ee7d82336988247e4cd2294463ab81eea
Signed-off-by: Chris Lew <clew@codeaurora.org>
Enable the QRTR Haven transport to enable virtual machine communication
using the IPC-Router protocol.
Change-Id: I15e01dd7bc527b81208632979c1fe3862b304f17
Signed-off-by: Chris Lew <clew@codeaurora.org>
Add fscrypt provisioning functionality to kernel
as it is already present in userspace.
Change-Id: Ie567a73bf0afb761a7cd1ba9cf4a0735fce96bbb
Signed-off-by: Gaurav Kashyap <gaurkash@codeaurora.org>
dwc3_resume_work is dependent on sm_work which is a freezable task.
When control reaches pm_suspend or pm_resume sm_work is frozen at
that point as part of freeze_processes() api which is called for
system-wide suspend. If there is any pending work on sm_work and we
try to flush when it is frozen we end up in a deadlock as the
suspend/resume thread cannot progress. Avoid flushing this wq in
pm_suspend/resume.
Change-Id: I5eada1c3d11085fcd1b424a1bdb7e0c949f7ef42
Signed-off-by: Elson Roy Serrao <eserrao@codeaurora.org>
hh_hvc_put_chars may be called with interrupts disabled.
hh_rm_console_write is a blocking call (to wait for the response to come
back). Use a FIFO and workqueue to send characters so that console_write
may sleep.
Change-Id: I7060b3604cb112caf00ecc1d94a5b2d543e7956e
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
Standard replies are handled by hh_rm_call() and not by client driver.
Thus, clean console APIs to handle hh_rm_call() response accordingly.
Change-Id: I9bc49f15e33260a5fe539b141e311fa071e49211
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
If SCS isn't enabled, then x18 should be considered clobbered by a Haven
hypercall.
Change-Id: I885e44a8bacc7f045f45df4e88fd04626e0baf41
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
Currently, the hh_msgq driver allocates the receive-buffer on behalf
of the clients and it's the clients' responsibility to free it.
However, this creates asymmetry in the buffer management and may lead
to confusion. Hence, let the clients take full control of the buffers-
allocation and freeing.
Also make changes to the client driver to adapt to the new hh_msgq_recv
interface.
Change-Id: I95b72621ede5e62411e78e45c36d8a7ff3686bd4
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
Add clock rpmh data to communicate with RPMH clocks for Shima.
Change-Id: Ic4e0f8689e7fe86efacbfa87ed3aa29128c9352e
Signed-off-by: Taniya Das <tdas@codeaurora.org>
fixes the C++ related compilation issues.
CRs-Fixed: 2038080
Change-Id: If6b4f379eb27f3de6153b8666f733c0b8245851f
Signed-off-by: Manoj Kumar AVM <manojavm@codeaurora.org>