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.haa...@intel.com> > --- > drivers/event/sw/sw_evdev_selftest.c | 132 +++++++++++++++++++++++++++ > 1 file changed, 132 insertions(+)
Acked-by: Bruce Richardson <bruce.richard...@intel.com>