On Tue, 22 Feb 2022 22:34:49 +1100, Michael Ellerman wrote: > Since commit 46ddcb3950a2 ("powerpc/mm: Show if a bad page fault on data > is read or write.") we use page_fault_is_write(regs->dsisr) in > __bad_page_fault() to determine if the fault is for a read or write, and > change the message printed accordingly. > > But SLB faults, aka Data Segment Interrupts, don't set DSISR (Data > Storage Interrupt Status Register) to a useful value. All ISA versions > from v2.03 through v3.1 specify that the Data Segment Interrupt sets > DSISR "to an undefined value". As far as I can see there's no mention of > SLB faults setting DSISR in any BookIV content either. > > [...]
Applied to powerpc/next. [1/1] powerpc/64s: Don't use DSISR for SLB faults https://git.kernel.org/powerpc/c/d4679ac8ea2e5078704aa1c026db36580cc1bf9a cheers