OSDN Git Service

firmware: arm_ffa: Add initial FFA bus support for device enumeration
authorSudeep Holla <sudeep.holla@arm.com>
Fri, 21 May 2021 15:10:29 +0000 (16:10 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Wed, 26 May 2021 21:36:46 +0000 (22:36 +0100)
commite781858488b918e30a6ff28e9eab6058b787e3b3
treeaa4e4256df744f2af06d7a8a5c7b06a13513d7b6
parent3fdc0cb59d97f87e2cc708d424f1538e31744286
firmware: arm_ffa: Add initial FFA bus support for device enumeration

The Arm FF for Armv8-A specification has concept of endpoints or
partitions. In the Normal world, a partition could be a VM when
the Virtualization extension is enabled or the kernel itself.

In order to handle multiple partitions, we can create a FFA device for
each such partition on a dedicated FFA bus. Similarly, different drivers
requiring FFA transport can be registered on the same bus. We can match
the device and drivers using UUID. This is mostly for the in-kernel
users with FFA drivers.

Link: https://lore.kernel.org/r/20210521151033.181846-2-sudeep.holla@arm.com
Tested-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
MAINTAINERS
drivers/firmware/Kconfig
drivers/firmware/Makefile
drivers/firmware/arm_ffa/Kconfig [new file with mode: 0644]
drivers/firmware/arm_ffa/Makefile [new file with mode: 0644]
drivers/firmware/arm_ffa/bus.c [new file with mode: 0644]
include/linux/arm_ffa.h [new file with mode: 0644]