[PATCH v2] KVM: arm64: FFA: Release hyp rx buffer

Marc Zyngier maz at kernel.org
Tue Jun 11 11:49:06 PDT 2024


On Tue, 11 Jun 2024 18:53:17 +0100, Vincent Donnefort wrote:
> According to the FF-A spec (Buffer states and ownership), after a
> producer has written into a buffer, it is "full" and now owned by the
> consumer. The producer won't be able to use that buffer, until the
> consumer hands it over with an invocation such as RX_RELEASE.
> 
> It is clear in the following paragraph (Transfer of buffer ownership),
> that MEM_RETRIEVE_RESP is transferring the ownership from producer (in
> our case SPM) to consumer (hypervisor). RX_RELEASE is therefore
> mandatory here.
> 
> [...]

Applied to fixes, thanks!

[1/1] KVM: arm64: FFA: Release hyp rx buffer
      commit: d66e50beb91114f387bd798a371384b2a245e8cc

Cheers,

	M.
-- 
Without deviation from the norm, progress is not possible.





More information about the linux-arm-kernel mailing list