Ram Pai writes:
> On Tue, Oct 24, 2017 at 11:55:41AM +0530, Aneesh Kumar K.V wrote:
>> Ram Pai writes:
>> > +
>> > +static void pkey_status_change(int pkey, bool enable)
>> > +{
>> > + u64 old_uamor;
>> > +
>> > + /* reset the AMR and IAMR bits for this key */
>> > + init_amr(pkey, 0x0);
>> >
On Tue, Oct 24, 2017 at 11:55:41AM +0530, Aneesh Kumar K.V wrote:
> Ram Pai writes:
>
> > Introduce helper functions that can initialize the bits in the AMR,
> > IAMR and UAMOR register; the bits that correspond to the given pkey.
> >
> > Signed-off-by: Ram Pai
> > ---
> > arch/powerpc/include
Ram Pai writes:
> Introduce helper functions that can initialize the bits in the AMR,
> IAMR and UAMOR register; the bits that correspond to the given pkey.
>
> Signed-off-by: Ram Pai
> ---
> arch/powerpc/include/asm/pkeys.h |1 +
> arch/powerpc/mm/pkeys.c | 46
> ++
On Wed, Oct 18, 2017 at 02:24:03PM +1100, Balbir Singh wrote:
> On Fri, 8 Sep 2017 15:44:53 -0700
> Ram Pai wrote:
>
> > Introduce helper functions that can initialize the bits in the AMR,
> > IAMR and UAMOR register; the bits that correspond to the given pkey.
> >
> > Signed-off-by: Ram Pai
On Fri, 8 Sep 2017 15:44:53 -0700
Ram Pai wrote:
> Introduce helper functions that can initialize the bits in the AMR,
> IAMR and UAMOR register; the bits that correspond to the given pkey.
>
> Signed-off-by: Ram Pai
> ---
> arch/powerpc/include/asm/pkeys.h |1 +
> arch/powerpc/mm/pkeys.
Introduce helper functions that can initialize the bits in the AMR,
IAMR and UAMOR register; the bits that correspond to the given pkey.
Signed-off-by: Ram Pai
---
arch/powerpc/include/asm/pkeys.h |1 +
arch/powerpc/mm/pkeys.c | 46 ++
2 files