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
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
126 subscribers
Views
1562 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
Suggested Answer
DS-5 bare metal wait error after run "debug"
0
DS-5 Development Studio
Debugging
Arm Compiler 5
Memory
31025
views
14
replies
Latest
3 months ago
by
prasadghole
Suggested Answer
ARM development studio with ARM Juno r2 board
0
Juno Arm Development Platform
Arm Development Studio
Products
Arm Support
8170
views
2
replies
Latest
3 months ago
by
Ronan Synnott
Answered
"Unable to execute remote query (response code 503) " issue
0
7898
views
1
reply
Latest
3 months ago
by
Ronan Synnott
Not Answered
Where can I download DS-5 hardware firmware??
0
7376
views
1
reply
Latest
3 months ago
by
Ronan Synnott
Not Answered
Getting errors after including arm_math.h
0
stm32 h7
Keil
Digital Signal Processor (DSP)
STM32
27248
views
9
replies
Latest
4 months ago
by
roger-liu
<
>
View all questions in Arm Development Studio forum