Re: [RFC v2 12/12]selftest: Updated protection key selftest

2017-06-20 Thread Ram Pai
On Tue, Jun 20, 2017 at 11:56:04AM +0530, Anshuman Khandual wrote: > On 06/17/2017 09:22 AM, Ram Pai wrote: > > Added test support for PowerPC implementation off protection keys. > > > > Signed-off-by: Ram Pai > > First of all, there are a lot of instances where we use *pkru* > named functions o

Re: [RFC v2 12/12]selftest: Updated protection key selftest

2017-06-19 Thread Anshuman Khandual
On 06/17/2017 09:22 AM, Ram Pai wrote: > Added test support for PowerPC implementation off protection keys. > > Signed-off-by: Ram Pai First of all, there are a lot of instances where we use *pkru* named functions on power even the real implementations have taken care of doing appropriate things

Re: [RFC v2 12/12]selftest: Updated protection key selftest

2017-06-19 Thread Michael Ellerman
Ram Pai writes: > Added test support for PowerPC implementation off protection keys. > > Signed-off-by: Ram Pai > --- > tools/testing/selftests/vm/Makefile |1 + > tools/testing/selftests/vm/pkey-helpers.h | 365 +++ > tools/testing/selftests/vm/protection_keys.c | 1451

[RFC v2 12/12]selftest: Updated protection key selftest

2017-06-16 Thread Ram Pai
Added test support for PowerPC implementation off protection keys. Signed-off-by: Ram Pai --- tools/testing/selftests/vm/Makefile |1 + tools/testing/selftests/vm/pkey-helpers.h | 365 +++ tools/testing/selftests/vm/protection_keys.c | 1451 + tool