| f73343d3 | 06-Jul-2022 |
Gatien Chevallier <gatien.chevallier@foss.st.com> |
drivers: clk: clk-stm32mp13: add ck_mlahb to critical clocks
This clock must remain enabled as long as the platform is running.
Signed-off-by: Gabriel Fernandez <gabriel.fernandez@foss.st.com> Sign
drivers: clk: clk-stm32mp13: add ck_mlahb to critical clocks
This clock must remain enabled as long as the platform is running.
Signed-off-by: Gabriel Fernandez <gabriel.fernandez@foss.st.com> Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 397de527 | 06-Jul-2022 |
Gatien Chevallier <gatien.chevallier@foss.st.com> |
plat-stm32mp1: conf: introduce STM32MP13 configuration
This change introduces STM32MP13 minimal configuration and differentiates STM32MP15 platform from the STM32MP13 one by enabling or disabling sp
plat-stm32mp1: conf: introduce STM32MP13 configuration
This change introduces STM32MP13 minimal configuration and differentiates STM32MP15 platform from the STM32MP13 one by enabling or disabling specific switches.
Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 45d799cd | 07-Jul-2022 |
Gatien Chevallier <gatien.chevallier@foss.st.com> |
plat-stm32mp1: CFG_TZSRAM_START may not be defined
STM32MP13 SoCs do not use internal RAM to run OP-TEE hence do not define CFG_TZSRAM_START/SIZE for that platform.
Signed-off-by: Gatien Chevallier
plat-stm32mp1: CFG_TZSRAM_START may not be defined
STM32MP13 SoCs do not use internal RAM to run OP-TEE hence do not define CFG_TZSRAM_START/SIZE for that platform.
Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| d727d176 | 06-Jul-2022 |
Gatien Chevallier <gatien.chevallier@foss.st.com> |
plat-stm32mp1: conf: set variant config before common default configs
Moves definition of variant config (MP15/MP13) to conf.mk file top, before common switches default initialization. This is more
plat-stm32mp1: conf: set variant config before common default configs
Moves definition of variant config (MP15/MP13) to conf.mk file top, before common switches default initialization. This is more flexible to define target specific configuration.
Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 60f95c91 | 06-Jul-2022 |
Gatien Chevallier <gatien.chevallier@foss.st.com> |
plat-stm32mp1: conf: implement switch list for CFG_STM32MP15|13
CFG_STM32MP15 and CFG_STM32MP13 are part of a configuration choice list, one and one only of the items shall be enabled.
Highlight th
plat-stm32mp1: conf: implement switch list for CFG_STM32MP15|13
CFG_STM32MP15 and CFG_STM32MP13 are part of a configuration choice list, one and one only of the items shall be enabled.
Highlight that with an inline comment and some logic. The default target is CFG_STM32MP15 for backward compatibility.
Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 0f04fdc9 | 06-Jul-2022 |
Gatien Chevallier <gatien.chevallier@foss.st.com> |
plat-stm32mp1: conf: introduce STM32MP1 flavorlists
Add flavorlist-MP13 to list boards currently supported for the STM32MP13 SoC.
Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Re
plat-stm32mp1: conf: introduce STM32MP1 flavorlists
Add flavorlist-MP13 to list boards currently supported for the STM32MP13 SoC.
Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| a9f86b17 | 06-Jul-2022 |
Gatien Chevallier <gatien.chevallier@foss.st.com> |
plat-stm32mp1: support STM32MP13 gpio bank resources
STM32MP13 platform does not support the same amount of GPIO bank.
Always define the util functions. Support STM32MP13 and STM32MP15.
Signed-off
plat-stm32mp1: support STM32MP13 gpio bank resources
STM32MP13 platform does not support the same amount of GPIO bank.
Always define the util functions. Support STM32MP13 and STM32MP15.
Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| dc357ecd | 06-Jul-2022 |
Gatien Chevallier <gatien.chevallier@foss.st.com> |
plat-stm32mp1: scmi_server update for STM32MP13
Update the SCMI server to support STM32MP13 and its SCMI domains: clock, reset and voltage.
This change also remove the '0' index to the SCMI domains
plat-stm32mp1: scmi_server update for STM32MP13
Update the SCMI server to support STM32MP13 and its SCMI domains: clock, reset and voltage.
This change also remove the '0' index to the SCMI domains in order to align with Linux kernel.
Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 10f7f1fd | 06-Jul-2022 |
Gatien Chevallier <gatien.chevallier@foss.st.com> |
dt-bindings: add STM32MP13 regulator bindings
These bindings will be used for the SCMI voltage domain.
Signed-off-by: Pascal Paillet <p.paillet@foss.st.com> Signed-off-by: Gatien Chevallier <gatien
dt-bindings: add STM32MP13 regulator bindings
These bindings will be used for the SCMI voltage domain.
Signed-off-by: Pascal Paillet <p.paillet@foss.st.com> Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 40cc9401 | 06-Jul-2022 |
Gatien Chevallier <gatien.chevallier@foss.st.com> |
dts: stm32: add initial support of STM32MP135F-DK board
Add support of STM32MP135F discovery board (part number: STM32MP135F-DK) that integrates a STM32MP135F SoC with 512 MB of DDR3.
The board pro
dts: stm32: add initial support of STM32MP135F-DK board
Add support of STM32MP135F discovery board (part number: STM32MP135F-DK) that integrates a STM32MP135F SoC with 512 MB of DDR3.
The board provides SDcard and USB mass storage as persistent storage device interfaces.
Co-developed-by: Alexandre Torgue <alexandre.torgue@foss.st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com> Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Signed-off-by: Lionel Debieve <lionel.debieve@foss.st.com> Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 8fc45e1e | 06-Jul-2022 |
Gatien Chevallier <gatien.chevallier@foss.st.com> |
dts: stm32: add STM32MP13 SoCs support
Add initial support of STM32MP13 family. The STM32MP13 SoC diversity is composed by: - STM32MP131: -core: 1*CA7, 17*TIMERS, 5*LPTIMERS, DMA/MDMA/DMAMUX -st
dts: stm32: add STM32MP13 SoCs support
Add initial support of STM32MP13 family. The STM32MP13 SoC diversity is composed by: - STM32MP131: -core: 1*CA7, 17*TIMERS, 5*LPTIMERS, DMA/MDMA/DMAMUX -storage: 3*SDMCC, 1*QSPI, FMC -com: USB (OHCI/EHCI, OTG), 5*I2C, 5*SPI/I2S, 8*U(S)ART -audio: 2*SAI -network: 1*ETH(GMAC) -STM32MP133: STM32MP131 + 2*CAN, ETH2(GMAC), ADC1 -STM32MP135: STM32MP133 + DCMIPP, LTDC
Co-developed-by: Alexandre Torgue <alexandre.torgue@foss.st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com> Signed-off-by: Lionel Debieve <lionel.debieve@foss.st.com> Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 69e8ed5e | 28-Jun-2022 |
Andrew Davis <afd@ti.com> |
plat-k3: drivers: Disable SA2UL RNG driver on unsupported flavors
Only enable the SA2UL TRNG on platform flavors that are currently supported. This can be relaxed for platforms as support is verifie
plat-k3: drivers: Disable SA2UL RNG driver on unsupported flavors
Only enable the SA2UL TRNG on platform flavors that are currently supported. This can be relaxed for platforms as support is verified.
Signed-off-by: Andrew Davis <afd@ti.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| 44c29b27 | 11-Jul-2022 |
Etienne Carriere <etienne.carriere@linaro.org> |
core: arm: kernel: fix rpc shm free when prealloc is disable
Fixes commit [1] that changed implementation of the standard invocation SMC command to introduce invocation with RPC shared memory refere
core: arm: kernel: fix rpc shm free when prealloc is disable
Fixes commit [1] that changed implementation of the standard invocation SMC command to introduce invocation with RPC shared memory reference. A wrong logic was implemented to free RPC buffer on standard invocation completion. This change fixes that by freeing the cached shared memory when pre-allocation is disable by config switch or runtime service.
Fixes: feb290a51087 ("core: add OPTEE_SMC_CALL_WITH_RPC_ARG") Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| c1f648c0 | 07-Jul-2022 |
Sahil Malhotra <sahil.malhotra@nxp.com> |
core: plat-ls: correct expression CFG_NUM_THREADS ?= CFG_TEE_CORE_NB_CORE
There was no parenthesis around CFG_TEE_CORE_NB_CORE when assigning it to CFG_NUM_THREADS, so corrected it.
Signed-off-by:
core: plat-ls: correct expression CFG_NUM_THREADS ?= CFG_TEE_CORE_NB_CORE
There was no parenthesis around CFG_TEE_CORE_NB_CORE when assigning it to CFG_NUM_THREADS, so corrected it.
Signed-off-by: Sahil Malhotra <sahil.malhotra@nxp.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|
| 495c0cbd | 08-Jul-2022 |
Sahil Malhotra <sahil.malhotra@nxp.com> |
core: plat-ls: remove OP-TEE support for LS1012A-FRWY platform
LS1012A-FRWY does not support OP-TEE anymore, removing its support.
Signed-off-by: Sahil Malhotra <sahil.malhotra@nxp.com> Acked-by: J
core: plat-ls: remove OP-TEE support for LS1012A-FRWY platform
LS1012A-FRWY does not support OP-TEE anymore, removing its support.
Signed-off-by: Sahil Malhotra <sahil.malhotra@nxp.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 69ecfb92 | 07-Jul-2022 |
Sahil Malhotra <sahil.malhotra@nxp.com> |
core: plat-ls: set CFG_NUM_THREADS ?= 2 for LS1012ARDB
xtest regression_1009.3 fails on LS1012ARDB because the test needs at least two threads but the default configuration for the platform enables
core: plat-ls: set CFG_NUM_THREADS ?= 2 for LS1012ARDB
xtest regression_1009.3 fails on LS1012ARDB because the test needs at least two threads but the default configuration for the platform enables only one. Set CFG_NUM_THREADS ?= 2 to fix the issue.
Signed-off-by: Sahil Malhotra <sahil.malhotra@nxp.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 837adc0a | 28-Jun-2022 |
Clement Faure <clement.faure@nxp.com> |
drivers: caam: increase the minimum entropy delay the imx6sx
The i.MX6SX requires to start the RNG instantiation at a higher entropy delay to provide a stable RNG generation and avoid RNG hardware e
drivers: caam: increase the minimum entropy delay the imx6sx
The i.MX6SX requires to start the RNG instantiation at a higher entropy delay to provide a stable RNG generation and avoid RNG hardware errors.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| b212ad1d | 30-Jun-2022 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: pager: fix get_linear_map_end()
With paging enabled there is an unpaged portion of OP-TEE which ends at the address returned by get_linear_map_end(). Without ASLR enabled this is both a virtua
core: pager: fix get_linear_map_end()
With paging enabled there is an unpaged portion of OP-TEE which ends at the address returned by get_linear_map_end(). Without ASLR enabled this is both a virtual and physical address. However, with ASLR enabled it's important to keep these addresses apart so add get_linear_map_end_va() and get_linear_map_end_pa() and use the right function in phys_to_virt_tee_ram() and is_unpaged().
This fixes occasional errors like: E/TC:0 0 Panic 'can't find mmu tables' at core/arch/arm/mm/tee_pager.c:549 <tee_pager_early_init> E/TC:0 0 TEE load address @ 0x50b9000 E/TC:0 0 Call stack: E/TC:0 0 0x050bf144
with paging and ASLR enabled.
Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (vexpress-qemu_armv8a) Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 4dfc95b7 | 30-Jun-2022 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: pager: fix tzsram_end in init_runtime()
With pager enabled tzsram_end in init_runtime() is supposed to be a virtual address. However TZSRAM_BASE is a physical address so this only works as lon
core: pager: fix tzsram_end in init_runtime()
With pager enabled tzsram_end in init_runtime() is supposed to be a virtual address. However TZSRAM_BASE is a physical address so this only works as long as virtual and physical addresses can be used interchangeably. With ASLR enabled this is not the case so fix this to compensate for the offset between physical and virtual addresses.
Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 5c64ea9c | 11-Mar-2022 |
Clément Léger <clement.leger@bootlin.com> |
plat-sam: nsec-service: handle SMC to set USB suspend
Handle the SMC that allows Linux to set USB suspend mode using the SFR.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne
plat-sam: nsec-service: handle SMC to set USB suspend
Handle the SMC that allows Linux to set USB suspend mode using the SFR.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Clément Léger <clement.leger@bootlin.com>
show more ...
|
| 9ee67465 | 11-Mar-2022 |
Clément Léger <clement.leger@bootlin.com> |
plat-sam: sfr: add function to set usb suspend
This function allows to set the usb suspend mode using the SFR peripheral. This will be used to execute a SMC that is going to be issued by Linux sama5
plat-sam: sfr: add function to set usb suspend
This function allows to set the usb suspend mode using the SFR peripheral. This will be used to execute a SMC that is going to be issued by Linux sama5 USB driver.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Clément Léger <clement.leger@bootlin.com>
show more ...
|
| bbbbab0e | 06-Jun-2022 |
Clément Léger <clement.leger@bootlin.com> |
plat-sam: sfr: set as secure if specified by the device-tree
The SFR can be set as secure using the matrix peripheral. If set as secure-status = "okay" and status = "disabled" in the device-tree, th
plat-sam: sfr: set as secure if specified by the device-tree
The SFR can be set as secure using the matrix peripheral. If set as secure-status = "okay" and status = "disabled" in the device-tree, then configure the SFR as secure.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Clément Léger <clement.leger@bootlin.com>
show more ...
|
| 2ac05359 | 06-Jun-2022 |
Clément Léger <clement.leger@bootlin.com> |
plat-sam: sfr: simplify code for sam_sfr_base()
Simplify the code logic to have less imbricated if().
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carrie
plat-sam: sfr: simplify code for sam_sfr_base()
Simplify the code logic to have less imbricated if().
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Clément Léger <clement.leger@bootlin.com>
show more ...
|
| 0a03b33d | 28-Jun-2021 |
Clément Léger <clement.leger@bootlin.com> |
plat-sam: split SFR code out of main.c file
Move SFR specific code to sam_sfr.c file.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@linaro.org> S
plat-sam: split SFR code out of main.c file
Move SFR specific code to sam_sfr.c file.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Clément Léger <clement.leger@bootlin.com>
show more ...
|
| b41798fa | 28-Jun-2022 |
Etienne Carriere <etienne.carriere@linaro.org> |
plat-stm32mp1: support rng pta with secure RNG source
Changes platform stm32mp1 configuration to default enable RNG PTA support when CFG_WITH_SOFTWARE_PRNG is disable. This configuration mandates st
plat-stm32mp1: support rng pta with secure RNG source
Changes platform stm32mp1 configuration to default enable RNG PTA support when CFG_WITH_SOFTWARE_PRNG is disable. This configuration mandates stm32mp1 RNG device and its resources to be assigned to the secure world to be accessible at runtime.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|