hujun260 opened a new pull request, #18030: URL: https://github.com/apache/nuttx/pull/18030
## Summary Fix the RPMSG RTC driver's MPU region free operation by correcting the register write order. The hardware requires writing the limit register first as it contains the enable/disable bit for the region. ### Changes Made - Reorder register writes in `mpu_freeregion()` to write limit register before base register - Add clarifying comments explaining the hardware requirement - Ensure proper region disable operation during memory region cleanup ### Impact - **Stability**: Fixes potential issues with MPU region management in ARM64 - **Compatibility**: No breaking changes, only corrects hardware sequencing - **Code Quality**: Improves code clarity with better documentation ### Testing Tested on ARM64 platform with MPU configuration enabled. Fixes: None (Bug fix for register sequencing) ### Related Issues None -- 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]
