All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] MIPS: KDUMP: skip walking indirection page for crashkernels
@ 2013-08-30 10:05 Prem Mallappa
  2013-08-30 10:05 ` [PATCH 2/2] MIPS: KEXEC: Fixes Random crashes while loading crashkernel Prem Mallappa
  0 siblings, 1 reply; 3+ messages in thread
From: Prem Mallappa @ 2013-08-30 10:05 UTC (permalink / raw)
  To: linux-mips; +Cc: Prem Mallappa


KDUMP: skip indirection page, as crashkernel has already copied to destination

Signed-off-by: Prem Mallappa <pmallappa@caviumnetworks.com>
---
 arch/mips/kernel/relocate_kernel.S | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/mips/kernel/relocate_kernel.S b/arch/mips/kernel/relocate_kernel.S
index 43d2d78..2778a41 100644
--- a/arch/mips/kernel/relocate_kernel.S
+++ b/arch/mips/kernel/relocate_kernel.S
@@ -26,6 +26,11 @@ process_entry:
 	PTR_L		s2, (s0)
 	PTR_ADD		s0, s0, SZREG
 
+	/* In case of kdump/crash kernel, indirection page is not populated
+	* as the kernel is directly copied to reserved location
+	*/
+	beq             s2, zero, done
+
 	/* destination page */
 	and		s3, s2, 0x1
 	beq		s3, zero, 1f
-- 
1.8.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-09-01 16:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-30 10:05 [PATCH 1/2] MIPS: KDUMP: skip walking indirection page for crashkernels Prem Mallappa
2013-08-30 10:05 ` [PATCH 2/2] MIPS: KEXEC: Fixes Random crashes while loading crashkernel Prem Mallappa
2013-09-01 16:31   ` John Crispin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.