GitHub/LineageOS/G12/android_hardware_amlogic_kernel-modules_optee.git
4 months agooptee: Remove Android makefile with old-style build rules
Bruno Martins [Sat, 16 Dec 2023 22:51:32 +0000 (22:51 +0000)]
optee: Remove Android makefile with old-style build rules

These build rules are no longer needed, devices now build the module
as a real external kernel module.

Change-Id: I11546f3dbfe40e8cbcf0653b0a7274a81a7ad328

6 months agoAllow g12b to opt-out of using this
Nolen Johnson [Mon, 22 Apr 2024 23:59:57 +0000 (19:59 -0400)]
Allow g12b to opt-out of using this

Change-Id: I551f9d57e4911b0db2c73f2b862f5d52b54357bf

13 months agooptee: Strip modules using llvm-strip
Bruno Martins [Fri, 20 Oct 2023 23:24:58 +0000 (00:24 +0100)]
optee: Strip modules using llvm-strip

With this, the GCC dependency is gone for good.

Change-Id: I5f08e4f32ea223f39aaee9e762f3c825c82e5d41

15 months agoamlogic: Add 5.4 socs to guard
Vitaliy Tomin [Tue, 1 Aug 2023 04:24:03 +0000 (12:24 +0800)]
amlogic: Add 5.4 socs to guard

* optee module code is same for 4.9 and 5.4

Change-Id: Ic1cd96a047b70f662cd7bb3c570bf351f4842deb

21 months agoamlogic: Compile kernel modules with clang
Christian Hoffmann [Sat, 11 Feb 2023 10:54:17 +0000 (11:54 +0100)]
amlogic: Compile kernel modules with clang

Change-Id: I0b17a4a893412f0f68bdf9600a0caa6ead660b55

23 months agoGuard for g12a, g12b and sm1 SOCs
Vitaliy Tomin [Sun, 29 May 2022 18:52:00 +0000 (14:52 -0400)]
Guard for g12a, g12b and sm1 SOCs

Change-Id: Ic900996019110fe5f05c9865efe04950eac8ae80

23 months agoReplace android makefile with one to build modules inline
Aaron Kling [Thu, 24 Jun 2021 20:41:13 +0000 (15:41 -0500)]
Replace android makefile with one to build modules inline

Change-Id: I3ed6ce47161f6fb28aeb1581c65463f94ccfb6b4

2 years agoFix private modules install path
Hongguang [Tue, 24 May 2022 02:23:36 +0000 (19:23 -0700)]
Fix private modules install path

Bug: 220644706
Test: make and find the private modules in dist.
Change-Id: I25d123128fab6a0a3bfcf73de1aadd19a69d1f7a

2 years agoInstall private modules into private/modules
Hongguang [Tue, 24 May 2022 01:20:21 +0000 (18:20 -0700)]
Install private modules into private/modules

Bug: 220644706
Test: make and find the private modules in dist.
Change-Id: I7be1f94d02a57f6206afd42f2b6801c3be0e641d

2 years agoPrivate modules should be installed into private
Hongguang [Mon, 23 May 2022 23:17:34 +0000 (16:17 -0700)]
Private modules should be installed into private

Bug: 220644706
Test: make and find the private modules in dist.
Change-Id: Ic5528b95b81205062b267885e0bb2be8f842d893

3 years agoadt3-S optee_linuxdriver source code [1/1]
Liang Ji [Tue, 15 Jun 2021 04:47:49 +0000 (12:47 +0800)]
adt3-S optee_linuxdriver source code [1/1]

internal tot CL:

optee: remove registered shm argument size check

RSP-1789

We don't need to return error if output shm size is larger than
allocated buffer. This is pefrectly fine. In this way TEE or TA
reports that it needs larger buffer (as described in
TEE Client API Specification v1.0, section 3.2.5.).

Change-Id(I41627f02f94a76a6e4fb70f7f6a96111297bba8f)
Signed-off-by: Volodymyr Babchuk <vlad.babchuk@gmail.com>
Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (HiKey)
Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Signed-off-by: Pengguang Zhu <pengguang.zhu@amlogic.com>
Signed-off-by: Liang Ji <liang.ji@amlogic.com>
Change-Id: I0cc82536ba403403cd3c98ef0c177f09b62df280

5 years agoInitial empty repository
Inna Palant [Fri, 21 Jun 2019 20:53:54 +0000 (13:53 -0700)]
Initial empty repository