linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH  0/5] powerpc/pkeys: fixes to pkeys
@ 2018-06-05  2:09 Ram Pai
  2018-06-05  2:09 ` [PATCH 1/5] powerpc/pkeys: Enable all user-allocatable pkeys at init Ram Pai
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Ram Pai @ 2018-06-05  2:09 UTC (permalink / raw)
  To: mpe
  Cc: linuxppc-dev, dave.hansen, aneesh.kumar, bsingharora, hbabu,
	mhocko, bauerman, linuxram, Ulrich.Weigand, fweimer, luto

Assortment of fixes to pkey.

Patch 1  makes pkey consumable in multithreaded applications.

Patch 2  fixes fork behavior to inherit the key attributes.

Patch 3  A off-by-one bug made one key unusable. Fixes it.

Patch 4  Makes pkey-0 less special.

Ram Pai (5):
  powerpc/pkeys: Enable all user-allocatable pkeys at init.
  powerpc/pkeys: Save the pkey registers before fork
  powerpc/pkeys: fix calculation of total pkeys.
  powerpc/pkeys: Preallocate execute-only key
  powerpc/pkeys: make protection key 0 less special

 arch/powerpc/include/asm/pkeys.h |   29 ++++++++--
 arch/powerpc/kernel/process.c    |    1 +
 arch/powerpc/mm/pkeys.c          |  107 ++++++++++++++------------------------
 3 files changed, 64 insertions(+), 73 deletions(-)

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

end of thread, other threads:[~2018-06-12 12:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-05  2:09 [PATCH 0/5] powerpc/pkeys: fixes to pkeys Ram Pai
2018-06-05  2:09 ` [PATCH 1/5] powerpc/pkeys: Enable all user-allocatable pkeys at init Ram Pai
2018-06-05  2:09 ` [PATCH 2/5] powerpc/pkeys: Save the pkey registers before fork Ram Pai
2018-06-05  2:09 ` [PATCH 3/5] powerpc/pkeys: fix calculation of total pkeys Ram Pai
2018-06-05  2:09 ` [PATCH 4/5] powerpc/pkeys: Preallocate execute-only key Ram Pai
2018-06-05  2:09 ` [PATCH 5/5] powerpc/pkeys: make protection key 0 less special Ram Pai
2018-06-12 12:18   ` Florian Weimer

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 NNTP newsgroup(s).