| #
602ff4f6 |
| 11-Jan-2024 |
Etienne Carriere <etienne.carriere@foss.st.com> |
pta: scmi: remove noisy info level message on message process
Remove useless trace message emitted each time SCP-firmware successfully processes an SCMI message.
Reviewed-by: Jens Wiklander <jens.w
pta: scmi: remove noisy info level message on message process
Remove useless trace message emitted each time SCP-firmware successfully processes an SCMI message.
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| #
3bc3809a |
| 13-Jan-2023 |
Etienne Carriere <etienne.carriere@linaro.org> |
core: pta: scmi: fix typo in open session test
Fixes a typo in config switch name CFG_SCMI_MSG_DRIVERS in SCMI PTA open session function.
Fixes: 7ff454421a8c ("core: pta: scmi: support SCP-firmware
core: pta: scmi: fix typo in open session test
Fixes a typo in config switch name CFG_SCMI_MSG_DRIVERS in SCMI PTA open session function.
Fixes: 7ff454421a8c ("core: pta: scmi: support SCP-firmware SCMI resources") Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| #
7ff45442 |
| 02-Dec-2022 |
Etienne Carriere <etienne.carriere@linaro.org> |
core: pta: scmi: support SCP-firmware SCMI resources
Updates SCMI PTA to use SCP-firmware resources when CFG_SCMI_SCPFW=y.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Jerome Fori
core: pta: scmi: support SCP-firmware SCMI resources
Updates SCMI PTA to use SCP-firmware resources when CFG_SCMI_SCPFW=y.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| #
8b7eff36 |
| 17-Jun-2022 |
Etienne Carriere <etienne.carriere@linaro.org> |
core: pta: scmi: simplify scmi-msg case in open session
Allows session opening when CFG_SCMI_MSG_DRIVERS is enabled instead of testing the 2 possible scmi-msg transport protocol config switches.
Ac
core: pta: scmi: simplify scmi-msg case in open session
Allows session opening when CFG_SCMI_MSG_DRIVERS is enabled instead of testing the 2 possible scmi-msg transport protocol config switches.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| #
16a5030f |
| 02-Dec-2022 |
Etienne Carriere <etienne.carriere@linaro.org> |
core: pta: scmi: internal switches for supported transports
Adds internal configuration switch _CFG_SMCI_PTA_SMT_HEADER and _CFG_SCMI_PTA_MSG_HEADER to specify which are supported. This change will
core: pta: scmi: internal switches for supported transports
Adds internal configuration switch _CFG_SMCI_PTA_SMT_HEADER and _CFG_SCMI_PTA_MSG_HEADER to specify which are supported. This change will ease integration of the alternate SCMI server build from SCP-firmware.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| #
46747ab4 |
| 16-Jun-2022 |
Ludvig Pärsson <ludvig.parsson@axis.com> |
core: pta: scmi: Add error checking for MSG message protocol
It is an error to use MSG_HEADER capability if it is not enabled in the config.
Signed-off-by: Ludvig Pärsson <ludvig.parsson@axis.com>
core: pta: scmi: Add error checking for MSG message protocol
It is an error to use MSG_HEADER capability if it is not enabled in the config.
Signed-off-by: Ludvig Pärsson <ludvig.parsson@axis.com> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| #
67b5f81b |
| 16-Jun-2022 |
Ludvig Pärsson <ludvig.parsson@axis.com> |
core: pta: scmi: Fix open_session for CFG_SCMI_MSG_SHM_MSG
Currently you have to enable CFG_SCMI_MSG_SMT, even if you only want to use CFG_SCMI_MSG_SHM_MSG, in order to open a session to the PTA.
S
core: pta: scmi: Fix open_session for CFG_SCMI_MSG_SHM_MSG
Currently you have to enable CFG_SCMI_MSG_SMT, even if you only want to use CFG_SCMI_MSG_SHM_MSG, in order to open a session to the PTA.
Signed-off-by: Ludvig Pärsson <ludvig.parsson@axis.com> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| #
8ea50d3b |
| 20-Apr-2022 |
Etienne Carriere <etienne.carriere@linaro.org> |
core: pta: scmi: new API to support MSG header communication protocol
in the SCMI PTA. Adds a new capability and a new command to the SCMI PTA API to support SCMI MSG header communication protocol.
core: pta: scmi: new API to support MSG header communication protocol
in the SCMI PTA. Adds a new capability and a new command to the SCMI PTA API to support SCMI MSG header communication protocol. Capability PTA_SCMI_CAPS_MSG_HEADER allows client and service to negotiate the desired transport configuration. Command PTA_SCMI_CMD_PROCESS_MSG_CHANNEL allows client to request processing of a message sent based on that message exchange protocol where input and output SCMI messages are exchange using OP-TEE shared memory references provided by the client.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| #
916cc52a |
| 29-Apr-2022 |
Etienne Carriere <etienne.carriere@linaro.org> |
drivers: scmi-msg: add SCMI MSG message protocol
Implements MSG header protocol to handle SCMI messages. MSG header protocol was introduced in Linux kernel v5.15 [1]. It relies on normal cached shar
drivers: scmi-msg: add SCMI MSG message protocol
Implements MSG header protocol to handle SCMI messages. MSG header protocol was introduced in Linux kernel v5.15 [1]. It relies on normal cached shared memory buffer using a 32bit header followed by the SCMI message payload.
To support this message interface, the SCMI PTA defines a new capability and a new command. Capability PTA_SCMI_CAPS_MSG_HEADER allows client and service to negotiate the desired transport configuration. Command PTA_SCMI_CMD_PROCESS_MSG_CHANNEL allows client to request processing of a message sent based on that message exchange protocol.
Platforms shall enable configuration switch CFG_SCMI_MSG_SHM_MSG to have their SCMI service supporting that communication protocol.
Link: [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f301bba0ca7392d16a6ea4f1d264a91f1fadea1a Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| #
d7b5407f |
| 12-May-2021 |
Etienne Carriere <etienne.carriere@linaro.org> |
core: pta: scmi: fix missing threaded state of the channel
Enable SMT channel threaded state when SCMI PTA gets a channel. Before this fixup, Core panics when SCMI message is posted since the assert
core: pta: scmi: fix missing threaded state of the channel
Enable SMT channel threaded state when SCMI PTA gets a channel. Before this fixup, Core panics when SCMI message is posted since the assertion on channel threaded field value in scmi_smt_threaded_entry() when in debug mode.
Fixes: b0a1c2504aaf ("core: pta: scmi: new interface to REE SCMI agent") Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| #
b0a1c250 |
| 05-Apr-2021 |
Etienne Carriere <etienne.carriere@linaro.org> |
core: pta: scmi: new interface to REE SCMI agent
Adds a PTA interface to REE SCMI agents to get SCMI message communication channel for processing in OP-TEE SCMI server.
Currently implement supports
core: pta: scmi: new interface to REE SCMI agent
Adds a PTA interface to REE SCMI agents to get SCMI message communication channel for processing in OP-TEE SCMI server.
Currently implement supports for a SCMI server built with CFG_SCMI_MSG_SMT=y. The implementation is made so that an alternate SCMI server implementation can added.
Client gets SCMI channel capabilities with PTA_SCMI_CMD_CAPABILITIES. Client gets a handle for an SCMI channel with command PTA_SCMI_CMD_GET_CHANNEL_HANDLE. Client pushes SCMI messages with command PTA_SCMI_CMD_PROCESS_SMT_CHANNEL or PTA_SCMI_CMD_PROCESS_SMT_CHANNEL_MESSAGE.
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|