Commit grafiek

22 Commits

Auteur SHA1 Bericht Datum
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
venkata sateesh
cc34676b70 Securemsm-kernel: Enable qseecom for Auto GVM Platform
Add qseecom support for Auto GVM platform.

Change-Id: I9b386486961e36b571498bf6c495c8c786df64c3
Signed-off-by: venkata sateesh <quic_vencher@quicinc.com>
2022-09-13 04:10:16 -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
Gaurav Kashyap
6aec313e2a Revert "qcedev: Added qce50 compilation for qcedev driver"
This reverts commit 0d26cf953e.

Change-Id: I904eac0ef56f5851d63aee9bcb97f0585069a41e
Signed-off-by: Gaurav Kashyap <quic_gaurkash@quicinc.com>
2022-08-17 15:40:27 -07:00
Anvisha
0d26cf953e qcedev: Added qce50 compilation for qcedev driver
This change will compile and generate qce50 object
only when QCEDEV(QTI Crypto Engine driver) is
compiled.

Test: Nominal, Stress, Adversial and Repetitive Test passed.

Change-Id: I00f41c825d516dcf6e974a7e0333899a746f696f
Signed-off-by: Anvisha <quic_anvisriv@quicinc.com>
2022-07-27 13:16:10 +05:30
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
Gaurav Kashyap
31f097f988 crypto-qti: qcedev: add support for hlos offload path
Add support for HLOS offload data path in the qcedev driver
mainly to support DRM and HDCP usecases.

Changes extend the current driver to support the following.
- Register multiple pipes for different offload usecases.
- Report timer expiry errors back to userspace.
- Support different iv CTR sizes based on userspace input.
- Support new IOCTLS to support encryption, decryption and
  copy offload usecases for DRM and HDCP.

Change-Id: Ie9b74c173d0afd7b8c863ed57a68ec6e74baa9b4
2022-04-13 21:25:06 -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
Griffin Stamp
31689a70c8 securemsm-kernel: compile only smcinvoke on LE
Change-Id: I13c0794a621f62165a2e6cb0eb1eb117325ee097
2022-04-05 18:26:55 -07:00
Joseph Oh
4fa9a50df2 securemsm: Fix QCEDEV module compilation
Fix the qcedev module compilation.
2022-03-04 18:52:31 -08: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
Bruce Levy
4fcb225c3b securemsm-kernel: Fix qcrypto compilation
Temporarily commented des_expand_key.

Change-Id: Ifb82b2944a27f53a9ef925ecb6dd4b6e73ede419
2021-12-14 21:06:19 -08:00
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