projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
028555a
)
powerpc/xive: shutdown XIVE when kexec or kdump is performed
author
Cédric Le Goater
<clg@kaod.org>
Tue, 8 May 2018 07:05:16 +0000
(09:05 +0200)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Thu, 10 May 2018 13:25:09 +0000
(23:25 +1000)
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>
arch/powerpc/platforms/pseries/kexec.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/pseries/kexec.c
b/arch/powerpc/platforms/pseries/kexec.c
index 3fe12679697549154b9ebe3905ed062da1f40e93..46fbaef69a59d4930b82d6cdbd48839babb30682 100644
(file)
--- a/
arch/powerpc/platforms/pseries/kexec.c
+++ b/
arch/powerpc/platforms/pseries/kexec.c
@@
-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);
}