public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/25954] New: Missing content-synchronizing instructions in pkey_set on POWER
@ 2020-05-08 20:03 fweimer at redhat dot com
  2020-05-08 20:03 ` [Bug libc/25954] " fweimer at redhat dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: fweimer at redhat dot com @ 2020-05-08 20:03 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=25954

            Bug ID: 25954
           Summary: Missing content-synchronizing instructions in pkey_set
                    on POWER
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: fweimer at redhat dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---
            Target: powerpc64*
             Flags: security-

Sandipan Das reported this bug against the kernel protection key self-tests:

“
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
”

<https://lore.kernel.org/linuxppc-dev/5f65cf37be993760de8112a88da194e3ccbb2bf8.1588959697.git.sandipan@linux.ibm.com/>

We need to add these additonal instructions to the pkey_set implementation in
glibc, too.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-07-02 16:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-08 20:03 [Bug libc/25954] New: Missing content-synchronizing instructions in pkey_set on POWER fweimer at redhat dot com
2020-05-08 20:03 ` [Bug libc/25954] " fweimer at redhat dot com
2020-05-08 20:09 ` [Bug libc/25954] Missing context-synchronizing " fweimer at redhat dot com
2020-05-11 10:13 ` fweimer at redhat dot com
2020-05-11 22:05 ` tuliom at ascii dot art.br
2023-07-02 16:07 ` fweimer at redhat dot com
2023-07-02 16:08 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).