Skip to content

Commit 79195f3

Browse files
Per LarsenMarc Zyngier
authored andcommitted
KVM: arm64: Mark FFA_NOTIFICATION_* calls as unsupported
Prevent FFA_NOTIFICATION_* interfaces from being passed through to TZ. Acked-by: Will Deacon <will@kernel.org> Signed-off-by: Per Larsen <perlarsen@google.com> Signed-off-by: Marc Zyngier <maz@kernel.org>
1 parent 6f4c348 commit 79195f3

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

  • arch/arm64/kvm/hyp/nvhe

arch/arm64/kvm/hyp/nvhe/ffa.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -670,6 +670,14 @@ static bool ffa_call_supported(u64 func_id)
670670
case FFA_RXTX_MAP:
671671
case FFA_MEM_DONATE:
672672
case FFA_MEM_RETRIEVE_REQ:
673+
/* Optional notification interfaces added in FF-A 1.1 */
674+
case FFA_NOTIFICATION_BITMAP_CREATE:
675+
case FFA_NOTIFICATION_BITMAP_DESTROY:
676+
case FFA_NOTIFICATION_BIND:
677+
case FFA_NOTIFICATION_UNBIND:
678+
case FFA_NOTIFICATION_SET:
679+
case FFA_NOTIFICATION_GET:
680+
case FFA_NOTIFICATION_INFO_GET:
673681
return false;
674682
}
675683

0 commit comments

Comments
 (0)