]> sourceware.org Git - glibc.git/commit
POWER: Add context-synchronizing instructions to pkey_write [BZ #25954]
authorFlorian Weimer <fweimer@redhat.com>
Mon, 11 May 2020 09:20:02 +0000 (11:20 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 11 May 2020 14:11:47 +0000 (16:11 +0200)
commite627106266ad8785457fadbf5bf67ed604d2a353
tree39296463b2d7b64c06c672fecfbe64bc9a1bfeef
parent61416e19218605a54e94edd9740bbe9d2785af6d
POWER: Add context-synchronizing instructions to pkey_write [BZ #25954]

Sandipan Das reported that,

"The Power ISA mandates that all writes to the Authority
Mask Register (AMR) must always be preceded as well as
succeeded by a context-synchronizing instruction. This
applies to both the privileged and unprivileged variants
of the Move To AMR instruction.

This [requirement] is from Table 6 of Chapter 11 in page 1134 of Power
ISA 3.0B. The document can be found here:
<https://ibm.ent.box.com/s/1hzcwkwf8rbju5h9iyf44wm94amnlcrv>
"

See this kernel patch submission:

<https://lore.kernel.org/linuxppc-dev/5f65cf37be993760de8112a88da194e3ccbb2bf8.1588959697.git.sandipan@linux.ibm.com/>
sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-pkey.h
This page took 0.042686 seconds and 5 git commands to generate.