diff options
author | Kirill A. Shutemov <kirill@shutemov.name> | 2009-09-25 08:40:49 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-10-02 17:34:32 -0400 |
commit | d25ef8b86e6a58f5476bf6e4a8da730b335f68fa (patch) | |
tree | 2d7773ed145ace0f93d7a11ee9f738a4df4be14f /README | |
parent | 4fb2847437d871fe579f820ceb18031db3359901 (diff) |
ARM: 5728/1: Proper prefetch abort handling on ARMv6 and ARMv7
Currently, on ARMv6 and ARMv7, if an application tries to execute
code (or garbage) on non-executable page it hangs. It caused by
incorrect prefetch abort handling. Now every prefetch abort
processes as a translation fault.
To fix this we have to analyze instruction fault status register
to figure out reason why we've got the abort and process it
accordingly.
To make IFSR different from DFSR we set bit 31 which is reserved in
both IFSR and DFSR.
This patch also tries to protect from future hangs on unexpected
exceptions. An application will be killed if unexpected exception
type was received.
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions