Skip to content

Revert "sam_e70: enable instruction and data caches on sam_e70" #9688

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

Merged
merged 1 commit into from
Aug 28, 2018

Conversation

AdithyaBaglody
Copy link
Contributor

Reverts #9647

We need to revert this PR. seems to be breaking a few things inside sam e70.
We can recreate this PR once we understand how the cache is behaving when the MPU is turned on.
Currently all MPU regions always disable the cache. So when we enable the cache in soc init and disable them in the mpu regions init. We might be causing some issue.
Until root cause is found we should revert this.

This reverts commit c090776.

@codecov-io
Copy link

codecov-io commented Aug 28, 2018

Codecov Report

Merging #9688 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #9688   +/-   ##
=======================================
  Coverage   52.31%   52.31%           
=======================================
  Files         212      212           
  Lines       25937    25937           
  Branches     5589     5589           
=======================================
  Hits        13569    13569           
  Misses      10122    10122           
  Partials     2246     2246

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3b80998...00a5799. Read the comment docs.

@aurel32
Copy link
Collaborator

aurel32 commented Aug 28, 2018

If the recent MPU changes are causing the issue, I am not sure it is the best to revert this patch, at least before some more investigation is done. Some other platforms have cache + MPU enabled (e.g. I.MX RT) and thus might also be affected.

On the other hand if the SAM E70 platform is the only one affected, reverting this commit is probably the best to do.

@aurel32
Copy link
Collaborator

aurel32 commented Aug 28, 2018

Note that the issues are described in bug #9689.

@nashif nashif merged commit 511edf0 into zephyrproject-rtos:master Aug 28, 2018
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.

4 participants