| ec93a5a2 | 02-Mar-2022 |
Clement Faure <clement.faure@nxp.com> |
drivers: imx_snvs: fix SNVS_SSM_MODE_SECURE value
The value for SNVS_SSM_MODE_SECURE is 15 instead of 14.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jerome Forissier <jerome.for
drivers: imx_snvs: fix SNVS_SSM_MODE_SECURE value
The value for SNVS_SSM_MODE_SECURE is 15 instead of 14.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|
| 5cd93c5a | 02-Mar-2022 |
Clement Faure <clement.faure@nxp.com> |
drivers: imx_snvs: fix SNVS security configuration values
The SYS_SECURITY_CFG field values of the HPSR register are different on imx8m platforms. Also, this bit field is 4 bits wide on imx8m platfo
drivers: imx_snvs: fix SNVS security configuration values
The SYS_SECURITY_CFG field values of the HPSR register are different on imx8m platforms. Also, this bit field is 4 bits wide on imx8m platforms and 3 bits wide on the imx6/7 platforms.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|
| ea4f7ad6 | 01-Mar-2022 |
Clement Faure <clement.faure@nxp.com> |
drivers: imx_snvs: add master key selection
Select the OTPMK as the SNVS master key when the platforms is in closed state.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jerome Fori
drivers: imx_snvs: add master key selection
Select the OTPMK as the SNVS master key when the platforms is in closed state.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|
| e82fe154 | 01-Mar-2022 |
Clement Faure <clement.faure@nxp.com> |
core: imx8m: add SNVS_SIZE value
Add SNVS_SIZE value for all imx8m platforms.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> |
| c76da3ba | 16-Mar-2022 |
Clement Faure <clement.faure@nxp.com> |
plat: imx7: add SNVS_SIZE value
Add SNVS_SIZE value for imx7 platforms.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> |
| 1523165f | 01-Mar-2022 |
Clement Faure <clement.faure@nxp.com> |
core: imx6: add SNVS_SIZE value
Add SNVS_SIZE for all imx6 platforms.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> |
| 916e56ed | 28-Feb-2022 |
Clement Faure <clement.faure@nxp.com> |
core: drivers: merge i.MX SNVS driver files
Move the implementation of plat_rpmb_key_is_ready() from plat-imx/drivers/imx_snvs.c to drivers/imx_snvs.c
Signed-off-by: Clement Faure <clement.faure@nx
core: drivers: merge i.MX SNVS driver files
Move the implementation of plat_rpmb_key_is_ready() from plat-imx/drivers/imx_snvs.c to drivers/imx_snvs.c
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|
| bc14a5cc | 16-May-2022 |
Jerome Forissier <jerome.forissier@linaro.org> |
core: arm.mk: set CFG_ARM32_core=y when CFG_ARM34_core != y
Updates core/arch/arm/arm.mk to assume 32-bit mode when not 64-bit and simplify the platforms conf.mk accordingly.
Signed-off-by: Jerome
core: arm.mk: set CFG_ARM32_core=y when CFG_ARM34_core != y
Updates core/arch/arm/arm.mk to assume 32-bit mode when not 64-bit and simplify the platforms conf.mk accordingly.
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| aeb2ac09 | 16-May-2022 |
Jerome Forissier <jerome.forissier@linaro.org> |
core: arm.mk: set CFG_WITH_LPAE=y when CFG_ARCH64_core=y
Since CFG_WITH_LPAE=y is mandatory when CFG_ARCH64_core=y, set it in the common file core/arch/arm/arm.mk instead of leaving it to the platfo
core: arm.mk: set CFG_WITH_LPAE=y when CFG_ARCH64_core=y
Since CFG_WITH_LPAE=y is mandatory when CFG_ARCH64_core=y, set it in the common file core/arch/arm/arm.mk instead of leaving it to the platforms.
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| 6685948b | 10-May-2022 |
Etienne Carriere <etienne.carriere@linaro.org> |
plat-stm32mp1: SCMI reset domains require rstctrl exclusivity
Changes platform to forbid access to SCMI reset domains for which reset controller exclusivity was not acquired.
Acked-by: Jens Wikland
plat-stm32mp1: SCMI reset domains require rstctrl exclusivity
Changes platform to forbid access to SCMI reset domains for which reset controller exclusivity was not acquired.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| 3ba6b40b | 28-Apr-2022 |
Etienne Carriere <etienne.carriere@linaro.org> |
plat-stm32mp1: provision tee threads when using SCMI
Increase the default number of tee threads provisioned by OP-TEE. SCMI messages needs a thread context while xtest requires 2 when pager is enabl
plat-stm32mp1: provision tee threads when using SCMI
Increase the default number of tee threads provisioned by OP-TEE. SCMI messages needs a thread context while xtest requires 2 when pager is enabled. Use higher value when pager is disabled since we have plenty of secure memory.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| f13fdbef | 28-Apr-2022 |
Etienne Carriere <etienne.carriere@linaro.org> |
plat-stm32mp1: default disable SCMI SiP SMC entry
Default disable CFG_STM32MP1_SCMI_SIP as not used by current mainline Linux kernel. This also relaxes few kbytes a internal RAM.
Acked-by: Jens Wik
plat-stm32mp1: default disable SCMI SiP SMC entry
Default disable CFG_STM32MP1_SCMI_SIP as not used by current mainline Linux kernel. This also relaxes few kbytes a internal RAM.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| dd728cff | 21-Mar-2022 |
Andrew Davis <afd@ti.com> |
plat-ti: Disable SECURE_DATA_PATH until xtest is fixed
While SDP support is being re-worked disable support by default to prevent failing test cases. This will be re-enabled when the REE-side suppor
plat-ti: Disable SECURE_DATA_PATH until xtest is fixed
While SDP support is being re-worked disable support by default to prevent failing test cases. This will be re-enabled when the REE-side support is restored.
Signed-off-by: Andrew Davis <afd@ti.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| 7f756666 | 05-May-2022 |
Andrew Davis <afd@ti.com> |
plat-k3: Disable SECURE_DATA_PATH until xtest is fixed
While SDP support is being re-worked disable support by default to prevent failing test cases. This will be re-enabled when the REE-side suppor
plat-k3: Disable SECURE_DATA_PATH until xtest is fixed
While SDP support is being re-worked disable support by default to prevent failing test cases. This will be re-enabled when the REE-side support is restored.
Signed-off-by: Andrew Davis <afd@ti.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| 737ed932 | 12-May-2022 |
Etienne Carriere <etienne.carriere@linaro.org> |
drivers: scmi-msg: fix protocol list querying
Corrects the function reporting the SCMI protocols supported by the platform to not assume 8 protocol IDs at most can be returned. Indeed the number of
drivers: scmi-msg: fix protocol list querying
Corrects the function reporting the SCMI protocols supported by the platform to not assume 8 protocol IDs at most can be returned. Indeed the number of protocol IDs returned depends on the SCMI output buffer size.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| f93760c4 | 12-May-2022 |
Etienne Carriere <etienne.carriere@linaro.org> |
drivers: scmi-msg: fix protocol list response size
Corrects the size of the SCMI response payload when querying the list of the supported protocol. This response payload size depends on the number o
drivers: scmi-msg: fix protocol list response size
Corrects the size of the SCMI response payload when querying the list of the supported protocol. This response payload size depends on the number of protocols enumerated by the response.
Reported-by: Nicolas Frattaroli <frattaroli.nicolas@gmail.com> Link: https://lore.kernel.org/lkml/1698297.NAKyZzlH2u@archbook Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| 4a382700 | 29-Apr-2022 |
Etienne Carriere <etienne.carriere@linaro.org> |
drivers: scmi-msg: move entry functions to generic entry
Moves SCMI channel management entry helper functions from smt.c to generic source file entry.c. This change will ease integration of other SC
drivers: scmi-msg: move entry functions to generic entry
Moves SCMI channel management entry helper functions from smt.c to generic source file entry.c. This change will ease integration of other SCMI shared memory message passing protocol.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| 598c63d3 | 10-May-2022 |
Etienne Carriere <etienne.carriere@linaro.org> |
drivers: scmi-msg: rename chan to channel
Renames local variables chan to channel in smt.c.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@li
drivers: scmi-msg: rename chan to channel
Renames local variables chan to channel in smt.c.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| ae07e7ef | 29-Apr-2022 |
Etienne Carriere <etienne.carriere@linaro.org> |
drivers: scmi-msg: handle invalid channels
Changes implementation channel_to_smt_hdr() of SMT message management in scmi-msg driver to support being called with invalid channel ID to relax implement
drivers: scmi-msg: handle invalid channels
Changes implementation channel_to_smt_hdr() of SMT message management in scmi-msg driver to support being called with invalid channel ID to relax implementation. On contrary, scmi_smt_init_agent_channel() is expected to be called only for valid SMT channels.
By the way, with this change, scmi_entry_smt() read SMT header status from shared memory after channel in successfully claimed, not before. The change does not affect the communication and makes the implementation more consistent. For consistency, I also rename local variables chan to channel to be more explicit.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| 0c43202e | 25-Apr-2022 |
Etienne Carriere <etienne.carriere@linaro.org> |
drivers: scmi-msg: correct inline description
Fixes inline description comment of plat_scmi_clock_rates_array() and scmi_smt_init_agent_channel().
Acked-by: Jens Wiklander <jens.wiklander@linaro.or
drivers: scmi-msg: correct inline description
Fixes inline description comment of plat_scmi_clock_rates_array() and scmi_smt_init_agent_channel().
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| 90252e2a | 29-Apr-2022 |
Etienne Carriere <etienne.carriere@linaro.org> |
drivers: scmi-msg: clock adapts to output buffer size
Changes SCMI clocks implementation to not assume the SCMI output message buffer is of a given size. Implementation still expects the output shar
drivers: scmi-msg: clock adapts to output buffer size
Changes SCMI clocks implementation to not assume the SCMI output message buffer is of a given size. Implementation still expects the output shared memory is at least large enough to hold the SCMI status information that is 32bit wide.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| 57f6c5d2 | 29-Apr-2022 |
Etienne Carriere <etienne.carriere@linaro.org> |
drivers: scmi-msg: voltage domain adapts to output buffer size
Changes SCMI voltage domain implementation to not assume the SCMI output message buffer is of a given size. Implementation still expect
drivers: scmi-msg: voltage domain adapts to output buffer size
Changes SCMI voltage domain implementation to not assume the SCMI output message buffer is of a given size. Implementation still expects the output shared memory is at least large enough to hold the SCMI status information that is 32bit wide.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| 7b49ff33 | 25-Apr-2022 |
Etienne Carriere <etienne.carriere@linaro.org> |
drivers: scmi-msg: relax constraint on output buffer size
Changes scmi_write_response() implementation to not assert the output buffer size against target payload but return a protocol error instead
drivers: scmi-msg: relax constraint on output buffer size
Changes scmi_write_response() implementation to not assert the output buffer size against target payload but return a protocol error instead since we expect shared memory size where agreed on before communication.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| d0b1e037 | 25-Apr-2022 |
Etienne Carriere <etienne.carriere@linaro.org> |
drivers: scmi-msg: remove unused macro LEVELS_ARRAY_SIZE_MAX_2
Removes macro LEVELS_ARRAY_SIZE_MAX_2 in scmi-msg voltage-domain.c source file.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> S
drivers: scmi-msg: remove unused macro LEVELS_ARRAY_SIZE_MAX_2
Removes macro LEVELS_ARRAY_SIZE_MAX_2 in scmi-msg voltage-domain.c source file.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| d9b0a06d | 25-Apr-2022 |
Etienne Carriere <etienne.carriere@linaro.org> |
drivers: scmi-msg: rename secure buffer size macros
Renames macro SCMI_PLAYLOAD_MAX to SCMI_SEC_PAYLOAD_SIZE and SCMI_PLAYLOAD_U32_MAX to SCMI_PAYLOAD_U32_SIZE to fix typo in macro name (play to pay
drivers: scmi-msg: rename secure buffer size macros
Renames macro SCMI_PLAYLOAD_MAX to SCMI_SEC_PAYLOAD_SIZE and SCMI_PLAYLOAD_U32_MAX to SCMI_PAYLOAD_U32_SIZE to fix typo in macro name (play to pay) and make it clear that SCMI_SEC_PAYLOAD_SIZE is the size of the secure buffer used to store a secure copy of the input SCMI message payload, that is expected small.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|