Re: [PATCH 2/2] Detect instruction fetch denied and report

2016-08-22 Thread Balbir Singh
On Mon, Aug 22, 2016 at 11:35:36AM +0530, Aneesh Kumar K.V wrote: > 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() > > >

Re: [PATCH 2/2] Detect instruction fetch denied and report

2016-08-21 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() > But what does the error mean ? A buggy application ? IIUC, it indicate a buggy

[PATCH 2/2] Detect instruction fetch denied and report

2016-08-21 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 | 4 1 file changed, 4 insertions(+) diff --gi