GitHub/LineageOS/G12/android_hardware_amlogic_kernel-modules_optee.git
4 months agoRDK: License Issue [1/1]
rui guo [Tue, 14 Jun 2022 08:54:01 +0000 (16:54 +0800)]
RDK: License Issue [1/1]

PD#SWPL-81777

Problem:
License Issue

Solution:
Update License from kernel source code(5.15)

Verify:
Android R

Signed-off-by: rui guo <rui.guo@amlogic.com>
Change-Id: Ie1719aea7828c38be48be690d8f5ec749e8e6be3

4 months agolinuxdriver: fix typo check [1/1]
rui guo [Fri, 24 Jun 2022 09:18:22 +0000 (17:18 +0800)]
linuxdriver: fix typo check [1/1]

PD#SWPL-86276

Problem:
typo check

Solution:
Correct word

Verify:
Android R

Signed-off-by: rui guo <rui.guo@amlogic.com>
Change-Id: I171c4cc2c6815452ef30eee304d1f272f07ecdbe

4 months agolog: destroy log_workqueue when the driver exits [1/1]
Chao Liu [Mon, 17 Jan 2022 06:59:14 +0000 (14:59 +0800)]
log: destroy log_workqueue when the driver exits [1/1]

PD#SWPL-70250

Problem:
log workqueue is not destroyed and it leads to reboot crash

Solution:
destroy log_workqueue when the driver exits

Verify:
yocto + s4

Signed-off-by: Chao Liu <chao.liu@amlogic.com>
Change-Id: I2b04ae3a719e2779ca6e9b840d2a6832022eafb5

4 months agolog: System crash and reboot random when play any content on Netflix [1/1]
rui guo [Wed, 24 Nov 2021 09:59:15 +0000 (17:59 +0800)]
log: System crash and reboot random when play any content on Netflix [1/1]

PD#OTT-25875

Problem:
detected buffer overflow in memcpy

Solution:
The parameter checking

Verify:
RDK + S905X4

Change-Id: I7d41111e58a7c4667e0c527890e41766970b840b
Signed-off-by: rui guo <rui.guo@amlogic.com>
4 months agolog: Test fly audio,9 fail by Initial audio tone not detected [1/1]
rui guo [Tue, 28 Dec 2021 10:32:34 +0000 (18:32 +0800)]
log: Test fly audio,9 fail by Initial audio tone not detected [1/1]

PD#SWPL-64462

Problem:
log_timer_func timer takes a long time

Solution:
log_timer_func is move to the workqueue

Verify:
Android Q + S905X4 + kernel_4.9
Android S + S905X4 + kernel_5.4

Change-Id: I88485a50242b8ad5843d4f03c191943325ddb7fd
Signed-off-by: rui guo <rui.guo@amlogic.com>
4 months agooptee: Strip modules_install rules
Bruno Martins [Sun, 7 Jul 2024 21:24:59 +0000 (22:24 +0100)]
optee: Strip modules_install rules

There's no point in doing this.

Change-Id: I01d7963f3dfd8933c240e7c6b00c3c1e22d402f7

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