diff options
author | Jens Wiklander <jens.wiklander@linaro.org> | 2024-04-11 13:57:32 +0100 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2024-04-15 16:55:54 +0100 |
commit | 2b9c66d1abacbef91bdadc47fa8b9a3bd3a8fe99 (patch) | |
tree | bf03659781da711c95a791da353a6b0d874eeabc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4cece764965020c22cff7665b18a012006359095 (diff) |
firmware: arm_ffa: Skip creation of the notification bitmaps
When the FF-A driver is running inside a guest VM under an hypervisor,
the driver/guest VM doesn't have the permission/capability to request
the creation of notification bitmaps. For a VM, the hypervisor reserves
memory for its VM and hypervisor framework notification bitmaps and the
SPMC reserves memory for its SP and SPMC framework notification bitmaps
before the hypervisor initializes it.
The hypervisor does not initialize a VM if memory cannot be reserved
for all its notification bitmaps. So the creation of all the necessary
bitmaps are already done when the driver initialises and hence it can be
skipped. We rely on FFA_FEATURES(FFA_NOTIFICATION_BITMAP_CREATE) to fail
when running in the guest to handle this in the driver.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Link: https://lore.kernel.org/r/20240411-ffa_npi_support-v2-1-927a670254e6@arm.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions