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

From: Anshuman Khandual
Date: Tue Jun 20 2017 - 02:26:26 EST


On 06/17/2017 09:22 AM, Ram Pai wrote:
> Added test support for PowerPC implementation off protection keys.
>
> Signed-off-by: Ram Pai <linuxram@xxxxxxxxxx>

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. That looks pretty
hacky. We need to change them to generic names first before
adding both x86 and powerpc procedures inside it.