acassis opened a new pull request, #20746:
URL: https://github.com/apache/nuttx/pull/20746

   ## Summary
   
   The RNG interrupt handler returned without clearing the clock error (CEIS) 
and seed error (SEIS) interrupt flags. These flags are cleared by writing zero, 
so the interrupt was asserted forever and the system was starved by an 
interrupt storm, for example when the RNG kernel clock (HSI48) is not enabled.
   
   Clear the flags in the handler. On a clock error abort the read with -EIO 
and report it; on a seed error restart the generator as described in the RM0433 
RNG error management.
   
   ## Impact
   
   This fix is need to avoid a driver like WiFi Halow getting keep locked 
waiting for entropy and make the system unresponsive. 
   
   ## Testing
   
   With WiFi Halow connecting to my Silex AP-150AH router


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to