Commit Graph

20 Commits

Author SHA1 Message Date
Nitin LNU
cdef6720fe securemsm-kernel: Enable Qseecom driver by default
Enable qseecom driver by default to compile on all chipset
in parallel with Qseecom-compat enable.

Change-Id: I3dd3aa2864c41196197f0770020225fa36f088c1
Signed-off-by: Nitin LNU <quic_nlakra@quicinc.com>
2023-06-15 00:31:14 -07:00
Divisha Bisht
3983090d0e securemsm-kernel: Moving qseecom headers to securemsm-kernel
Move qseecom headers to securemsm-kernel. Also, cleanup and split
of qseecom header done based on usage.
These qseecom headers are now exposed to userspace as
qseecom_kernel_headers.
All the other changes are to take care of compilation dependencies
from the above.

Tests: Tested in device with local build with qseecom sampleclient
cmds.

Change-Id: I55442ce7380636a2630c2e372099735fec0756a8
Signed-off-by: Divisha Bisht <quic_divibish@quicinc.com>
2023-06-13 17:34:45 +05:30
Sarthak Patidar
1efb70736f Misc: hdcp : Add smcinvoke support for hdcp driver
Change-Id: I76b0e8f24df7f3e36288b1383fc7203bb295c181
Signed-off-by:Sarthak Patidar <quic_spatidar@quicinc.com>
2023-05-30 21:33:34 -07:00
Chris Goldsworthy
4b658ee6ce securemsm-kernel: smmu-proxy: Add full drivers
Add the full drivers for the PVM and TVM.

Change-Id: I3046306fff91670928c750ffa31db02bd0240c9c
Signed-off-by: Chris Goldsworthy <quic_cgoldswo@quicinc.com>
2023-03-09 21:52:47 -08:00
Chris Goldsworthy
e9c5417cdd securemsm-kernel: Add the base SMMU proxy driver
Add the base of the SMMU proxy driver for Android. The proxy driver
will take memory from the PVM, share it with the TVM and map it into
an S1 context bank on the TVM, before returning an IOVA for the mapped
buffer.

This patch intended to create the driver to allow other kenrel modules
to compile against it.

Change-Id: Id2951fbf467fcce0a3f1a1c45eba5b041f76f080
Signed-off-by: Chris Goldsworthy <quic_cgoldswo@quicinc.com>
2023-02-02 17:43:53 -08:00
Spencer Willett
9cd99dbb79 securemsm-kernel: exposing smcinvoke headers
We are exposing headers present in "include/linux" for the rest of the kernel DLKM's.
Aallow other kernel teams to access these headers.

Change-Id: I19c5591d885c7042ba3acd312ce9cb2bddc995c9
CRS-Fixed: 3338788
2022-12-16 19:07:58 -08:00
Spencer Willett
a785a207a2 Revert "securemsm-kernel: exposing smcinvoke headers"
This reverts commit 796ae71391.

This commit is being reverted due to build conflicts
with other teams

CRS-Fixed: 3354563

Change-Id: I915cc5bd0e718a1b82641ac02d2f0184f2fa1f37
2022-12-06 13:38:24 -08:00
Spencer Willett
796ae71391 securemsm-kernel: exposing smcinvoke headers
We are exposing headers present in "include/linux" for the rest of the kernel DLKM's.
These changes allow for other kernel teams to access these headers.

CRS-Fixed: 3338788

Change-Id: I5926ddeee8541398b32010db0b01af529b19fa3e
2022-11-23 09:49:37 -08:00
Gaurav Kashyap
ecc83d4090 Revert "securemsm-kernel: Disable crypto driver"
This reverts commit 5e668ad0274363663328f06b3b272802178ed175.

Change-Id: I28838e318db59bb60473f18b88cb2ad03fcf6d16
Signed-off-by: Gaurav Kashyap <quic_gaurkash@quicinc.com>
2022-11-21 09:21:52 -08:00
Smita Ghosh
d85ee4d347 securemsm-kernel: Disable crypto driver
Disable the driver until sps-bam is available.

Change-Id: Ib8b52e722ce763be0292993f43c72b2dcb996cdf
2022-10-28 17:26:46 -07:00
Jayasri Bhattacharyya
ccc44aff77 Securemsm-kernel: Enable qseecom for khaje
1. Add qseecom_dlkm.ko based on Khaje and AUTO arch type
2. Restructure conf file into multiple conf files
   to enable feature based conf file.

Change-Id: I8bc0472667aebc35e8d1afa37eaca5c3353fd191
Signed-off-by: Jayasri Bhattacharyya <quic_jbhattac@quicinc.com>
2022-08-24 07:32:48 -07:00
Divya Sharma
6d6aad924f securemsm-kernel: Enable/Disable DLKM
Control DLKM using TARGET_ENABLE_DLKM.
During early bring when most of the modules are not ready
either due to missing header or other reasons. Its good idea
to keep it disabled until its fully ready.

Change-Id: I421f7329cd84d53b3233cea96b0e1920de9d39ea
2022-06-07 08:21:19 -07:00
Indranil Pradhan
ac5ae74540 securemsm-kernel: Enable qseecom module for auto platform
Add support for qseecom as DLKM with basic qseecom test cases
passed except listener services.

Change-Id: I09ad0433f757d00f0902df937714132c6dff5030
2022-05-05 23:56:58 +05:30
Bruce Levy
0311094bc0 smcinvoke: Conditionally disable DLKM
Disable DLKM's for specific target as for that target these
DLKM's comes as kernel modules.

Change-Id: Ie6a53add3e6ebc17e662f3b564cade7e7f284020
2022-05-02 13:40:22 -07:00
Sheik Anwar Shabic Y
177899dde3 securemsm-kernel : Resolve external dependancy for hdcp module
Resolve external dependancy for hdcp symbols.

Change-Id: If4bad51a7aabdbb334f9e7efaa45f40f0988c857
2022-04-11 14:40:34 -07:00
Gaurav Kashyap
d4014194cc sec-kernel: qrng: add qrng driver support
Add the qrng driver which adds support for the kernel to utilize
QTI's PRNG hardware for RNG operations.

Change-Id: I9c9cb7f907470c88e182dc869f302e4ca83fb798
2022-02-25 14:20:50 -08:00
Gaurav Kashyap
4724978ce5 Revert "securemsm-kernel: Enable tmecom module compilation"
This reverts commit 72ec3a4a48.
2022-02-17 14:05:07 -08:00
Sheik Anwar Shabic Y
72ec3a4a48 securemsm-kernel: Enable tmecom module compilation
Enable compilation for tmecom-intf_dlkm.ko compilation.

Change-Id: I049c769abea1a53160d82f4c85ec49089f485f7e
2022-01-31 17:17:29 +05:30
Sheik Anwar Shabic Y
49142cbffe securemsm-kernel : Enable hdcp_qseecom module compilation
1. enable hdcp_qseecom.ko module compilation.
2. removed duplicated files in crypto-qti and smcInvoke folder.

Change-Id: I18c14000756484aa3d4723a58814ba8350d12927
2022-01-27 10:19:57 +05:30
Smita Ghosh
e190b86556 secuemsm-kernel : Enable DLKM's from vendor
SSG's kernel modules will be loaded through userspace
init instead of kernel.

Change-Id: Ibf88a6a56df65a933d451d39136060967595e5b7
2021-12-14 12:52:18 -08:00