]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitba437ebfb6d2d8ce8f05fdb176f54479443c87f5
tree77789ab43f439a447a774a5b9f316bc8ef0e5fb1
parent9d4b636913d3697da13e22425a6224b7c06a6ea2
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: 2e8d00e59647 ("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