]> 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)
commit42fffeb9426e6b5fc477e82d7c095c8669d8da74
tree709998a1356f68289a8b2b5522faef859412d051
parentea8c4a29edb1242dd3dedcb78a18d87e57878f5f
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