Re: [powerpc v6 2/3] Detect instruction fetch denied and report

2016-11-16 Thread Aneesh Kumar K.V
Balbir Singh writes: > ISA 3 allows for prevention of instruction fetch and execution > of user mode pages. If such an error occurs, SRR1 bit 35 > reports the error. We catch and report the error in do_page_fault() > > Signed-off-by: Balbir Singh > --- > arch/powerpc/mm/fault.c | 8 >

[powerpc v6 2/3] Detect instruction fetch denied and report

2016-11-14 Thread Balbir Singh
ISA 3 allows for prevention of instruction fetch and execution of user mode pages. If such an error occurs, SRR1 bit 35 reports the error. We catch and report the error in do_page_fault() Signed-off-by: Balbir Singh --- arch/powerpc/mm/fault.c | 8 1 file changed, 8 insertions(+) diff