powerpc/mm: Pre-filter SRR1 bits before do_page_fault()

By filtering the relevant SRR1 bits in the assembly rather than
in do_page_fault() itself, we avoid a conditional branch (since we
already come from different path for data and instruction faults).

This will allow more simplifications later

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Šī revīzija ir iekļauta:
Benjamin Herrenschmidt
2017-07-19 14:49:24 +10:00
revīziju iesūtīja Michael Ellerman
vecāks 7afad422ac
revīzija c433ec0455
3 mainīti faili ar 5 papildinājumiem un 15 dzēšanām

Parādīt failu

@@ -569,8 +569,8 @@ _ENTRY(DTLBMiss_jmp)
InstructionTLBError:
EXCEPTION_PROLOG
mr r4,r12
mr r5,r9
andis. r10,r5,0x4000
andis. r5,r9,0x4820 /* Filter relevant SRR1 bits */
andis. r10,r9,0x4000
beq+ 1f
tlbie r4
itlbie: