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