feat(hftest): add service endpoint helpers

Several helper utilities are added for service SPs. These will be
leveraged to build tests to exercise secure interrupt handling in
upcoming patches.

Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
Change-Id: I6368984a707c0ac35bc6a291849db183258ec16d
diff --git a/inc/vmapi/hf/call.h b/inc/vmapi/hf/call.h
index 3ec64dd..66e00a2 100644
--- a/inc/vmapi/hf/call.h
+++ b/inc/vmapi/hf/call.h
@@ -364,6 +364,16 @@
 }
 
 /**
+ * Deactivate the physical interrupt.
+ *
+ * Returns 0 on success, or -1 otherwise.
+ */
+static inline int64_t hf_interrupt_deactivate(uint32_t intid)
+{
+	return hf_call(HF_INTERRUPT_DEACTIVATE, intid, intid, 0);
+}
+
+/**
  * Injects a virtual interrupt of the given ID into the given target vCPU.
  * This doesn't cause the vCPU to actually be run immediately; it will be taken
  * when the vCPU is next run, which is up to the scheduler.