Skip to content

Commit 8d24683

Browse files
Per LarsenMarc Zyngier
authored andcommitted
KVM: arm64: Mark optional FF-A 1.2 interfaces as unsupported
Mark FF-A 1.2 interfaces as unsupported lest they get proxied. 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 79195f3 commit 8d24683

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • arch/arm64/kvm/hyp/nvhe

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -678,6 +678,11 @@ static bool ffa_call_supported(u64 func_id)
678678
case FFA_NOTIFICATION_SET:
679679
case FFA_NOTIFICATION_GET:
680680
case FFA_NOTIFICATION_INFO_GET:
681+
/* Optional interfaces added in FF-A 1.2 */
682+
case FFA_MSG_SEND_DIRECT_REQ2: /* Optional per 7.5.1 */
683+
case FFA_MSG_SEND_DIRECT_RESP2: /* Optional per 7.5.1 */
684+
case FFA_CONSOLE_LOG: /* Optional per 13.1: not in Table 13.1 */
685+
case FFA_PARTITION_INFO_GET_REGS: /* Optional for virtual instances per 13.1 */
681686
return false;
682687
}
683688

0 commit comments

Comments
 (0)