* [PATCH] powerpc/pseries: Disable relocation on exception while going down during crash.
@ 2014-01-30 19:00 Mahesh J Salgaonkar
0 siblings, 0 replies; only message in thread
From: Mahesh J Salgaonkar @ 2014-01-30 19:00 UTC (permalink / raw)
To: linuxppc-dev, Benjamin Herrenschmidt
Cc: Steve Best, Paul Mackerras, Anton Blanchard, Hari Bathini
From: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Disable relocation on exception while going down even in kdump case. This
is because we are about clear htab mappings while kexec-ing into kdump
kernel and we may run into issues if we still have AIL ON.
Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
---
arch/powerpc/platforms/pseries/setup.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/powerpc/platforms/pseries/setup.c b/arch/powerpc/platforms/pseries/setup.c
index c1f1908..3925173 100644
--- a/arch/powerpc/platforms/pseries/setup.c
+++ b/arch/powerpc/platforms/pseries/setup.c
@@ -430,8 +430,7 @@ static void pSeries_machine_kexec(struct kimage *image)
{
long rc;
- if (firmware_has_feature(FW_FEATURE_SET_MODE) &&
- (image->type != KEXEC_TYPE_CRASH)) {
+ if (firmware_has_feature(FW_FEATURE_SET_MODE)) {
rc = pSeries_disable_reloc_on_exc();
if (rc != H_SUCCESS)
pr_warning("Warning: Failed to disable relocation on "
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-01-30 19:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-30 19:00 [PATCH] powerpc/pseries: Disable relocation on exception while going down during crash Mahesh J Salgaonkar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).