RTEMS | bsps/shared/nandpsu: Invalidate page cache on erase (!1522)

Kinsey Moore (@opticron) gitlab at rtems.org
Mon Oct 5 13:38:50 UTC 2026



Kinsey Moore created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1522

Project:Branches: opticron/rtems:brmain-nandpsu-erase-invalidate to rtems/rtos/rtems:main
Author: Kinsey Moore
Assignee: Kinsey Moore

## Summary

bsps/shared/nandpsu: Invalidate page cache on erase

When the opportunistic page cache was added, invalidation was only added
for writes. This could result in bad behavior under certain access
patterns where a read is used to verify an erase. This change ensures
that the page cache is invalidated on block erasure.

The second patch reduces the invalidation footprint to what is actually necessary instead of being overbroad.


## Generative AI

<!-- If you have used AI please use the "AI Contribution" template otherwise leave this blank see our fulls statement at https://www.rtems.org/generative-ai/-->


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1522
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/namespace/49/sent_notifications/6-47hem24tz12s4xlt5f2h5xdhk-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20261005/02677e13/attachment.htm>


More information about the bugs mailing list