Arm Community
Site
Search
User
Site
Search
User
Groups
Arm Research
DesignStart
Education Hub
Graphics and Gaming
High Performance Computing
Innovation
Multimedia
Open Source Software and Platforms
Physical
Processors
Security
System
Software Tools
TrustZone for Armv8-M
中文社区
Blog
Announcements
Artificial Intelligence
Automotive
Healthcare
HPC
Infrastructure
Innovation
Internet of Things
Machine Learning
Mobile
Smart Homes
Wearables
Forums
All developer forums
IP Product forums
Tool & Software forums
Pelion IoT Platform
Support
Open a support case
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Developer Community
Tools and Software
Software Tools
Jump...
Cancel
Software Tools
Arm Development Studio forum
mmu page table
Tools, Software and IDEs blog
Forums
Videos & Files
Help
Jump...
Cancel
New
Replies
2 replies
Subscribers
127 subscribers
Views
1507 views
Users
0 members are here
Related
mmu page table
Offline
Pan Wei
over 7 years ago
Note: This was originally posted on 22nd April 2013 at http://forums.arm.com
hi
some question about MMU table.
background:
1.the CPU is ARM1176JS-Z.
2. L1 cache enabled
3.i want to enable MMU in bootloader, to simply it, i only introduce first-level page table.
4. the page table will not be changed after initialization
my question is that:
for the page table itself, where should i put it into? a cacheable area? or a noncacheable area? does MMU hardware access the page table through L1 cache?
both area(cacheable and noncacheable) i have tried, it looks both of them work.
i saw some other code put the page table into noncacheable area , so i want to know if it is must or not.
thanks in advances
BR
PanWei
Parents
Offline
Martin Weidmann
over 7 years ago
Note: This was originally posted on 22nd April 2013 at
http://forums.arm.com
The MMU can be configured either way, do walks through the L1 data cache or not.
For systems where you're modifying the tables frequently it can make sense to allow the MMU to do walks through the D cache. They way its working off the same cached copy as the code is using.
In your case, with static tables I wouldn't expect it to make much difference either way. I would probably mark the area as non-cachable and do non-cacheable table walks. That way I'd avoid polluting the d cache with table descriptors.
Cancel
Up
0
Down
Reply
Cancel
Reply
Offline
Martin Weidmann
over 7 years ago
Note: This was originally posted on 22nd April 2013 at
http://forums.arm.com
The MMU can be configured either way, do walks through the L1 data cache or not.
For systems where you're modifying the tables frequently it can make sense to allow the MMU to do walks through the D cache. They way its working off the same cached copy as the code is using.
In your case, with static tables I wouldn't expect it to make much difference either way. I would probably mark the area as non-cachable and do non-cacheable table walks. That way I'd avoid polluting the d cache with table descriptors.
Cancel
Up
0
Down
Reply
Cancel
Children
No data
More questions in this forum
By title
By date
By reply count
By view count
By most asked
By votes
By quality
Descending
Ascending
All recent questions
Unread questions
Questions you've participated in
Questions you've asked
Unanswered questions
Answered questions
Questions with suggested answers
Questions with no replies
Answered
Dual-core debugging in DS
0
82
views
2
replies
Latest
4 hours ago
by
Ivan Savvateev
Answered
Failure to get an evaluation license with error Unable to execute API call /api/v1/connect
0
1274
views
3
replies
Latest
5 days ago
by
Tim Holt
Suggested Answer
DS52020.0 connection to Musca-A/B boards not working
0
Arm Development Studio
Musca-A
2487
views
4
replies
Latest
7 days ago
by
Daniel Oliveira
Suggested Answer
Positioning a function in a Position Independent Executable for ARMV8
0
3462
views
3
replies
Latest
28 days ago
by
Stephen Theobald
Answered
Link a pure binary file to image with scatter file
0
3423
views
3
replies
Latest
28 days ago
by
Ronan Synnott
>
View all questions in Arm Development Studio forum