[PATCH] firmware: arm_ffa: Skip Rx buffer ownership release if not acquired

Sudeep Holla sudeep.holla at arm.com
Tue Apr 8 03:19:47 PDT 2025


On Fri, 21 Mar 2025 11:57:00 +0000, Sudeep Holla wrote:
> Completion of the FFA_PARTITION_INFO_GET ABI transfers the ownership of
> the caller’s Rx buffer from the producer(typically partition mnager) to
> the consumer(this driver/OS). FFA_RX_RELEASE transfers the ownership
> from the consumer back to the producer.
> 
> However, when we set the flag to just return the count of partitions
> deployed in the system corresponding to the specified UUID while
> invoking FFA_PARTITION_INFO_GET, the Rx buffer ownership shouldn't be
> transferred to this driver. We must be able to skip transferring back
> the ownership to the partition manager when we request just to get the
> count of the partitions as the buffers are not acquired in this case.
> 
> [...]

Applied to sudeep.holla/linux (for-next/ffa/fixes), thanks!

[1/1] firmware: arm_ffa: Skip Rx buffer ownership release if not acquired
      https://git.kernel.org/sudeep.holla/c/4567bdaaaaa1
--
Regards,
Sudeep




More information about the linux-arm-kernel mailing list