blob: a32726edef414cb16b9762ca27eb85d704420280 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
ARMv7 LPAE: IFSR doesn't have the LPAE bit in case of BKPT
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: 48ae1f60d8c9a770e6da64407984d84e25253c69
Ubuntu verison: 16.04 LTS
Cross Compiler: gcc linaro 6.3.1-2017.02-x86_64_arm-eabi
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.
thanks Peter ! Any news on the review ?
The patches are in master now.
Hi Peter,
we tested the fix and it work correctly now, thank you very much !
|