Kta cleanup#4
Merged
2 commits merged intoOP-TEE:masterfrom Jul 7, 2014
Merged
Conversation
|
+1 |
Contributor
Author
|
I'm adding a comment about IO macro being depracated, new patch will be uploaded soon. Note that, since this pull request should consist of two patches I'll also need to squash push one more. |
Contributor
Author
|
Patch uploaded, if OK, next step is to rebase + squash into two separate patches, then upload final patch set. |
|
+1 |
- Moved IO macro from kta_mem.h to io.h. - Removed unused TEE_MEM_xyz defines. - Removed code that was used for TA's in TEE RAM (impossible to reach that code). Signed-off-by: Joakim Bech <[email protected]>
Signed-off-by: Joakim Bech <[email protected]>
Contributor
Author
|
Patches rebased to latest on master and squashed into two separate patches (one for changes and one for removing a file). This should be ready to be merged. |
Contributor
|
+1 |
Merged
Merged
clementfaure
pushed a commit
to clementfaure/optee_os
that referenced
this pull request
Feb 27, 2020
Minor comment. Signed-off-by: Clement Faure <[email protected]>
clementfaure
pushed a commit
to clementfaure/optee_os
that referenced
this pull request
Mar 12, 2020
…river Minor fixes. Signed-off-by: Clement Faure <[email protected]>
clementfaure
pushed a commit
to clementfaure/optee_os
that referenced
this pull request
Mar 12, 2020
Minor fixes. Signed-off-by: Clement Faure <[email protected]>
ruchi393
pushed a commit
to ruchi393/optee_os
that referenced
this pull request
Apr 17, 2020
Size of each JR Output ring entry is of 12 bytes for CAAM using address pointer size as 64 bit. The descriptor address pointer thus lies at 32 bit boundary in second output ring entry. 64 bit access of descriptor pointer at 32 bit boundary generates alignment fault. To fix this, descriptor address pointer should be accessed as two 32 bit operations. regression_1004 Test User Crypt TA E/TC:04 00 E/TC:04 00 Core data-abort at address 0xfc09774c (alignment fault) E/TC:04 00 esr 0x96000021 ttbr0 0x20000fc0d0080 ttbr1 0x00000000 cidr 0x0 E/TC:04 00 cpu OP-TEE#4 cpsr 0x200001c4 E/TC:04 00 x0 00000000fc09774c x1 00000000fc096f80 E/TC:04 00 x2 0000000000000000 x3 0000008000020000 E/TC:04 00 x4 0000000000000003 x5 000000000000ca90 E/TC:04 00 x6 0000000000000000 x7 0000000000000020 E/TC:04 00 x8 00000000fc094418 x9 00000000d36adb98 E/TC:04 00 x10 0000000041001900 x11 00000000ab12a911 E/TC:04 00 x12 0000000032e4d24d x13 00000000e1b6489b E/TC:04 00 x14 0000000000000000 x15 0000000000000000 E/TC:04 00 x16 00000000fc0ddba8 x17 0000000000000000 E/TC:04 00 x18 0000000000000000 x19 0000000000000000 E/TC:04 00 x20 000000000000270f x21 00000000fc075000 E/TC:04 00 x22 0000000000000000 x23 00000000fc09774c E/TC:04 00 x24 00000000fc096f80 x25 0000000000000000 E/TC:04 00 x26 0000000000000001 x27 00000000fc06b000 E/TC:04 00 x28 0000000000000000 x29 00000000fc0dd970 E/TC:04 00 x30 00000000fc0193f4 elr 00000000fc01a04c E/TC:04 00 sp_el0 00000000fc0dd970 E/TC:04 00 TEE load address @ 0xfc000000 E/TC:04 00 Call stack: E/TC:04 00 0x00000000fc01a04c E/TC:04 00 0x00000000fc019690 E/TC:04 00 0x00000000fc01e884 E/TC:04 00 0x00000000fc01ec30 E/TC:04 00 0x00000000fc018a74 E/TC:04 00 0x00000000fc030e18 E/TC:04 00 0x00000000fc02f5d8 E/TC:04 00 0x00000000fc02d6f8 E/TC:04 00 0x00000000fc02fde8 E/TC:04 00 0x00000000fc02d9e8 E/TC:04 00 0x00000000fc02dcb4 E/TC:04 00 0x00000000fc031bc8 E/TC:04 00 0x00000000fc032408 E/TC:04 00 0x00000000fc005370 E/TC:04 00 0x00000000fc022298 E/TC:04 00 0x00000000fc0059e4 E/TC:04 00 0x00000000fc020d5c E/TC:04 00 0x00000000fc026bd8 E/TC:04 00 0x00000000fc0115e8 E/TC:04 00 0x00000000fc007a64 E/TC:04 00 0x00000000fc0039e0 E/TC:04 00 Panic '[abort] alignement fault! (trap CPU)' at core/arch/arm/kernel/abort.c:477 <get_fault_type> E/TC:04 00 TEE load address @ 0xfc000000 Signed-off-by: Ruchika Gupta <[email protected]>
ruchi393
pushed a commit
to ruchi393/optee_os
that referenced
this pull request
Apr 17, 2020
Size of each JR Output ring entry is of 12 bytes for CAAM using address pointer size as 64 bit. The descriptor address pointer thus lies at 32 bit boundary in second output ring entry. 64 bit access of descriptor pointer at 32 bit boundary generates alignment fault. To fix this, descriptor address pointer should be accessed as two 32 bit operations. regression_1004 Test User Crypt TA E/TC:04 00 E/TC:04 00 Core data-abort at address 0xfc09774c (alignment fault) E/TC:04 00 esr 0x96000021 ttbr0 0x20000fc0d0080 ttbr1 0x00000000 cidr 0x0 E/TC:04 00 cpu OP-TEE#4 cpsr 0x200001c4 E/TC:04 00 x0 00000000fc09774c x1 00000000fc096f80 E/TC:04 00 x2 0000000000000000 x3 0000008000020000 E/TC:04 00 x4 0000000000000003 x5 000000000000ca90 E/TC:04 00 x6 0000000000000000 x7 0000000000000020 E/TC:04 00 x8 00000000fc094418 x9 00000000d36adb98 E/TC:04 00 x10 0000000041001900 x11 00000000ab12a911 E/TC:04 00 x12 0000000032e4d24d x13 00000000e1b6489b E/TC:04 00 x14 0000000000000000 x15 0000000000000000 E/TC:04 00 x16 00000000fc0ddba8 x17 0000000000000000 E/TC:04 00 x18 0000000000000000 x19 0000000000000000 E/TC:04 00 x20 000000000000270f x21 00000000fc075000 E/TC:04 00 x22 0000000000000000 x23 00000000fc09774c E/TC:04 00 x24 00000000fc096f80 x25 0000000000000000 E/TC:04 00 x26 0000000000000001 x27 00000000fc06b000 E/TC:04 00 x28 0000000000000000 x29 00000000fc0dd970 E/TC:04 00 x30 00000000fc0193f4 elr 00000000fc01a04c E/TC:04 00 sp_el0 00000000fc0dd970 E/TC:04 00 TEE load address @ 0xfc000000 E/TC:04 00 Call stack: E/TC:04 00 0x00000000fc01a04c E/TC:04 00 0x00000000fc019690 E/TC:04 00 0x00000000fc01e884 E/TC:04 00 0x00000000fc01ec30 E/TC:04 00 0x00000000fc018a74 E/TC:04 00 0x00000000fc030e18 E/TC:04 00 0x00000000fc02f5d8 E/TC:04 00 0x00000000fc02d6f8 E/TC:04 00 0x00000000fc02fde8 E/TC:04 00 0x00000000fc02d9e8 E/TC:04 00 0x00000000fc02dcb4 E/TC:04 00 0x00000000fc031bc8 E/TC:04 00 0x00000000fc032408 E/TC:04 00 0x00000000fc005370 E/TC:04 00 0x00000000fc022298 E/TC:04 00 0x00000000fc0059e4 E/TC:04 00 0x00000000fc020d5c E/TC:04 00 0x00000000fc026bd8 E/TC:04 00 0x00000000fc0115e8 E/TC:04 00 0x00000000fc007a64 E/TC:04 00 0x00000000fc0039e0 Signed-off-by: Ruchika Gupta <[email protected]>
ruchi393
pushed a commit
to ruchi393/optee_os
that referenced
this pull request
Apr 22, 2020
Size of each JR Output ring entry is of 12 bytes for CAAM using address pointer size as 64 bit. The descriptor address pointer thus lies at 32 bit boundary in second output ring entry. 64 bit access of descriptor pointer at 32 bit boundary generates alignment fault. To fix this, descriptor address pointer should be accessed as two 32 bit operations. regression_1004 Test User Crypt TA E/TC:04 00 E/TC:04 00 Core data-abort at address 0xfc09774c (alignment fault) E/TC:04 00 esr 0x96000021 ttbr0 0x20000fc0d0080 ttbr1 0x00000000 cidr 0x0 E/TC:04 00 cpu OP-TEE#4 cpsr 0x200001c4 E/TC:04 00 x0 00000000fc09774c x1 00000000fc096f80 E/TC:04 00 x2 0000000000000000 x3 0000008000020000 E/TC:04 00 x4 0000000000000003 x5 000000000000ca90 E/TC:04 00 x6 0000000000000000 x7 0000000000000020 E/TC:04 00 x8 00000000fc094418 x9 00000000d36adb98 E/TC:04 00 x10 0000000041001900 x11 00000000ab12a911 E/TC:04 00 x12 0000000032e4d24d x13 00000000e1b6489b E/TC:04 00 x14 0000000000000000 x15 0000000000000000 E/TC:04 00 x16 00000000fc0ddba8 x17 0000000000000000 E/TC:04 00 x18 0000000000000000 x19 0000000000000000 E/TC:04 00 x20 000000000000270f x21 00000000fc075000 E/TC:04 00 x22 0000000000000000 x23 00000000fc09774c E/TC:04 00 x24 00000000fc096f80 x25 0000000000000000 E/TC:04 00 x26 0000000000000001 x27 00000000fc06b000 E/TC:04 00 x28 0000000000000000 x29 00000000fc0dd970 E/TC:04 00 x30 00000000fc0193f4 elr 00000000fc01a04c E/TC:04 00 sp_el0 00000000fc0dd970 E/TC:04 00 TEE load address @ 0xfc000000 E/TC:04 00 Call stack: E/TC:04 00 0x00000000fc01a04c E/TC:04 00 0x00000000fc019690 E/TC:04 00 0x00000000fc01e884 E/TC:04 00 0x00000000fc01ec30 E/TC:04 00 0x00000000fc018a74 E/TC:04 00 0x00000000fc030e18 E/TC:04 00 0x00000000fc02f5d8 E/TC:04 00 0x00000000fc02d6f8 E/TC:04 00 0x00000000fc02fde8 E/TC:04 00 0x00000000fc02d9e8 E/TC:04 00 0x00000000fc02dcb4 E/TC:04 00 0x00000000fc031bc8 E/TC:04 00 0x00000000fc032408 E/TC:04 00 0x00000000fc005370 E/TC:04 00 0x00000000fc022298 E/TC:04 00 0x00000000fc0059e4 E/TC:04 00 0x00000000fc020d5c E/TC:04 00 0x00000000fc026bd8 E/TC:04 00 0x00000000fc0115e8 E/TC:04 00 0x00000000fc007a64 E/TC:04 00 0x00000000fc0039e0 Signed-off-by: Ruchika Gupta <[email protected]>
ruchi393
pushed a commit
to ruchi393/optee_os
that referenced
this pull request
Apr 24, 2020
Size of each JR Output ring entry is of 12 bytes for CAAM using address pointer size as 64 bit. The descriptor address pointer thus lies at 32 bit boundary in second output ring entry. 64 bit access of descriptor pointer at 32 bit boundary generates alignment fault. To fix this, descriptor address pointer should be accessed as two 32 bit operations. regression_1004 Test User Crypt TA E/TC:04 00 E/TC:04 00 Core data-abort at address 0xfc09774c (alignment fault) E/TC:04 00 esr 0x96000021 ttbr0 0x20000fc0d0080 ttbr1 0x00000000 cidr 0x0 E/TC:04 00 cpu OP-TEE#4 cpsr 0x200001c4 E/TC:04 00 x0 00000000fc09774c x1 00000000fc096f80 E/TC:04 00 x2 0000000000000000 x3 0000008000020000 E/TC:04 00 x4 0000000000000003 x5 000000000000ca90 E/TC:04 00 x6 0000000000000000 x7 0000000000000020 E/TC:04 00 x8 00000000fc094418 x9 00000000d36adb98 E/TC:04 00 x10 0000000041001900 x11 00000000ab12a911 E/TC:04 00 x12 0000000032e4d24d x13 00000000e1b6489b E/TC:04 00 x14 0000000000000000 x15 0000000000000000 E/TC:04 00 x16 00000000fc0ddba8 x17 0000000000000000 E/TC:04 00 x18 0000000000000000 x19 0000000000000000 E/TC:04 00 x20 000000000000270f x21 00000000fc075000 E/TC:04 00 x22 0000000000000000 x23 00000000fc09774c E/TC:04 00 x24 00000000fc096f80 x25 0000000000000000 E/TC:04 00 x26 0000000000000001 x27 00000000fc06b000 E/TC:04 00 x28 0000000000000000 x29 00000000fc0dd970 E/TC:04 00 x30 00000000fc0193f4 elr 00000000fc01a04c E/TC:04 00 sp_el0 00000000fc0dd970 E/TC:04 00 TEE load address @ 0xfc000000 E/TC:04 00 Call stack: E/TC:04 00 0x00000000fc01a04c E/TC:04 00 0x00000000fc019690 E/TC:04 00 0x00000000fc01e884 E/TC:04 00 0x00000000fc01ec30 E/TC:04 00 0x00000000fc018a74 E/TC:04 00 0x00000000fc030e18 E/TC:04 00 0x00000000fc02f5d8 E/TC:04 00 0x00000000fc02d6f8 E/TC:04 00 0x00000000fc02fde8 E/TC:04 00 0x00000000fc02d9e8 E/TC:04 00 0x00000000fc02dcb4 E/TC:04 00 0x00000000fc031bc8 E/TC:04 00 0x00000000fc032408 E/TC:04 00 0x00000000fc005370 E/TC:04 00 0x00000000fc022298 E/TC:04 00 0x00000000fc0059e4 E/TC:04 00 0x00000000fc020d5c E/TC:04 00 0x00000000fc026bd8 E/TC:04 00 0x00000000fc0115e8 E/TC:04 00 0x00000000fc007a64 E/TC:04 00 0x00000000fc0039e0 Signed-off-by: Ruchika Gupta <[email protected]> Reviewed-by: Sahil Malhotra <[email protected]> Reviewed-by: Clement Faure <[email protected]>
ruchi393
pushed a commit
to ruchi393/optee_os
that referenced
this pull request
Apr 24, 2020
Size of each JR Output ring entry is of 12 bytes for CAAM using address pointer size as 64 bit. The descriptor address pointer thus lies at 32 bit boundary in second output ring entry. 64 bit access of descriptor pointer at 32 bit boundary generates alignment fault. To fix this, descriptor address pointer should be accessed as two 32 bit operations. regression_1004 Test User Crypt TA E/TC:04 00 E/TC:04 00 Core data-abort at address 0xfc09774c (alignment fault) E/TC:04 00 esr 0x96000021 ttbr0 0x20000fc0d0080 ttbr1 0x00000000 cidr 0x0 E/TC:04 00 cpu OP-TEE#4 cpsr 0x200001c4 E/TC:04 00 x0 00000000fc09774c x1 00000000fc096f80 E/TC:04 00 x2 0000000000000000 x3 0000008000020000 E/TC:04 00 x4 0000000000000003 x5 000000000000ca90 E/TC:04 00 x6 0000000000000000 x7 0000000000000020 E/TC:04 00 x8 00000000fc094418 x9 00000000d36adb98 E/TC:04 00 x10 0000000041001900 x11 00000000ab12a911 E/TC:04 00 x12 0000000032e4d24d x13 00000000e1b6489b E/TC:04 00 x14 0000000000000000 x15 0000000000000000 E/TC:04 00 x16 00000000fc0ddba8 x17 0000000000000000 E/TC:04 00 x18 0000000000000000 x19 0000000000000000 E/TC:04 00 x20 000000000000270f x21 00000000fc075000 E/TC:04 00 x22 0000000000000000 x23 00000000fc09774c E/TC:04 00 x24 00000000fc096f80 x25 0000000000000000 E/TC:04 00 x26 0000000000000001 x27 00000000fc06b000 E/TC:04 00 x28 0000000000000000 x29 00000000fc0dd970 E/TC:04 00 x30 00000000fc0193f4 elr 00000000fc01a04c E/TC:04 00 sp_el0 00000000fc0dd970 E/TC:04 00 TEE load address @ 0xfc000000 E/TC:04 00 Call stack: E/TC:04 00 0x00000000fc01a04c E/TC:04 00 0x00000000fc019690 E/TC:04 00 0x00000000fc01e884 E/TC:04 00 0x00000000fc01ec30 E/TC:04 00 0x00000000fc018a74 E/TC:04 00 0x00000000fc030e18 E/TC:04 00 0x00000000fc02f5d8 E/TC:04 00 0x00000000fc02d6f8 E/TC:04 00 0x00000000fc02fde8 E/TC:04 00 0x00000000fc02d9e8 E/TC:04 00 0x00000000fc02dcb4 E/TC:04 00 0x00000000fc031bc8 E/TC:04 00 0x00000000fc032408 E/TC:04 00 0x00000000fc005370 E/TC:04 00 0x00000000fc022298 E/TC:04 00 0x00000000fc0059e4 E/TC:04 00 0x00000000fc020d5c E/TC:04 00 0x00000000fc026bd8 E/TC:04 00 0x00000000fc0115e8 E/TC:04 00 0x00000000fc007a64 E/TC:04 00 0x00000000fc0039e0 Signed-off-by: Ruchika Gupta <[email protected]> Reviewed-by: Sahil Malhotra <[email protected]> Reviewed-by: Clement Faure <[email protected]>
ruchi393
pushed a commit
to ruchi393/optee_os
that referenced
this pull request
Apr 24, 2020
Size of each JR Output ring entry is of 12 bytes for CAAM using address pointer size as 64 bit. The descriptor address pointer thus lies at 32 bit boundary in second output ring entry. 64 bit access of descriptor pointer at 32 bit boundary generates alignment fault. To fix this, descriptor address pointer should be accessed as two 32 bit operations. regression_1004 Test User Crypt TA E/TC:04 00 E/TC:04 00 Core data-abort at address 0xfc09774c (alignment fault) E/TC:04 00 esr 0x96000021 ttbr0 0x20000fc0d0080 ttbr1 0x00000000 cidr 0x0 E/TC:04 00 cpu OP-TEE#4 cpsr 0x200001c4 E/TC:04 00 x0 00000000fc09774c x1 00000000fc096f80 E/TC:04 00 x2 0000000000000000 x3 0000008000020000 E/TC:04 00 x4 0000000000000003 x5 000000000000ca90 E/TC:04 00 x6 0000000000000000 x7 0000000000000020 E/TC:04 00 x8 00000000fc094418 x9 00000000d36adb98 E/TC:04 00 x10 0000000041001900 x11 00000000ab12a911 E/TC:04 00 x12 0000000032e4d24d x13 00000000e1b6489b E/TC:04 00 x14 0000000000000000 x15 0000000000000000 E/TC:04 00 x16 00000000fc0ddba8 x17 0000000000000000 E/TC:04 00 x18 0000000000000000 x19 0000000000000000 E/TC:04 00 x20 000000000000270f x21 00000000fc075000 E/TC:04 00 x22 0000000000000000 x23 00000000fc09774c E/TC:04 00 x24 00000000fc096f80 x25 0000000000000000 E/TC:04 00 x26 0000000000000001 x27 00000000fc06b000 E/TC:04 00 x28 0000000000000000 x29 00000000fc0dd970 E/TC:04 00 x30 00000000fc0193f4 elr 00000000fc01a04c E/TC:04 00 sp_el0 00000000fc0dd970 E/TC:04 00 TEE load address @ 0xfc000000 E/TC:04 00 Call stack: E/TC:04 00 0x00000000fc01a04c E/TC:04 00 0x00000000fc019690 E/TC:04 00 0x00000000fc01e884 E/TC:04 00 0x00000000fc01ec30 E/TC:04 00 0x00000000fc018a74 E/TC:04 00 0x00000000fc030e18 E/TC:04 00 0x00000000fc02f5d8 E/TC:04 00 0x00000000fc02d6f8 E/TC:04 00 0x00000000fc02fde8 E/TC:04 00 0x00000000fc02d9e8 E/TC:04 00 0x00000000fc02dcb4 E/TC:04 00 0x00000000fc031bc8 E/TC:04 00 0x00000000fc032408 E/TC:04 00 0x00000000fc005370 E/TC:04 00 0x00000000fc022298 E/TC:04 00 0x00000000fc0059e4 E/TC:04 00 0x00000000fc020d5c E/TC:04 00 0x00000000fc026bd8 E/TC:04 00 0x00000000fc0115e8 E/TC:04 00 0x00000000fc007a64 E/TC:04 00 0x00000000fc0039e0 Signed-off-by: Ruchika Gupta <[email protected]> Reviewed-by: Sahil Malhotra <[email protected]> Reviewed-by: Clement Faure <[email protected]>
vingu-linaro
pushed a commit
to vingu-linaro/optee_os
that referenced
this pull request
May 20, 2020
A squashed series of changes in stm32mp1 clock driver for supporting SCMI server as a clock consumer. These changes have not been upstream yet in OP-TEE OS. Below the details. Signed-off-by: Etienne Carriere <[email protected]> ### Commit message OP-TEE#1 plat-stm32mp1: clock: remove oscillators and PLLs from shared resources Oscillators, PLL1 and PLL2 are not resources allocated upon platform configuration, these are always under secure world control. This change removes them fro the list of the shared resources. Since these resource are always secure, there is no need to look up clock tree when a leaf clock is registered as secure to know which parent clock(s) is/are secure. This removes functions from shared_resources.c and stm32mp1_clk.c. stm32mp_register_clock_parents_secure() can be removed and all its private dependencies. Signed-off-by: Etienne Carriere <[email protected]> ### Commit message OP-TEE#2 plat-stm32mp1: clock: fix mcu/axi parent clock Correct MCU clock parent selector: MCU subsystem clock is derived from clock PLL3_P, not PLL3. Correct AXI clock parent selector: AXI subsystem clock is derived from clock PLL2_P, not PLL2. This change also renames MCU clock and AXI clock resources to prevent confusion. Signed-off-by: Etienne Carriere <[email protected]> ### Commit message OP-TEE#3 plat-stm32mp1: clock: allow tree lookup for several system clocks Oscillators, PLLs and some system clocks can be related straight to a parent clock. Prior this change were only oscillators and few clocks supported by this look up. This changes adds PLLs and other system clocks. This enables for flexible use of clock tree exploration when computing a clock frequency value. Signed-off-by: Etienne Carriere <[email protected]> ### Commit message OP-TEE#4 plat-stm32mp1: clock: handle always on clocks Oscillators and PLLs are not gated on stm32mp_clk_enable/disable() calls. This change allows function to blindly call clock gating function on always on clocks. Gating these clock is out of the scope of this change even if preferred for power consumption optimization. Signed-off-by: Etienne Carriere <[email protected]> ### Commit message OP-TEE#5 plat-stm32mp1: clock: add rtc as gateable clock Add clock RTC as a clock one can access through the stm32_util.h API function stm32_clock_*(). Signed-off-by: Etienne Carriere <[email protected]> ### Commit message OP-TEE#6 plat-stm32mp1: clock: enable some secure clocks at init With this change some system clock are enabled by core at boot time and have a reference counter synchronized with the clock hardware state. Signed-off-by: Etienne Carriere <[email protected]> ### Commit message OP-TEE#7 plat-stm32mp1: factorize rtc clock gating bit position For consistency, define macro RCC_BDCR_RTCCKEN_POS in stm32mp1_rcc.h to factorize definition of the RTC clock gating resources. Signed-off-by: Etienne Carriere <[email protected]> ### Commit message OP-TEE#8 plat-stm32mp1: add mdma secure clock Add support for MDMA secure clock. Signed-off-by: Etienne Carriere <[email protected]> ### Commit message OP-TEE#9 plat-stm32mp1: remove unused usb non-secure clock Remove unused clocks USBO_CLK and USBPHY_K resources. Signed-off-by: Etienne Carriere <[email protected]> ### Commit message OP-TEE#10 plat-stm32mp1: clock: secure and non-secure gateable clocks Array stm32mp1_clk_gate[] defines the clock resources. This change add a secure attribute to the clock: secure upon RCC[TZEN] (SEC), secure upon RCC[TZEN] and RCC[MCKPROT] (MKP) or always accessible from non-secure (N_S). At init, lookup clock tree to ensure that parents of a secure clock are registered a secure resources in the shared_resources.c driver. Non-secure clock that OP-TEE expect to enable are enabled without increase the clock refcount. For consistency, such clocks are not disabled by core. Such clocks may be accessed by OP-TEE Core when the non-secure world is not executing, for example at boot time or could be when system is suspending/resuming. Signed-off-by: Etienne Carriere <[email protected]> ### Commit message OP-TEE#11 plat-stm32mp1: clock: fixup parent clock ids Use _UNKNOWN_ID macro rather than 0xff for clocks parent IDs that do not relate to a gateable clock. Fix parent clock ID _HSE_KER_DIV2 that relates to clock CK_HSE_KER_DIV2, not CK_HSE. Signed-off-by: Etienne Carriere <[email protected]> ### Commit message OP-TEE#12 plat-stm32mp1: clock: don't embed unused non-secure uart clock Embed UART parent clock resource upon CFG_WITH_NSEC_UARTS=y. This configuration switch was already used to embed or not the non-secure UART clocks but not the resources used to looks there ascendant clocks. Signed-off-by: Etienne Carriere <[email protected]> ### Commit message OP-TEE#13 plat-stm32mp1: shared resources: get shared clock controller state stm32mp_nsec_can_access_clock() reports whether a clock is assigned to the secure world only, or when it can be manipulated by the non-secure world. Signed-off-by: Etienne Carriere <[email protected]> ### Commit message OP-TEE#14 plat-stm32mp1: shared resource: remove unused stm32mp_clock_is_*() Remove unused functions stm32mp_clock_is_shareable(), stm32mp_clock_is_shared() and stm32mp_clock_is_non_secure(). Signed-off-by: Etienne Carriere <[email protected]>
jenswi-linaro
added a commit
that referenced
this pull request
Feb 23, 2021
Adds a few assert() that snprintf() succeeds in print_seg(). This fixes coverity scan: CID 1501815 (#4 of 4): Unchecked return value (CHECKED_RETURN) Signed-off-by: Jens Wiklander <[email protected]>
jforissier
pushed a commit
that referenced
this pull request
Feb 24, 2021
Adds a few assert() that snprintf() succeeds in print_seg(). This fixes coverity scan: CID 1501815 (#4 of 4): Unchecked return value (CHECKED_RETURN) Reviewed-by: Jerome Forissier <[email protected]> Signed-off-by: Jens Wiklander <[email protected]>
a-rybakov
added a commit
to a-rybakov/optee_os-1
that referenced
this pull request
Jun 7, 2021
Fixed indent in plat-synquacer/main.c Size changed to 1 for hi16xx_rng and stm32_rng Signed-off-by: Anton Rybakov <[email protected]>
This pull request was closed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two commits, the first one cleans up in the source, the second one is a single commit just removing the file.