cpsie f instruction not reflected in FAULTMASK

Bug #913925 reported by Arie
6
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.

Revision history for this message
Peter Maydell (pmaydell) wrote :

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 :-)

Revision history for this message
Peter Maydell (pmaydell) wrote :
Changed in qemu-linaro:
importance: Undecided → Low
status: New → In Progress
Peter Maydell (pmaydell)
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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.