[PATCH v5 02/16] firmware: scmi: use a protocol's own channel if assigned
Etienne CARRIERE - foss
etienne.carriere at foss.st.com
Thu Oct 5 09:07:20 CEST 2023
> From: U-Boot <u-boot-bounces at lists.denx.de> on behalf of AKASHI Takahiro <takahiro.akashi at linaro.org>
> Sent: Tuesday, September 26, 2023 8:57 AM
>
> SCMI specification allows any protocol to have its own channel for
> the transport. While the current SCMI driver may assign its channel
> from a device tree, the core function, devm_scmi_process_msg(), doesn't
> use a protocol's channel, but always use an agent's channel.
>
> With this commit, devm_scmi_process_msg() tries to find and use
> a protocol's channel. If it doesn't exist, use an agent's.
>
> Signed-off-by: AKASHI Takahiro <takahiro.akashi at linaro.org>
> ---
> v5
> * new commit (fixing a potential bug)
> ---
> drivers/firmware/scmi/mailbox_agent.c | 5 +++--
> drivers/firmware/scmi/optee_agent.c | 5 +++--
> drivers/firmware/scmi/scmi_agent-uclass.c | 7 ++++---
> drivers/firmware/scmi/smccc_agent.c | 5 +++--
> include/scmi_agent-uclass.h | 8 +++++---
> 5 files changed, 18 insertions(+), 12 deletions(-)
>
Reviewed-by: Etienne Carriere <etienne.carriere at foss.st.com>
Thanks for addressing this protocol channel issue.
BR,
Etienne
More information about the U-Boot
mailing list