After SPU's firmware was updated,
prevent SSR from happening until getting
a message from userspace that update is finished.
Need to Avoid SSR because PIL would load old images from /firmware_mnt.
Change-Id: I4b07e2e886e26a928faeae0c6f4f790dd01c645f
Signed-off-by: Dan Bar-On <dbaron@codeaurora.org>
This change enables for more than one client to communicate to SP server
simultaneously. The feature is configured by the userspace during channel
creation. Per channel mutex is used to implement the atomicity of single
client request/respose excgange.
Change-Id: I3670fcdad26cc8879f57ebe32c07a93d69560779
Signed-off-by: Konstantin Dorfman <kdorfman@codeaurora.org>
Signed-off-by: Li(Lily) Li <liil@codeaurora.org>
This change introduces ioctl() interface for following operations:
1. SPCOM_SET_IONFD
2. SPCOM_GET_IONFD
Shared with SPU ion buffer is allocated by userspace daemon and the
buffer descriptor is locked in the driver. After userspace daemon is
crashed or restarted, the buffer is intact.
This change need to set/get from the driver the ion buffer file
descriptor.
3. SPCOM_POLL_STATE
Support requests for link up/down state and specific channel connection
state. The request can be blocking (wait for state change) or
non-blocking.
Also removed old poll() implementation for the same
functionality.
Change-Id: Ibeb3743640c0b51e4f15b60947e2dabca658eee5
Signed-off-by: Konstantin Dorfman <kdorfman@codeaurora.org>
This driver supports communication with secure processor subsystem
(SPSS) over rpmsg and ungerlying glink transport layer. The
communication is based on using shared memory and interrupts.
Add snapshot for spcom driver from msm-4.14 commit cff38c326b98
("soc:qcom:spcom: free not consumed packet on rx timeout").
Change-Id: I28d704b18a3b0de9711ff3235c3f5551e7302557
Signed-off-by: Konstantin Dorfman <kdorfman@codeaurora.org>
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
This change adds missing userspace type definition,
fixing dependence.
Change-Id: I5020c38948579a2a929175f535553f6ada009051
Signed-off-by: Konstantin Dorfman <kdorfman@codeaurora.org>