commit | c433ec0455f921eaf8dd0262a718ce6f8ad62ea2 | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Jul 19 14:49:24 2017 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Wed Aug 02 13:11:07 2017 +1000 |
tree | 0ebadb7e7d100f4aebeb137ad04d09e96abbaff3 | |
parent | 7afad422ac61067473d5f3d20bbd5472af533bcd [diff] |
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>