kexec: Increase the upper limit for RAM segments
Subsystems (2)
PATCH v3 1/1 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.
--- kexec/arch/arm64/kexec-arm64.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kexec/arch/arm64/kexec-arm64.h +1 -1
@@ -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
Signature · 7 lines
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 [email protected] http://lists.infradead.org/mailman/listinfo/kexec
Hi,
Quoted 5 lines · Sameer Goel
On a newer UEFI based Qualcomm target the number of system ram regions retrieved from
/proc/iomemare ~40. So increasing the current hardcoded values to 64 from 16.Signed-off-by Sameer Goel <[email protected]>
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
Quoted 25 lines
--- kexec/arch/arm64/kexec-arm64.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)kexec/arch/arm64/kexec-arm64.h +1
-1@@ -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 16Signature · 7 lines
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 [email protected] http://lists.infradead.org/mailman/listinfo/kexec
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
Simon Horman
AppliedQuoted 5 lines · Sameer Goel
On a newer UEFI based Qualcomm target the number of system ram regions retrieved from
/proc/iomemare ~40. So increasing the current hardcoded values to 64 from 16.Signed-off-by Sameer Goel <[email protected]>
Thanks, applied.
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec