RTEMS | testsuites/validation: Fix interrupt priority validation on BSPs (!1254)

SHIVAM DEOLANKAR (@D3athSkulll) gitlab at rtems.org
Wed Jun 3 05:01:50 UTC 2026




SHIVAM DEOLANKAR commented on a discussion on testsuites/validation/tc-intr-set-priority.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1254#note_151637

 >    }
 >  
 >    sc = rtems_interrupt_set_priority( vector, priority );
 > +
 > +    /*
 > +    * Some BSPs support full uint32_t priority range
 > +    * UINT32_MAX may be valid. 
 > +    */ 
 > +    if ( !ctx->valid_priority && sc == RTEMS_SUCCESSFUL ){

I tried narrowing down the failing transaction `InvPrio`  by disabling it and the test passed clearly and then implemented current fix to preserve validation on BSPs. It should skip `RTEMS_INVALID_PRIORITY` validation path when `attr.maximum_priority == UINT32_MAX` since this is the case we are targeting.

This confirms the test is working after applying the fix resulting in `RtemsIntrReqSetPriority:F:0`, suite `F:0`

![image.png](/uploads/446602ee2a0967f1045e1e04e99b6064/image.png){width=900 height=589}

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1254#note_151637
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260603/643ec1c6/attachment.htm>


More information about the bugs mailing list