SPINTCRITICAL Tests
Joel Sherrill
joel at rtems.org
Fri Mar 11 15:16:59 UTC 2016
On Fri, Mar 11, 2016 at 4:21 AM, Ángel Esquinas Fernández <
aesquinas at fentiss.com> wrote:
>
> Hi all,
>
> I have been testing a rtems 4.11 for ARM based platform. But I found that
> the spintcritical test are failing.
>
> Which one? And which BSP?
> I studied the test and the execution and I found that the test expect that
> THREAD_WAIT_STATE_INTEND_TO_BLOCK was set in thread wait flags.
> But i found that THREAD_WAIT_STATE_BLOCKED is set instead.
> So the test execution doesn’t stop.
>
> These are defined in rtems/cpukit/score/include/rtems/score/statesimpl.h
> I haven’t found information about these flags,
> Could you help me with those flags and what it is the behaviour expected?
>
> Without knowing the exact test, it is hard to say beyond the test is
trying to
cause an interrupt that unblocks a task (maybe releases a resource) while
a task is attempting to block (maybe on the same resource).
The exact combination of task level and ISR level actions vary by task.
Also some of the spintrcritical tests are hard to get to trigger the
conditions. The
tests are trying to generate an interrupt that occurs during a relatively
small
window.
--joel
> Thanks in advance
>
> Best regards,
> Angel
>
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20160311/2896e697/attachment-0002.html>
More information about the users
mailing list