mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-03 10:02:20 -04:00
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: Cédric Le Goater <clg@kaod.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
committed by
Michael Ellerman
parent
028555a590
commit
72224846fb
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user