From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx1.redhat.com ([209.132.183.28]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cUTTZ-0001PF-Lg for kexec@lists.infradead.org; Fri, 20 Jan 2017 07:19:11 +0000 Date: Fri, 20 Jan 2017 15:18:16 +0800 From: Baoquan He Subject: Re: [PATCH v3] kexec: Increase the upper limit for RAM segments Message-ID: <20170120071816.GC5672@x1> References: <1484781312-22420-1-git-send-email-sgoel@codeaurora.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1484781312-22420-1-git-send-email-sgoel@codeaurora.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Sameer Goel Cc: geoff@infradead.org, kexec@lists.infradead.org, xlpang@redhat.com 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 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