ARMv7 LPAE: IFSR doesn't have the LPAE bit in case of BKPT
Bug #1756927 reported by
Vincent Siles
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| QEMU |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
When a user application triggers a 'bkpt' instruction while LPAE is used, the bit [9] of IFSR is not correctly set during the prefetch abort exception.
You'll find attached a minimal example to reproduce the issue (just run 'make all').
The output I get is:
supervisor
user
prefetch
short-descriptor
The last entry should read 'long-descriptor'.
Qemu revision: 48ae1f60d8c9a77
Ubuntu verison: 16.04 LTS
Cross Compiler: gcc linaro 6.3.1-2017.
| tags: | added: arm |
| Changed in qemu: | |
| status: | Fix Committed → Fix Released |
To post a comment you must log in.

I've just sent this patchset:
http://<email address hidden>/
which should fix this bug and a couple of others that I noticed with our debug exception handling while I was doing that.