Skip to content
Snippets Groups Projects
Select Git revision
  • cdb75442fedff8cc3ddedbe6e41d00b471634e17
  • imx_render_flag_v1 default
  • panfrost_boris
  • eze_rock-pi-4
  • msm_in_fence_put_v3_v4.14.85
  • virtio_fences_v5
  • virtio_fences_v4
  • virtio_fences_v3
  • virtio_fences_v2
9 results

linux

user avatar
Stefan Kristiansson authored
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: default avatarStefan Kristiansson <stefan.kristiansson@saunalahti.fi>
[shorne@gmail.com: expanded a bit on the comment]
Signed-off-by: default avatarStafford Horne <shorne@gmail.com>
cdb75442
History
Name Last commit Last update