[PATCH v2 2/2] event/sw: add selftest for ordered history list
Bruce Richardson
bruce.richardson at intel.com
Thu Sep 14 13:13:43 CEST 2023
On Thu, Sep 14, 2023 at 11:58:52AM +0100, Harry van Haaren wrote:
> This commit adds a unit test for an issue identified
> where ordered history-list entries are not correctly
> cleared when the returned event is of op RELEASE type.
>
> The result of the history-list bug is that a future event
> which re-uses that history-list slot, but has an op type
> of FORWARD will incorrectly be reordered.
>
> The existing unit-tests did not cover the RELEASE of an
> ORDERED queue, and then stress-test the history-list by
> iterating HIST_LIST times afterwards.
>
> Signed-off-by: Harry van Haaren <harry.van.haaren at intel.com>
> ---
> drivers/event/sw/sw_evdev_selftest.c | 132 +++++++++++++++++++++++++++
> 1 file changed, 132 insertions(+)
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
More information about the dev
mailing list