Re: [PATCH] aarch64: Add memory clobber to pkey_write
Adhemerval Zanella Netto <[email protected]>
| Newsgroups | gmane.comp.lib.glibc.alpha |
|---|---|
| Organization | Linaro |
| Message-ID | <[email protected]> |
On 26/08/26 10:02, Yury Khrustalev wrote: > On Wed, Aug 26, 2026 at 09:53:08AM -0300, Adhemerval Zanella Netto wrote: >> >> On 26/08/26 09:41, Yury Khrustalev wrote: >>> Add memory clobber for writing to the POR_EL0 register since a change >>> to this register affects subsequent memory accesses. >>> >>> --- >>> Passes regression on aarch64. OK for trunk? >>> OK to backport to 2.44, 2.43, 2.42, 2.41? >>> >>> Base commit: 9c86ea03aa >> >> Should we open a bug report for this (and does it change the code >> generation for current wrappers)? > > What do you mean by "current wrappers"? The current callers of this function (pkey_set for now). > > It doesn't change code generation. I've checked GCC 12..trunk and LLVM trunk. > >> >> Reviewed-by: Adhemerval Zanella <[email protected]> > > Thanks!