Arm Community
Site
Search
User
Site
Search
User
Support forums
Architectures and Processors forum
How does ARM11 respond to a non-secure interrupt in secure mode?
Jump...
Cancel
State
Accepted Answer
+2
person also asked this
people also asked this
Locked
Locked
Replies
2 replies
Subscribers
351 subscribers
Views
5815 views
Users
0 members are here
Arm11
Interrupt
Options
Share
More actions
Cancel
Related
How was your experience today?
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
How does ARM11 respond to a non-secure interrupt in secure mode?
Dong Luo
over 12 years ago
Note: This was originally posted on 19th March 2009 at
http://forums.arm.com
Hi All,
Assuming that ARM11 is running a secure process and receives a non-secure IRQ or FIQ, how does ARM11 respond to a non-secure interrupt? What should hardware do? And, what should software do? How does ARM11 guarantee that data of secure world not expose to the non-secure interrupt? Can anybody clarify the above questions? Thanks.
Top replies
Peter Harris
over 12 years ago
+1
verified
Note: This was originally posted on 19th March 2009 at http://forums.arm.com It depends on the configuration of the Secure Configuration Register set by the Secure World code, and the status of the I and...
Parents
+1
Peter Harris
over 12 years ago
Note: This was originally posted on 19th March 2009 at
http://forums.arm.com
It depends on the configuration of the Secure Configuration Register set by the Secure World code, and the status of the I and F interrupt masks in the CPSR when running in the Secure World.
> How does ARM11 guarantee that data of secure world not expose to the non-secure interrupt?
The hardware enforces banking of critical CP14/15 registers - but the software is responsible for security of the general purpose registers (and VFP, etc). The hardware will just route the interrupt to monitor mode if that is how the SCR is configured - monitor mode software must ensure that no secure data in registers leaks across to the normal world.
Cancel
Vote up
+1
Vote down
Cancel
Reply
+1
Peter Harris
over 12 years ago
Note: This was originally posted on 19th March 2009 at
http://forums.arm.com
It depends on the configuration of the Secure Configuration Register set by the Secure World code, and the status of the I and F interrupt masks in the CPSR when running in the Secure World.
> How does ARM11 guarantee that data of secure world not expose to the non-secure interrupt?
The hardware enforces banking of critical CP14/15 registers - but the software is responsible for security of the general purpose registers (and VFP, etc). The hardware will just route the interrupt to monitor mode if that is how the SCR is configured - monitor mode software must ensure that no secure data in registers leaks across to the normal world.
Cancel
Vote up
+1
Vote down
Cancel
Children
No data