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: a43c159042 ("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>
This commit is contained in:
Michal Suchanek
2018-09-26 14:24:30 +02:00
کامیت شده توسط Michael Ellerman
والد 51303113e3
کامیت 8a03e81cb1
2فایلهای تغییر یافته به همراه1 افزوده شده و 5 حذف شده

مشاهده پرونده

@@ -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;