Skip to content
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

chips: apollo3: Enable the I and D cache #1989

Merged
merged 1 commit into from Jul 6, 2020

Conversation

alistair23
Copy link
Contributor

Pull Request Overview

This PR enables the I and D cache for the Apollo3.

Testing Strategy

Running on the board.

TODO or Help Wanted

Documentation Updated

  • Updated the relevant files in /docs, or no updates are required.

Formatting

  • Ran make prepush.

Copy link
Member

@ppannuto ppannuto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is probably a good thing, but I wouldn't be completely surprised if there are one or two tricky things with caching that we are getting wrong elsewhere in Tock, as I think this might be the first core that has a meaningful cache. It was only by chance that we added the barriers to the context switch code relatively recently.

This isn't meant to say "we shouldn't do this" in any way, simply that if there are weird bugs that start cropping up, it would be believable

chips/apollo3/src/lib.rs Outdated Show resolved Hide resolved
bradjc
bradjc previously approved these changes Jul 1, 2020
Signed-off-by: Alistair Francis <alistair@alistair23.me>
Copy link
Member

@ppannuto ppannuto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors r+

Thanks for doing the extra bitfield work here

@bors bors bot merged commit 6e269e9 into tock:master Jul 6, 2020
@alistair23 alistair23 deleted the alistair/cache branch July 6, 2020 15:48
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.

None yet

3 participants