3 Commits

Author SHA1 Message Date
Amir Samuelov
1071415ec4 spcom: add ION buffer support
Add new spcom API to allow user to send request/response with ION buffer.
The spcom kernel driver modify the request/response by replacing the
user ION buffer virtual address with the buffer physical address.
spcom also provide API to lock/unlock the ION buffer to avoid the SP side
using an ION buffer that was free when HLOS App crashed.

CRs-Fixed: 986215
Change-Id: I5dca692cd3c4fac63be5ec73f89e6c39a593a50b
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
2016-04-22 11:57:49 -07:00
Amir Samuelov
cd1949d4e2 include: uapi: fix spcom.h using bitops
The include file <linux/bitops.h> is not available on user space.
remove it from the spcom.h uapi file.

Change-Id: I1a2ea14a4fc1154b63776e83909389cc73398f7d
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
2016-03-23 21:13:31 -07:00
Amir Samuelov
09e5b18869 soc: qcom: add secure processor communication (spcom) driver
This driver supports communication with secure processor subsystem
over glink transport layer.
The communication is based on using shared memory and interrupts.
This driver exposes interface to both kernel and user space.

Change-Id: Iec5fc78c8370002643b549e43015c06b09d8ab8b
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
2016-03-23 21:12:11 -07:00