Re: [PATCH 22/25] powerpc: capture the violated protection key on fault

2017-10-24 Thread Michael Ellerman
Ram Pai writes: > diff --git a/arch/powerpc/include/asm/paca.h b/arch/powerpc/include/asm/paca.h > index 04b60af..51c89c1 100644 > --- a/arch/powerpc/include/asm/paca.h > +++ b/arch/powerpc/include/asm/paca.h > @@ -97,6 +97,9 @@ struct paca_struct { > struct dtl_entry *dispatch_log_end; >

[PATCH 22/25] powerpc: capture the violated protection key on fault

2017-09-08 Thread Ram Pai
Capture the protection key that got violated in paca. This value will be later used to inform the signal handler. Signed-off-by: Ram Pai --- arch/powerpc/include/asm/paca.h |3 +++ arch/powerpc/kernel/asm-offsets.c |5 + arch/powerpc/mm/fault.c | 11 ++- 3 files