cpsie f instruction not reflected in FAULTMASK
Bug #913925 reported by
Arie
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro QEMU |
Fix Released
|
Low
|
Unassigned |
Bug Description
When the "cpsie f" instruction is issued, it is not reflected in the FAULTMASK register. The "cpsie i" instruction does work correctly and is immediately reflected in the PRIMASK register. The behavior is the same in privileged thread mode and in handler mode.
I am using CodeSourcery GCC v4.6.1 and qemu-linaro 2011.12.
I used the following instructions from the svc handler.
cpsie f
mrs r0, FAULTMASK
r0 should then hold 0, but it holds 1.
FAULTMASK can be set to 0 using the msr instruction.
Changed in qemu-linaro: | |
status: | In Progress → Fix Committed |
milestone: | none → 2012.02 |
Changed in qemu-linaro: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
You don't say so explicitly, but this is M profile specific. M profile is very low priority for Linaro, but luckily for you this bug is trivial to fix :-)