test(ipi): FFA_NOTIFICATION_INFO_GET reports pending IPI
Expand the waiting ipi tests to call FFA_NOTIFICATION_INFO_GET
and check that the correctly report the pending IPI.
Signed-off-by: Daniel Boulby <daniel.boulby@arm.com>
Change-Id: I6540ab413c9e2ab312a8cacf9bee7dd174a89f13
diff --git a/inc/vmapi/hf/ffa.h b/inc/vmapi/hf/ffa.h
index f5fa1ec..397fce6 100644
--- a/inc/vmapi/hf/ffa.h
+++ b/inc/vmapi/hf/ffa.h
@@ -1087,6 +1087,7 @@
#define FFA_NOTIFICATIONS_LISTS_COUNT_MASK 0x1fU
#define FFA_NOTIFICATIONS_LIST_SHIFT(l) (2 * ((l) - 1) + 12)
#define FFA_NOTIFICATIONS_LIST_SIZE_MASK 0x3U
+#define FFA_NOTIFICATIONS_LIST_MAX_SIZE 0x4U
static inline uint32_t ffa_notification_info_get_lists_count(
struct ffa_value args)
@@ -1107,6 +1108,11 @@
return (args.arg2 & FFA_NOTIFICATIONS_INFO_GET_FLAG_MORE_PENDING) != 0U;
}
+void ffa_notification_info_get_and_check(
+ const uint32_t expected_lists_count,
+ const uint32_t *const expected_lists_sizes,
+ const uint16_t *const expected_ids);
+
/**
* A set of contiguous pages which is part of a memory region. This corresponds
* to table 10.14 of the FF-A v1.1 EAC0 specification, "Constituent memory