* [PATCH v3] kexec: Increase the upper limit for RAM segments
@ 2017-01-18 23:15 Sameer Goel
2017-01-20 7:18 ` Baoquan He
2017-01-24 13:38 ` Simon Horman
0 siblings, 2 replies; 3+ messages in thread
From: Sameer Goel @ 2017-01-18 23:15 UTC (permalink / raw)
To: geoff, xlpang, bhe; +Cc: Sameer Goel, kexec
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>
---
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 bac62f8..bd4c20e 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
--
Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v3] kexec: Increase the upper limit for RAM segments
2017-01-18 23:15 [PATCH v3] kexec: Increase the upper limit for RAM segments Sameer Goel
@ 2017-01-20 7:18 ` Baoquan He
2017-01-24 13:38 ` Simon Horman
1 sibling, 0 replies; 3+ messages in thread
From: Baoquan He @ 2017-01-20 7:18 UTC (permalink / raw)
To: Sameer Goel; +Cc: geoff, kexec, xlpang
Hi,
On 01/18/17 at 04:15pm, Sameer Goel wrote:
> 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>
Thanks for sending this to me. This change looks good and reasonable to
me.
Had better an arm expert to review it and ack since it's ARCH dependent.
Thanks
Baoquan
> ---
> 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 bac62f8..bd4c20e 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
> --
> Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.
>
>
> _______________________________________________
> kexec mailing list
> kexec@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/kexec
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v3] kexec: Increase the upper limit for RAM segments
2017-01-18 23:15 [PATCH v3] kexec: Increase the upper limit for RAM segments Sameer Goel
2017-01-20 7:18 ` Baoquan He
@ 2017-01-24 13:38 ` Simon Horman
1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2017-01-24 13:38 UTC (permalink / raw)
To: Sameer Goel; +Cc: geoff, kexec, xlpang, bhe
On Wed, Jan 18, 2017 at 04:15:12PM -0700, Sameer Goel wrote:
> 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>
Thanks, applied.
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-01-24 13:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-18 23:15 [PATCH v3] kexec: Increase the upper limit for RAM segments Sameer Goel
2017-01-20 7:18 ` Baoquan He
2017-01-24 13:38 ` Simon Horman
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.