u-boot/drivers/firmware
Etienne Carriere 593eac9805 firmware: scmi: optee: use TEE shared memory for SCMI messages
Changes implementation when using TEE dynamically allocated shared
memory to synchronize with the Linux implementation where the legacy
SMT protocol cannot be used with such memory since it is expected from
device mapped memory whereas OP-TEE shared memory is cached and
hence should not be accessed using memcpy_toio()/memcpy_fromio().

This change implements the MSG shared memory protocol introduced
in Linux [1]. The protocol uses a simplified SMT header of 32bit
named MSG_SMT to carry SCMI protocol information and uses side channel
means to carry exchanged buffer size information, as TEE invocation API
parameters when used in the SCMI OP-TEE transport.

Link: [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f301bba0ca7392d16a6ea4f1d264a91f1fadea1a
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
2022-06-23 13:12:55 -04:00
..
scmi firmware: scmi: optee: use TEE shared memory for SCMI messages 2022-06-23 13:12:55 -04:00
firmware-sandbox.c dm: test: Add "/firmware" node scan test 2018-09-29 11:49:35 -06:00
firmware-uclass.c treewide: Simply conditions with the new OF_REAL 2021-09-25 09:46:15 -06:00
firmware-zynqmp.c firmware: firmware-zynqmp: Add zynqmp_pm_set_gem_config api 2022-04-05 15:13:13 +02:00
Kconfig firmware: add SCMI agent uclass 2020-09-30 11:55:23 -04:00
Makefile firmware: add SCMI agent uclass 2020-09-30 11:55:23 -04:00
psci.c psci: Do not define do_poweroff() if CONFIG_SYSRESET_CMD_POWEROFF is enabled 2021-07-26 09:18:45 +02:00
ti_sci.c firmware: ti_sci: Add support for Resoure Management at R5 SPL stage. 2021-06-11 19:18:52 +05:30
ti_sci.h firmware: ti_sci: Update ti_sci_msg_req_reboot to include domain 2021-05-27 14:53:14 +05:30
ti_sci_static_data.h firmware: ti_sci_static_data: add static DMA chan data 2022-06-10 13:37:32 -04:00