"Naveen N. Rao" <naveen.n....@linux.vnet.ibm.com> writes: > diff --git a/arch/powerpc/kernel/exceptions-64s.S > b/arch/powerpc/kernel/exceptions-64s.S > index ae418b85c17c..17ee701b8336 100644 > --- a/arch/powerpc/kernel/exceptions-64s.S > +++ b/arch/powerpc/kernel/exceptions-64s.S > @@ -1442,7 +1440,9 @@ do_hash_page: > > /* Here we have a page fault that hash_page can't handle. */ > handle_page_fault: > -11: ld r4,_DAR(r1) > + andis. r0,r4,DSISR_DABRMATCH@h > + bne- handle_dabr_fault
This broke hash. Please test hash! :) I added: @@ -1438,11 +1436,16 @@ do_hash_page: /* Error */ blt- 13f + + /* Reload DSISR into r4 for the DABR check below */ + ld r4,_DSISR(r1) #endif /* CONFIG_PPC_STD_MMU_64 */ /* Here we have a page fault that hash_page can't handle. */ handle_page_fault: cheers