powerpc/64s: consolidate MCE counter increment.
authorMichal Suchanek <msuchanek@suse.de>
Wed, 26 Sep 2018 12:24:30 +0000 (14:24 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 3 Oct 2018 05:40:06 +0000 (15:40 +1000)
commit8a03e81cb14712f986c5d5fa42a30ff2cbe3237c
tree77789ab43f439a447a774a5b9f316bc8ef0e5fb1
parent51303113e32fd92d327b3c441c45e235642fa69c
powerpc/64s: consolidate MCE counter increment.

The code in machine_check_exception excludes 64s hvmode when
incrementing the MCE counter only to call opal_machine_check to
increment it specifically for this case.

Remove the exclusion and special case.

Fixes: a43c1590426c ("powerpc/pseries: Flush SLB contents on SLB MCE
errors.")

Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/traps.c
arch/powerpc/platforms/powernv/opal.c