fix(ff-a): report SRI unsupported to secure partitions

The `FFA_FEATURES` ABI allows querying support for the "schedule
receiver" interrupt on FF-A version 1.1 or greater from the normal
world. This is useful for the hypervisor or OS kernel running as the
normal world, but not for secure partitions. Therefore, return
`FFA_NOT_SUPPORTED` if the query is from an SP.

Change-Id: Id7989d749963b7343432452b5071f8369bc90338
Signed-off-by: Karl Meakin <karl.meakin@arm.com>
diff --git a/src/api.c b/src/api.c
index 196c8e7..fcaee80 100644
--- a/src/api.c
+++ b/src/api.c
@@ -2543,6 +2543,9 @@
 	case FFA_FEATURE_NPI:
 		return api_ffa_feature_success(HF_NOTIFICATION_PENDING_INTID);
 	case FFA_FEATURE_SRI:
+		if (!ffa_is_vm_id(current->vm->id)) {
+			return ffa_error(FFA_NOT_SUPPORTED);
+		}
 		return api_ffa_feature_success(HF_SCHEDULE_RECEIVER_INTID);
 #endif
 	/* Platform specific feature support. */