Re: [PATCH v2 0/6] powerpc/pkeys: fixes to pkeys

2018-06-25 Thread Ram Pai
On Sun, Jun 24, 2018 at 01:02:50AM +1000, Michael Ellerman wrote: > Ram Pai writes: > > On Thu, Jun 21, 2018 at 08:28:47PM +1000, Michael Ellerman wrote: > >> Florian Weimer writes: > >> > On 06/19/2018 02:40 PM, Michael Ellerman wrote: > >> >>> I tested the whole series with the new selftests, w

Re: [PATCH v2 0/6] powerpc/pkeys: fixes to pkeys

2018-06-23 Thread Michael Ellerman
Ram Pai writes: > On Thu, Jun 21, 2018 at 08:28:47PM +1000, Michael Ellerman wrote: >> Florian Weimer writes: >> > On 06/19/2018 02:40 PM, Michael Ellerman wrote: >> >>> I tested the whole series with the new selftests, with the printamr.c >> >>> program I posted earlier, and the glibc test for p

Re: [PATCH v2 0/6] powerpc/pkeys: fixes to pkeys

2018-06-21 Thread Ram Pai
On Thu, Jun 21, 2018 at 08:28:47PM +1000, Michael Ellerman wrote: > Florian Weimer writes: > > > On 06/19/2018 02:40 PM, Michael Ellerman wrote: > >>> I tested the whole series with the new selftests, with the printamr.c > >>> program I posted earlier, and the glibc test for pkey_alloc &c. The >

Re: [PATCH v2 0/6] powerpc/pkeys: fixes to pkeys

2018-06-21 Thread Michael Ellerman
Florian Weimer writes: > On 06/19/2018 02:40 PM, Michael Ellerman wrote: >>> I tested the whole series with the new selftests, with the printamr.c >>> program I posted earlier, and the glibc test for pkey_alloc &c. The >>> latter required some test fixes, but now passes as well. As far as I >>>

Re: [PATCH v2 0/6] powerpc/pkeys: fixes to pkeys

2018-06-20 Thread Florian Weimer
On 06/19/2018 02:40 PM, Michael Ellerman wrote: I tested the whole series with the new selftests, with the printamr.c program I posted earlier, and the glibc test for pkey_alloc &c. The latter required some test fixes, but now passes as well. As far as I can tell, everything looks good now. Te

Re: [PATCH v2 0/6] powerpc/pkeys: fixes to pkeys

2018-06-19 Thread Michael Ellerman
Florian Weimer writes: > On 06/14/2018 02:28 AM, Ram Pai wrote: >> 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.

Re: [PATCH v2 0/6] powerpc/pkeys: fixes to pkeys

2018-06-14 Thread Florian Weimer
On 06/14/2018 02:28 AM, Ram Pai wrote: 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 Execute-only key is preallocated.

[PATCH v2 0/6] powerpc/pkeys: fixes to pkeys

2018-06-13 Thread Ram Pai
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 Execute-only key is preallocated. Patch 5 Makes pkey-0 less special. Patc