> -----Original Message----- > From: Shijith Thotton <[email protected]> > Sent: Tuesday, March 21, 2023 12:20 AM > To: Carrillo, Erik G <[email protected]>; [email protected] > Cc: Shijith Thotton <[email protected]>; [email protected]; > [email protected]; [email protected] > Subject: [PATCH v2] eventdev/timer: fix timeout event wait behavior > > Improved the accuracy and consistency of timeout event wait behavior by > refactoring it. Previously, the delay function used for waiting could be > inaccurate, leading to inconsistent results. This commit updates the wait > behavior to use a timeout-based approach, enabling the wait for the exact > number of timer ticks before proceeding. > > The new function timeout_event_dequeue mimics the behavior of the > tested systems closely. It dequeues timer expiry events until either the > expected number of events have been dequeued or the specified time has > elapsed. The WAIT_TICKS macro defines the waiting behavior based on the > type of timer being used (software or hardware). > > Fixes: d1f3385d0076 ("test: add event timer adapter auto-test") > > Signed-off-by: Shijith Thotton <[email protected]> Thanks for the update.
Acked-by: Erik Gabriel Carrillo <[email protected]>

