Commit Graph

8 Commits

Author SHA1 Message Date
Mark Salyzyn
3271e30844 GKI: enable QCOM_SECURE_BUFFER=m
New driver module:

drivers/soc/qcom/secure_buffer.ko

Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Test: Verified with scripts/gki/device_snapshot
Test: No impact on /sys/ (except new module files) and /dev/
Test: All devices probed as before
Bug: 141888626
Change-Id: I0ea8990a3226344a3c3b707c29c8010fc5be68ad
2020-05-30 02:04:51 +08:00
Sridhar Arra
17978e90e8 soc: qcom: secure_buffer: add support for VMID_NAV
Add support for VMID_NAV and shared memory region will be given
access to vm-nav-path also.

Change-Id: I9798e095a1f8bb7a76abcc0ec0949ff26989ad6f
Signed-off-by: Sridhar Arra <sarra@codeaurora.org>
2019-11-28 10:58:00 +05:30
Isaac J. Manjarres
054eb1553d trace: secure_buffer: Introduce trace events for secure buffer
These trace events will show the caller of hyp_assign_table() as well as
information about the region(s) of memory that are affected by the changes
in ownership (e.g.  source/destination VMIDs and permissions). The trace
events also provide information about the time spent in the higher
execution layers when the memory is being assigned.

Also, expose the mem_prot_info and dest_vm_and_perm_info data structures in
the secure_buffer header file, so that they are visible to the trace events
header file.

Change-Id: I19a8561327e953e1bc593217293642f1cbd6ce36
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org>
2019-09-04 13:49:39 -07:00
Liam Mark
1b5ee0f2a1 ion : Expose ION API to query buffer VM information
Allow ION clients to be able to determine the VM information associated
with an ION buffer, such as the VMIDs it is assigned to as well as the
VM permissions.

Change-Id: Id0be0b505bc84beff373e4e2ae16b71ec4f09d43
Signed-off-by: Liam Mark <lmark@codeaurora.org>
2019-06-10 14:45:02 -07:00
Swathi Sridhar
ac04f0739d ion : Merge ion changes for msm-kona kernel upgrade
Merge all ion changes from msm-4.14 to msm-kona as of:
'commit 0fa34f5d9070 ("ion: fix system secure force alloc")'.

Change-Id: I040b44a89790f7096bf11c5b273ad0e5033eea9c
Signed-off-by: Swathi Sridhar <swatsrid@codeaurora.org>
2019-03-12 19:01:54 -07:00
Rishabh Bhatnagar
e9a05bb4d3 spdx: Modify spdx tag from GPL-2.0 to GPL-2.0-only
Modify spdx tag for all CAF authored files for Kona.

Change-Id: I9308c7189412b1e428a7f67ded0dc076b0e38254
Signed-off-by: Rishabh Bhatnagar <rishabhb@codeaurora.org>
2018-12-10 11:09:45 -08:00
Swathi Sridhar
247da9f195 ion : Merge ion changes for msm-kona kernel upgrade
Merge all ion changes from msm-4.14 to msm-kona as of:
'commit a15a40423b36 ("ion: Ensure ion_buffer fields
are initialized")'

Change-Id: I1a5f300158b3cc4f5b9cc4cf888a8678f8746152
Signed-off-by: Swathi Sridhar <swatsrid@codeaurora.org>
2018-10-05 11:19:12 -07:00
Swathi Sridhar
4008eb493a iommu/arm-smmu: Merge of smmu changes from 4.14 to msm-kona
This patch is to merge all of iommu/smmu, DMA, fast and lazy
mapping changes from msm-4.14 to msm-kona.

Change-Id: I08777236f45357b7cf44f5c14c80b78eaa482294
Signed-off-by: Swathi Sridhar <swatsrid@codeaurora.org>
2018-07-19 19:33:35 -07:00