From a360a00096b9fbf046be846012cd020af79782fa Mon Sep 17 00:00:00 2001 From: Etienne Carriere Date: Mon, 30 Jan 2023 10:59:40 +0100 Subject: [PATCH] [review] core: notif: interrupt notification Clarify inline description of notif_itr_set_mask(), notif_itr_set_state() and notif_itr_set_wakeup() regarding input arguments being provided by normal world hence to sanitize before using. Signed-off-by: Etienne Carriere --- core/include/kernel/notif.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/include/kernel/notif.h b/core/include/kernel/notif.h index 9bf8a18886f..740a76aa4e8 100644 --- a/core/include/kernel/notif.h +++ b/core/include/kernel/notif.h @@ -206,10 +206,10 @@ void notif_itr_raise_event(struct notif_itr *notif); /* * Mask/unmask an interrupt notification * - * @itr_num Interrupt identifier + * @itr_num Interrupt identifier provided by normal world * @do_mask True to mask the event, false to unmask the event * - * This function is called from a fastcall context. + * This function is called from a fastcall context */ void notif_itr_set_mask(unsigned int itr_num, bool do_mask); @@ -267,7 +267,7 @@ TEE_Result notif_itr_unregister(struct notif_itr *notif); /* * Activate (enable) or deactivate (disable) an interrupt notification * - * @itr_num Interrupt identifier + * @itr_num Interrupt identifier provided by normal world * @do_enable True to enable the event detection, false disable it */ TEE_Result notif_itr_set_state(unsigned int itr_num, bool do_enable); @@ -275,7 +275,7 @@ TEE_Result notif_itr_set_state(unsigned int itr_num, bool do_enable); /* * Enable or disable the low power wakeup capability of the interrupt event * - * @itr_num Interrupt identifier + * @itr_num Interrupt identifier provided by normal world * @do_enable True to enable the event detection, false disable it */ TEE_Result notif_itr_set_wakeup(unsigned int itr_num, bool do_enable);