[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170621001055.GE5845@ram.oc3035372033.ibm.com>
Date: Tue, 20 Jun 2017 17:10:55 -0700
From: Ram Pai <linuxram@...ibm.com>
To: Anshuman Khandual <khandual@...ux.vnet.ibm.com>
Cc: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
dave.hansen@...el.com, paulus@...ba.org,
aneesh.kumar@...ux.vnet.ibm.com
Subject: Re: [RFC v2 12/12]selftest: Updated protection key selftest
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 <linuxram@...ibm.com>
>
> 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.
I have abstracted out the arch-specific code. References to
pkru should now be constricted to x86 code only.
The patch, i acknowledge, is not easily reviewable.
As Michael Ellermen mentioned I will break them into two patches.
One moves the file and the second does the code changes. That way
it will be easy to review.
RP
Powered by blists - more mailing lists