ANDROID: KVM: arm64: Advertise support for FFA_RX_RELEASE

The guest FFA handler supports FFA_RX_RELEASE but do_ffa_guest_features
reports that it is unsupported. This can prevent guests from discovering
and using this API to return a transferred buffer to its original owner.
Enable support by adding FFA_RX_RELEASE case to the feature discovery
switch statement.

Bug: 269285339
Bug: 278749606
Change-Id: Iecaefedd51614cb81b82303e68fa8a759e579e50
Signed-off-by: Per Larsen <perlarsen@google.com>
This commit is contained in:
Per Larsen
2025-06-05 23:23:59 +00:00
committed by Per Larsen (xWF)
parent 5498b5fec4
commit 04458d9907

View File

@@ -938,6 +938,7 @@ static void do_ffa_guest_features(struct arm_smccc_res *res, struct kvm_cpu_cont
case FFA_FN64_MEM_SHARE:
case FFA_MEM_LEND:
case FFA_FN64_MEM_LEND:
case FFA_RX_RELEASE:
ret = FFA_RET_SUCCESS;
goto out_handled;
case FFA_RXTX_MAP: