summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms
diff options
context:
space:
mode:
authorMichal Suchanek2018-09-26 14:24:30 +0200
committerMichael Ellerman2018-10-03 07:40:06 +0200
commit8a03e81cb14712f986c5d5fa42a30ff2cbe3237c (patch)
tree77789ab43f439a447a774a5b9f316bc8ef0e5fb1 /arch/powerpc/platforms
parentpowerpc/tm: Print 64-bits MSR (diff)
downloadkernel-qcow2-linux-8a03e81cb14712f986c5d5fa42a30ff2cbe3237c.tar.gz
kernel-qcow2-linux-8a03e81cb14712f986c5d5fa42a30ff2cbe3237c.tar.xz
kernel-qcow2-linux-8a03e81cb14712f986c5d5fa42a30ff2cbe3237c.zip
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>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r--arch/powerpc/platforms/powernv/opal.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/powernv/opal.c b/arch/powerpc/platforms/powernv/opal.c
index 06bf532fa000..a4641515956f 100644
--- a/arch/powerpc/platforms/powernv/opal.c
+++ b/arch/powerpc/platforms/powernv/opal.c
@@ -578,8 +578,6 @@ int opal_machine_check(struct pt_regs *regs)
{
struct machine_check_event evt;
- __this_cpu_inc(irq_stat.mce_exceptions);
-
if (!get_mce_event(&evt, MCE_EVENT_RELEASE))
return 0;