Skip to content

Add cache maintenance regs and simple API for inner cache maintenance #40

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

robamu
Copy link
Contributor

@robamu robamu commented Jun 23, 2025

still needs to be tested, and I might add the API which cleans/invalidates by virtual address as well because it is required for range based cleaning/invalidation

@robamu
Copy link
Contributor Author

robamu commented Jun 23, 2025

@jonathanpallant I wrote the API with systems in mind where the cache geometry/paramters are fixed.. But maybe it would be a good idea to be able to read these geometry parameters from the corresponding CP15 registers as well? then, an alternative API for the high level clean/invalidate API which expects these geometry parameters would probably be a good idea as well..

@robamu robamu changed the title Add cache maintenance regs Add cache maintenance regs and simple API for inner cache maintenance Jun 23, 2025
@jonathanpallant
Copy link
Contributor

I'm OK with starting out only supporting people who know precisely which chip they are running on.

@robamu robamu force-pushed the add-cache-maintenance-regs branch from d8e3517 to 09b91d2 Compare June 25, 2025 17:59
@robamu robamu force-pushed the add-cache-maintenance-regs branch from 09b91d2 to b6e4468 Compare June 25, 2025 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants