Blame SOURCES/kexec-tools-2.0.14-kexec-Increase-the-upper-limit-for-RAM-segments.patch

23ef29
From 24aa2d93cac316657a2c20f28b8687bbf7e22991 Mon Sep 17 00:00:00 2001
23ef29
Message-Id: <24aa2d93cac316657a2c20f28b8687bbf7e22991.1492785094.git.panand@redhat.com>
23ef29
From: Sameer Goel <sgoel@codeaurora.org>
23ef29
Date: Wed, 18 Jan 2017 16:15:12 -0700
23ef29
Subject: [PATCH] kexec: Increase the upper limit for RAM segments
23ef29
23ef29
On a newer UEFI based Qualcomm target the number of system ram regions
23ef29
retrieved from /proc/iomem are ~40. So increasing the current hardcoded
23ef29
values to 64 from 16.
23ef29
23ef29
Signed-off-by: Sameer Goel <sgoel@codeaurora.org>
23ef29
Signed-off-by: Simon Horman <horms@verge.net.au>
23ef29
---
23ef29
 kexec/arch/arm64/kexec-arm64.h | 2 +-
23ef29
 1 file changed, 1 insertion(+), 1 deletion(-)
23ef29
23ef29
diff --git a/kexec/arch/arm64/kexec-arm64.h b/kexec/arch/arm64/kexec-arm64.h
23ef29
index bac62f8b19e0..bd4c20e76d15 100644
23ef29
--- a/kexec/arch/arm64/kexec-arm64.h
23ef29
+++ b/kexec/arch/arm64/kexec-arm64.h
23ef29
@@ -11,7 +11,7 @@
23ef29
 #include "image-header.h"
23ef29
 #include "kexec.h"
23ef29
 
23ef29
-#define KEXEC_SEGMENT_MAX 16
23ef29
+#define KEXEC_SEGMENT_MAX 64
23ef29
 
23ef29
 #define BOOT_BLOCK_VERSION 17
23ef29
 #define BOOT_BLOCK_LAST_COMP_VERSION 16
23ef29
-- 
23ef29
2.9.3
23ef29