]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64s: Clean up machine check recovery flushing
authorNicholas Piggin <npiggin@gmail.com>
Tue, 14 Mar 2017 12:36:44 +0000 (22:36 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 21 Mar 2017 11:09:29 +0000 (22:09 +1100)
commitb988688a0ac3a0cf24ef578665416bb9edd0afef
tree709998a1356f68289a8b2b5522faef859412d051
parent3135a865fd3902585213e0f8967c000c3a7be5e1
powerpc/64s: Clean up machine check recovery flushing

Use the flush function introduced with the POWER9 machine check handler
for POWER7 and 8, rather than open coding it multiple times in callers.

There is a specific ERAT flush type introduced for POWER9, but the
POWER7-8 ERAT errors continue to do SLB flushing (which also flushes
ERAT), so as not to introduce functional changes with this cleanup
patch.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/mce_power.c