-
Notifications
You must be signed in to change notification settings - Fork 7.6k
fix regression due to #90305 #90867
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
fix regression due to #90305 #90867
Conversation
This reverts commit 983b1d0. Signed-off-by: Manuel Argüelles <[email protected]>
Hi @manuargue, would you be able to provide more details on where the regression was seen on? I am trying to understand if we could have caught this early. |
It was seen on the K3 board, because the region 0 is Reverting the changes in arm_mpu_regions.c is more preventive than anything else. We could bring this back but we need to make sure to map all other memory regions that need access, e.g. based on the architectural background region. I do not have many devices to test this though. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some nitpicks
This fixes a regression introduced in c316402 where all regions except Flash and RAM where left unmapped. Before introducing region 0 that prevents speculative access to the entire memory space, we were relying on the architectural background map to access them. Signed-off-by: Manuel Argüelles <[email protected]>
b577b0b
to
5866d6e
Compare
|
Address a regression introduced in #90305. While the intention was to avoid speculative access in the entire memory region, it overlooked the fact that many devices may rely on the architectural background region. Hence for now revert the change in
arm_mpu_regions.c
and address it only in the device where it was reported.