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

   
   ## Summary
   
   I have a case where I want to do a very quick warm reboot without going 
through a bootloader, by just entering nuttx
   __start again. This works fine, except that GICv3 initialization may leave 
interrupts active.
   
   The warm reboot case can be fixed by simply disabling all interrupts at 
GICv3 initialization, which is implemented in this PR:
   
   - In case of warm reboot, clear active and pending interrupts from GICv3 and 
also from the CPU interface.
   - Fix default IGROUPMODR to the reset value (0)
   - Move gic_wait_rwp calls to after modifying ICENABLER
   - Improve some comments
   
   ## Impact
   
   Impacts arm64 boot, GICv3 initialization. Ensures that there are not active 
or pending interrupts left after GIC init.
   
   ## Testing
   
   Tested on IMX93 platform in SMP and in single core cases.
   


-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to