On Wed, 2017-07-12 at 11:37 +0530, Aneesh Kumar K.V wrote: > > So we need to test those errors early in do_page_fault(), > > I chose to generate a SIGBUS which is more correct than a SIGSEGV. > > This is true even for hash right ? If so do we want to update > do_hash_page: > #ifdef CONFIG_PPC_STD_MMU_64 > andis. r0,r4,0xa450 /* weird error? */ > bne- handle_page_fault /* if not, try to insert a HPTE */ > > that 0xa450 such that we add these errors and call hand_page_fault in > case of these DSISR values ?
Correct, I forgot about that one. I'll respin. Cheers, Ben.