diff options
author | Peng Fan <peng.fan@nxp.com> | 2024-05-10 06:19:48 +0300 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2024-06-14 14:14:19 +0300 |
commit | fa8b28ba22d95be4d2dd3c37fbdbdc066af82941 (patch) | |
tree | bfabcdc187147392d97605336c17b8488f3b987d /Documentation/virt/acrn | |
parent | d0398f51ffb3f706f38b235c7bb17da8658e3392 (diff) | |
download | linux-fa8b28ba22d95be4d2dd3c37fbdbdc066af82941.tar.xz |
firmware: arm_scmi: Add support for platform to agent channel completion
On some systems the SCMI platform to agent(p2a) communication can be fully
interrupt driven. The notification(p2a) channel needs completion interrupt
to drive its notification queue at the platform. Without it, the platform
notification will not work as the platform will wait for agent indication
of clearing the channel via interrupt unlike few platforms which can poll
instead.
To support such systems, an optional unidirectional mailbox channel for
p2a reply communication. If the platform sets channel INTR flag set
indicating that it expects the agent to trigger the interrupt to acknowledge
the reciept of the notification or any p2a message, and the completion
interrupt channel is provided, send a mailbox message to the platform
after the p2a message is read and channel is freed to accept new
notifications or p2a messages.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20240510-scmi-notify-v2-2-e994cf14ef86@nxp.com
Reviewed-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'Documentation/virt/acrn')
0 files changed, 0 insertions, 0 deletions