Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 72224846 authored by Cédric Le Goater's avatar Cédric Le Goater Committed by Michael Ellerman
Browse files

powerpc/xive: shutdown XIVE when kexec or kdump is performed



The hcall H_INT_RESET should be called to make sure XIVE is fully
reseted.

Signed-off-by: default avatarCédric Le Goater <clg@kaod.org>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 028555a5
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -57,8 +57,11 @@ void pseries_kexec_cpu_down(int crash_shutdown, int secondary)
		}
	}

	if (xive_enabled())
	if (xive_enabled()) {
		xive_kexec_teardown_cpu(secondary);
	else

		if (!secondary)
			xive_shutdown();
	} else
		xics_kexec_teardown_cpu(secondary);
}