linux/drivers/firmware/arm_ffa
Sudeep Holla d43c3e4974 firmware: arm_ffa: Allow the FF-A drivers to use 32bit mode of messaging
[ Upstream commit 2d698e8b4f ]

An FF-A ABI could support both the SMC32 and SMC64 conventions.
A callee that runs in the AArch64 execution state and implements such
an ABI must implement both SMC32 and SMC64 conventions of the ABI.

So the FF-A drivers will need the option to choose the mode irrespective
of FF-A version and the partition execution mode flag in the partition
information.

Let us remove the check on the FF-A version for allowing the selection
of 32bit mode of messaging. The driver will continue to set the 32-bit
mode if the partition execution mode flag specified that the partition
supports only 32-bit execution.

Fixes: 106b11b1cc ("firmware: arm_ffa: Set up 32bit execution mode flag using partiion property")
Link: https://lore.kernel.org/r/20231005142823.278121-1-sudeep.holla@arm.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-20 11:52:03 +01:00
..
bus.c firmware: arm_ffa: Assign the missing IDR allocation ID to the FFA device 2023-11-20 11:52:03 +01:00
common.h firmware: arm_ffa: Setup in-kernel users of FFA partitions 2021-05-26 22:38:43 +01:00
driver.c firmware: arm_ffa: Allow the FF-A drivers to use 32bit mode of messaging 2023-11-20 11:52:03 +01:00
Kconfig firmware: arm_ffa: Add support for SMCCC as transport to FFA driver 2021-05-26 22:36:46 +01:00
Makefile firmware: arm_ffa: Add support for SMCCC as transport to FFA driver 2021-05-26 22:36:46 +01:00
smccc.c firmware: arm_ffa: Add support for SMCCC as transport to FFA driver 2021-05-26 22:36:46 +01:00