diff options
author | Stefan Kristiansson | 2014-07-03 19:46:40 +0200 |
---|---|---|
committer | Stafford Horne | 2016-12-12 15:10:26 +0100 |
commit | cdb75442fedff8cc3ddedbe6e41d00b471634e17 (patch) | |
tree | 5806594b87c978f1aacb7a69ce0e37c4c77aedc5 /firmware/bnx2/bnx2-mips-09-6.2.1a.fw.ihex | |
parent | openrisc: Updates after openrisc.net has been lost (diff) | |
download | kernel-qcow2-linux-cdb75442fedff8cc3ddedbe6e41d00b471634e17.tar.gz kernel-qcow2-linux-cdb75442fedff8cc3ddedbe6e41d00b471634e17.tar.xz kernel-qcow2-linux-cdb75442fedff8cc3ddedbe6e41d00b471634e17.zip |
openrisc: include l.swa in check for write data pagefault
During page fault handling we check the last instruction to understand
if the fault was for a read or for a write. By default we fall back to
read. New instructions were added to the openrisc 1.1 spec for an
atomic load/store pair (l.lwa/l.swa).
This patch adds the opcode for l.swa (0x33) allowing it to be treated as
a write operation.
Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
[shorne@gmail.com: expanded a bit on the comment]
Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'firmware/bnx2/bnx2-mips-09-6.2.1a.fw.ihex')
0 files changed, 0 insertions, 0 deletions