Re: [PATCH 10/25] powerpc: store and restore the pkey state across context switches

2017-10-18 Thread Ram Pai
On Thu, Oct 19, 2017 at 10:00:38AM +1100, Balbir Singh wrote: > On Wed, 18 Oct 2017 13:47:05 -0700 > Ram Pai wrote: > > > On Wed, Oct 18, 2017 at 02:49:14PM +1100, Balbir Singh wrote: > > > On Fri, 8 Sep 2017 15:44:58 -0700 > > > Ram Pai wrote: > > >

Re: [PATCH 10/25] powerpc: store and restore the pkey state across context switches

2017-10-18 Thread Balbir Singh
On Wed, 18 Oct 2017 13:47:05 -0700 Ram Pai wrote: > On Wed, Oct 18, 2017 at 02:49:14PM +1100, Balbir Singh wrote: > > On Fri, 8 Sep 2017 15:44:58 -0700 > > Ram Pai wrote: > > > > > Store and restore the AMR, IAMR and UAMOR register state of the task

Re: [PATCH 10/25] powerpc: store and restore the pkey state across context switches

2017-10-18 Thread Ram Pai
On Wed, Oct 18, 2017 at 02:49:14PM +1100, Balbir Singh wrote: > On Fri, 8 Sep 2017 15:44:58 -0700 > Ram Pai wrote: > > > Store and restore the AMR, IAMR and UAMOR register state of the task > > before scheduling out and after scheduling in, respectively. > > > >

Re: [PATCH 10/25] powerpc: store and restore the pkey state across context switches

2017-10-17 Thread Balbir Singh
On Fri, 8 Sep 2017 15:44:58 -0700 Ram Pai wrote: > Store and restore the AMR, IAMR and UAMOR register state of the task > before scheduling out and after scheduling in, respectively. > > Signed-off-by: Ram Pai > --- > arch/powerpc/include/asm/pkeys.h

[PATCH 10/25] powerpc: store and restore the pkey state across context switches

2017-09-08 Thread Ram Pai
Store and restore the AMR, IAMR and UAMOR register state of the task before scheduling out and after scheduling in, respectively. Signed-off-by: Ram Pai --- arch/powerpc/include/asm/pkeys.h |4 +++ arch/powerpc/include/asm/processor.h |5